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 belopolsky
Recipients amaury.forgeotdarc, belopolsky, brett.cannon, brian.curtin, daniel.urban, giampaolo.rodola, lemburg, mark.dickinson, pitrou, r.david.murray, rhettinger, techtonik, tim.peters, vstinner
Date 2010-07-09.01:38:43
SpamBayes Score 0.0067731934
Marked as misclassified No
Message-id <1278639526.98.0.366967351985.issue7989@psf.upfronthosting.co.za>
In-reply-to
Content
issue7989a.diff is a partial success implementing Nick Coghlan's testing idea.  Unfortunately, datetime implementation with it's circular dependency on _strftime is not very robust with respect to import trickery.

I am calling this a partial success because although running Lib/test/test_datetime.py does not report any errors, it only works with pure python version of pickle. (I had to add sys.modules['_pickle'] = None at the top of the module to make it work.)

Also, the resulting test_datetime is quite an abomination!
History
Date User Action Args
2010-07-09 01:38:47belopolskysetrecipients: + belopolsky, lemburg, tim.peters, brett.cannon, rhettinger, amaury.forgeotdarc, mark.dickinson, pitrou, vstinner, techtonik, giampaolo.rodola, r.david.murray, brian.curtin, daniel.urban
2010-07-09 01:38:46belopolskysetmessageid: <1278639526.98.0.366967351985.issue7989@psf.upfronthosting.co.za>
2010-07-09 01:38:45belopolskylinkissue7989 messages
2010-07-09 01:38:45belopolskycreate