New GitHub issue #110415 from costasgambit:<br>

<hr>

<pre>
# Bug report

### Bug description:

I've started [putting a branch together](https://github.com/costasgambit/cpython/tree/costas--py3.12-datetime) that moves all the global state into a module-level state object. 

If that looks useful, I'll continue to work on it and can rebase on main. 

It passes tests and "works on my machine".

I haven't looked at python internals in some time, so apologies if I'm a little rusty!

### CPython versions tested on:

3.12, CPython main branch

### Operating systems tested on:

Linux
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/110415">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>