We know for a sample from a population we can use the normal approximation to get a confidence interval around $\hat{p}$.
If we know the population completely then we know $p$ completely.
The normal approximation for C.I. is $\hat{p} \pm Z_{\alpha/2}\sqrt{\hat{p}(1-\hat{p})/n}$.
What is the population size $m$ such that a C.I. of $p$ is useful given a sample size $n$?
Example
We have a known population of 400 people and 100 of them go to the movies on the weekend.
Thus, we know the proportion of people going to the movies on the weekend is p = $0.25$.
We don't need create a C.I. because we know the population completely. If we assumed this was a sample however we would get the following:
> 0.25 + c(-1,1) * qnorm(0.975) * sqrt(0.25*(1-0.25)/400)
[1] 0.2075655 0.2924345
What if the population was 401? We have a sample $n$ of 400. We could use the C.I. now, but would it wouldn't really be useful at this ratio of $n/m$.