Message331449
It is fundamentally impossible for pickled data to magically cross the 2 and 3 language boundary unscathed.
The basic str/bytes/unicode types in the language changed meaning. Code must be written manually by the data owners to fix that up based on what the types and encodings should actually be in various places given the language version the data is being read into.
The code in the PRs for this bug appears to do that in the requisite required hacky manner for stored datetime instances.
This fact isn't new. It happened 10 years ago with the release of Python 3.0. The documentation is not a contract. I'm fixing it to mention this. |
|
Date |
User |
Action |
Args |
2018-12-09 19:50:36 | gregory.p.smith | set | recipients:
+ gregory.p.smith, tim.peters, belopolsky, pitrou, bronger, alexandre.vassalotti, serhiy.storchaka, eddygeek, tanzer@swing.co.at, miss-islington |
2018-12-09 19:50:36 | gregory.p.smith | set | messageid: <1544385036.17.0.788709270274.issue22005@psf.upfronthosting.co.za> |
2018-12-09 19:50:36 | gregory.p.smith | link | issue22005 messages |
2018-12-09 19:50:36 | gregory.p.smith | create | |
|