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 serhiy.storchaka
Recipients alexandre.vassalotti, belopolsky, eddygeek, pitrou, serhiy.storchaka, tanzer@swing.co.at, tim.peters
Date 2015-10-12.18:59:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554999.fs9U5IjYUQ@raxxla>
In-reply-to <1444673952.29.0.210553472394.issue22005@psf.upfronthosting.co.za>
Content
The problem is that you can't unpickle a data that contains both datetime 
classes (datetime, date, time) instances and strings (including attribute 
names, so actually this affects instances of any Python classes). Yes, it only 
affects pickles transferred between 2.x and 3.x Pythons.

Yet one possible solution is to change datetime classes in 2.x to produce more 
portable pickles. But new pickles will be larger, and pickling and unpickling 
will be slower, and this doesn't solve a problem with existing pickled data. 
We still are receiving bug reports for 2.7.3 and like.
History
Date User Action Args
2015-10-12 18:59:02serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, belopolsky, pitrou, alexandre.vassalotti, eddygeek, tanzer@swing.co.at
2015-10-12 18:59:02serhiy.storchakalinkissue22005 messages
2015-10-12 18:59:02serhiy.storchakacreate