I was thinking about functions with removable discontinuities and a train of thought led to this. My understanding is that for most nicely-behaved functions $g:\mathbb{R}\to\mathbb{R}$, a function $f:\mathbb{R}\to\mathbb{R}$ where $$ f(x)=g(x)\frac{x-c}{x-c} $$ has a removable discontinuity at $x=c$ and $\lim_{x\to c}f(x)=g(c)$.
If we redefine $f$ as the product of $g$ and n-many factors of $\frac{x-c_{i}}{x-c_{i}}$, all we're accomplishing is adding n-many removable discontinuities to $f$, located at whatever $c_i\in\mathbb{R}$ values we choose. $\lim_{x\to c}f(x)=g(c)$ is still true for all $c\in\mathbb{R}$.
Say that we keep going and we add a discontinuity for every $c\in\mathbb{R}$.
$$f(x) = g(x)\prod_{c \in \mathbb{R}} \frac{x-c}{x-c}$$
What happens to the limit of $f$? Does $\lim_{x\to c}f(x)$ fail to exist for all $c\in\mathbb{R}$?
This seems a fundamentally different problem than discussed in this question because the infinitely-many removable discontinuities there are are discretely spaced, not continuous over an interval. I suppose we could constrain our adding-of-removable-discontinuities to some interval $(a,b)$ within $\mathbb{R}$ and define $f$ like so $$ f(x) = g(x)\prod_{c \in (a,b)} \frac{x-c}{x-c} $$ but I'm still wondering about the limit in that interval and near its boundaries at $x=a$ and $x=b$.
I'm also curious about the machinery for removing a removable discontinuity by piecewise-redefining a function. In my mind, redefining a function piecewise to take care of a removable discontinuity is normally like patching a hole in a ship. We can patch one hole, or many finite holes. But if the ship is "all holes" and has infinitely many removable discontinuities over an interval, does this technique work to patch all of them or are they no longer nicely removable?