On Tue, Jul 13, 2010 at 3:52 PM, Alexander Belopolsky <alexander.belopol...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com