This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients belopolsky, ncoghlan, p-ganssle, tim.peters
Date 2017-12-30.03:44:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Would it be possible to deprecate (or at least stop enhancing) the current datetime C API and add a new capsule based one instead?

We're trying to get extension module authors to *stop* relying on C level globals, since it causes problems with:

- memory usage analysis
- interpreter reinitialisation
- module reloading
- subinterpreters

Unfortunately, the current design of the datetime C API *requires* the use of C level global state.
Date User Action Args
2017-12-30 03:44:58ncoghlansetrecipients: + ncoghlan, tim.peters, belopolsky, p-ganssle
2017-12-30 03:44:58ncoghlansetmessageid: <>
2017-12-30 03:44:58ncoghlanlinkissue10381 messages
2017-12-30 03:44:57ncoghlancreate