A student complained that he was stuck on an exercise:
Suppose $(f_n)$ is a sequence of measurable functions on some measurable space. The set of $x$ such that $\lim_nf_n(x)$ exists is measurable.
I started to talk about the standard solution, and he objected that no, the $f_n$ took values in an arbitrary topological space.
I assured him that in a context like this a "measurable function" was at worst complex-valued. But, regardless of the author's intent, what about the case where the $f_n$ take values in a topological space? My conjecture is that it must be false in that generality, simplyy because there's no way "there exists $y\in Y$ with $\lim f_n(x)=y$" is going to lead to a countable union. But thinking about it off and on for a few days I don't see a counterexample.
If $V$ is any dense subset of $\mathbb{R}$, there is a sequence of monotonic functions $f_n: \mathbb{R} \to \mathbb{R}$ such that $f_n[\mathbb{R}] \subset V$ and $\lim_n f(x) = x$ for all $x$.
Clearly, if we restrict the codomain to $V$, the set of $x$ for which $\lim_n f_n(x)$ still exists is exactly $V$.