[Python-Dev] Include datetime.py in stdlib or not?
Alexander Belopolsky
alexander.belopolsky at gmail.com
Wed Jul 14 21:13:51 CEST 2010
On Tue, Jul 13, 2010 at 3:52 PM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
>.. and "import _strptime" had to be moved from function level to
> module level after class definitions due to circular dependency of
> _strptime on datetime.
This turned out to be not such a great idea. Importing _strptime at
the module level even after all datetime initializations does not work
because of another circular dependency: _strptime imports calendar
which imports calendar which imports datetime. New patch is at
http://bugs.python.org/file17978/issue9206c.diff
More information about the Python-Dev
mailing list