BUG: Timestamp.replace handle out-of-pydatetime range
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

yah i havent been able to reproduce the npdev failure.  will add GH refs in the next commit once i figure that out @seberg any thoughts on reproducing this locally? Hmmm, unfortunately, can't repro on M1 and I can't think of anything that may have changed in NumPy. ooh, looks like this fixes https://github.com/pandas-dev/pandas/issues/51291, nice! > @pytest.mark.xfail(is_numpy_dev, reason="result year is 1973, unclear why")

btw I can't reproduce this locally with numpy-dev, the correct answer shows for me let's ship this - thanks @jbrockmendel 