Skip to content

Commit

Permalink
gh-71587: Establish global state in _datetime (#110475)
Browse files Browse the repository at this point in the history
* Use explicit initialiser for m_base
* Add module state stub; establish global state on stack
* Put conversion factors in state struct
* Move PyDateTime_TimeZone_UTC to state
* Move PyDateTime_Epoch to state struct
* Fix ref leaks in and clean up initialisation
  • Loading branch information
erlend-aasland authored Oct 12, 2023
1 parent ea530f2 commit ec5622d
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 145 deletions.
Loading

0 comments on commit ec5622d

Please sign in to comment.