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.

classification
Title: datetime.__setstate__ fails decoding python2 pickle
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.8, Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: alexandre.vassalotti, belopolsky, bronger, eddygeek, gregory.p.smith, miss-islington, pitrou, serhiy.storchaka, tanzer@swing.co.at, tim.peters
Priority: normal Keywords: patch

Created on 2014-07-18 12:49 by eddygeek, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unpickle_datetime_surrogateescape.patch serhiy.storchaka, 2015-10-12 18:07 review
datetime_portable_pickle-2.7.patch serhiy.storchaka, 2015-10-12 19:47 Makes pickling in 2.7 portable review
datetime_pickle_bytes-2.7.patch serhiy.storchaka, 2015-10-12 20:39 Makes pickling in 2.7 produce the same data as in 3.x review
Pull Requests
URL Status Linked Edit
PR 794 closed serhiy.storchaka, 2017-03-23 21:40
PR 11017 merged serhiy.storchaka, 2018-12-07 11:10
PR 11022 merged serhiy.storchaka, 2018-12-07 12:16
PR 11024 merged miss-islington, 2018-12-07 12:56
PR 11025 merged serhiy.storchaka, 2018-12-07 13:58
PR 11054 merged gregory.p.smith, 2018-12-09 19:30
PR 11055 merged miss-islington, 2018-12-09 19:43
Messages (33)
msg223408 - (view) Author: Edward O (eddygeek) * Date: 2014-07-18 12:49
pickle.loads raises a TypeError when calling the datetime constructor, (then a UnicodeEncodeError in the load_reduce function).

A short test program & the log, including dis output of both PY2 and PY3 pickles, are available in this gist; and extract on stackoverflow:
https://gist.github.com/eddy-geek/191f15871c1b9f801b76
http://stackoverflow.com/questions/24805105/

I am using pickle.dumps(reply, protocol=2) in PY2 
then pickle._loads(pickled, fix_imports=True, encoding='latin1') in PY3
(tried None and utf-8 without success)

Native cPickle loads decoding fails too, I am only using pure python's _loads for debugging.

Sorry if this is misguided (first time here)
Regards,
Edward
msg223426 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2014-07-18 18:53
I have no idea what was done to pickle for Python3, but this line works for me to unpickle a Python2 protocol 2 datetime pickle under Python3, where P2 is the Python2 pickle string:

    pickle.loads(bytes(P2, encoding='latin1'), encoding='bytes')

For example,

>>> P2
'\x80\x02cdatetime\ndatetime\nq\x00U\n\x07Þ\x07\x12\r%%\x06á¸q\x01\x85q\x02Rq\x03.'
>>> pickle.loads(bytes(P2, encoding='latin1'), encoding='bytes')
datetime.datetime(2014, 7, 18, 13, 37, 37, 451000)

I don't understand the Python3 loads() docs with respect to the "encoding" and "errors" arguments, and can't guess whether this is the intended way.  It seems at best highly obscure.  But hard to argue with something that works ;-)
msg223579 - (view) Author: Edward O (eddygeek) * Date: 2014-07-21 15:07
The code works when using encoding='bytes'. Thanks Tim for the suggestion.

So this is not a bug, but is there any sense in having encoding='ASCII' by default in pickle ?
msg223587 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2014-07-21 16:28
@eddygeek, I'd still call something so unintuitive "a bug" - it's hard to believe this is the _intended_ way to get it to work.  So I'd keep this open until someone with better knowledge of intent chimes in.
msg252857 - (view) Author: Christian Tanzer (tanzer@swing.co.at) Date: 2015-10-12 14:32
> The code works when using encoding='bytes'. Thanks Tim for the suggestion.

> So this is not a bug, but is there any sense in having encoding='ASCII' by default in pickle ?

It is most definitely a bug. And it adds another road block to moving python applications from 2.7 to 3.x!

encoding='bytes' has serious side effects and isn't useful in the general case. For instance, it will result in dict-keys being unpickled as bytes instead of as str after which hilarity ensues.

I got the exception

  UnicodeDecodeError: 'ascii' codec can't decode byte 0xdf in position 1: ordinal not in range(128)

when testing an application for compatibility in Python 3.5 on a pickle created by Python 2.7. The pickled data is a nested data structure and it took me quite a while to determine that the single datetime instance was the culprit.

Here is a small test case that reproduces the problem::

# -*- coding: utf-8 -*-
# pickle_dump.py 
import datetime, pickle, uuid
dti = datetime.datetime(2015, 10, 12, 13, 17, 42, 123456)
data = { "ascii" : "abc", "text" : u"äbc", "int" :  42, "date-time" : dti }
with open("/tmp/pickle.test", "wb") as file :
    pickle.dump(data, file, protocol=2)

# pickle_load.py
# -*- coding: utf-8 -*-
import pickle
with open("/tmp/pickle.test", "rb") as file :
    data = pickle.load(file)
print(data)

$ python2.7 pickle_dump.py
$ python2.7 pickle_load.py 
{'ascii': 'abc', 'text': u'\xe4bc', 'int': 42, 'date-time': datetime.datetime(2015, 10, 12, 13, 17, 42, 123456)}
$ python3.5 pickle_load.py 
Traceback (most recent call last):
  File "pickle_load.py", line 6, in <module>
    data = pickle.load(file)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xdf in position 1: ordinal not in range(128)

That error message is spectacularly useless.
msg252877 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-10-12 18:07
There are two issues here.

1. datetime.datetime accepts only bytes, not str.
2. Unpickling non-ASCII str pickled in Python 2 raises an error by default.

The second issue usually hides the first one. The demonstration of the first issue:

>>> pickle.loads(b'cdatetime\ndatetime\n(U\n\x07l\x01\x01\x00\x00\x00\x00\x00\x00tR.')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: an integer is required (got type str)

The first issue can be solved by accepting str argument and encoding it to bytes. The second issue can be solved by changing an encoding or an error handler. Following patch uses the "surrogateescape" error handler.

>>> pickle.loads(b'cdatetime\ndatetime\n(U\n\x07l\x01\x01\x00\x00\x00\x00\xc3\xa4tR.')
datetime.datetime(1900, 1, 1, 0, 0, 0, 50084)

Unfortunately setting the "surrogateescape" error handler by default has a side effect. It can hide string decoding errors. In addition, unpickling datetime will not always work with different encodings.

>>> pickle.loads(b'cdatetime\ndatetime\n(U\n\x07l\x01\x01\x00\x00\x00\x00\xc3\xa4tR.', encoding='latin1')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position 8-9: ordinal not in range(128)
>>> pickle.loads(b'cdatetime\ndatetime\n(U\n\x07l\x01\x01\x00\x00\x00\x00\xc3\xa4tR.', encoding='utf-8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: an integer is required (got type str)
msg252880 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2015-10-12 18:19
> The first issue can be solved by accepting str argument and encoding it to bytes.

A strong -1 from me.  Accepting bytes objects for year in 3.x (and str in 2.x) is a gross hack.  In the long run, I would like to see a public named constructor, e.g. datetime.datetime.load to be used in datetime pickles.

Can someone explain succinctly what the problem is?  Does it only affect pickles transferred between 2.x and 3.x Pythons?  If not, how can I reproduce the problem in 3.5?
msg252882 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-10-12 18:59
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.
msg252883 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2015-10-12 19:13
I wonder if this can be fixed using a fix_imports hook.  I agree, it would be nice to fix this issue by modifying 3.x versions only.
msg252884 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2015-10-12 19:18
> .. pickling and unpickling will be slower

If we are concerned about performance, we should definitely avoid the decode-encode roundtrip.
msg252886 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-10-12 19:47
Here is a patch against 2.7 that makes datetime pickling portable.

It doesn't solve problem with existing pickled data, but at least it allows to convert existing pickled data with 2.7 to portable format.
msg252887 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-10-12 20:39
Here is alternative patch for 2.7. It makes datetime pickling produce the same data as in 3.x.

The side effect of this approach: it makes datetime pickling incompatible with Unicode disabled builds of 2.x.
msg253042 - (view) Author: Christian Tanzer (tanzer@swing.co.at) Date: 2015-10-15 11:55
IMNSHO, the problem lies in the Python 3 pickle.py and it is **not** restricted to datetime instances 
(for a detailed rambling see http://c-tanzer.at/en/breaking_py2_pickles_in_py3.html) .

In Python 2, 8-bit strings are used for text and for binary data. Well designed applications will use unicode for all text, but Python 2 itself forces some text to be 8-bit string, e.g., names of attributes, classes, and functions. In other words, **any 8-bit strings explicitly created by such an application will contain binary data.**

In Python 2, pickle.dump uses BINSTRING (and SHORT_BINSTRING) for 8-bit strings; Python 3 uses BINBYTES (and SHORT_BINBYTES) instead.

In Python 3, pickle.load should handle BINSTRING (and SHORT_BINSTRING) like this:

* convert ASCII values to `str`

* convert non-ASCII values to `bytes`

`bytes` is Python 3's equivalent to Python 2's 8-bit string! 

It is only because of the use of 8-bit strings for Python 2 names that the mapping to `str` is necessary but all such names are guaranteed to be ASCII!

I would propose to change `load_binstring` and `load_short_binstring` to call a function like::

    def _decode_binstring(self, value):
        # Used to allow strings from Python 2 to be decoded either as
        # bytes or Unicode strings.  This should be used only with the
        # BINSTRING and SHORT_BINSTRING opcodes.
        if self.encoding != "bytes":
            try :
                return value.decode("ASCII")
            except UnicodeDecodeError:
                pass
        return value

instead of the currently called `_decode_string`.
msg253058 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2015-10-15 17:56
Christian,

I don't think your solution will work for date/time/datetime pickles.  There are many values for which pickle payload consists of bytes within 0-127 range.  IIUC, you propose to decode those to Python 3 strings using ASCII encoding.  This will in turn require accepting str type in date/time/datetime constructors.
msg253071 - (view) Author: Christian Tanzer (tanzer@swing.co.at) Date: 2015-10-16 08:34
Alexander Belopolsky wrote at Thu, 15 Oct 2015 17:56:42 +0000:

> I don't think your solution will work for date/time/datetime pickles.
> There are many values for which pickle payload consists of bytes
> within 0-127 range.

Hmmmm.

> IIUC, you propose to decode those to Python 3
> strings using ASCII encoding.

Yes. There are too many BINSTRING instances that need to be Python 3
strings.

> This will in turn require accepting str
> type in date/time/datetime constructors.

These datetime... constructors are strange beasts already.

The documentation says that three integer arguments are required for
datetime.datetime but it accepts a single bytes argument anyway. I
agree that it would be much nicer if there was a
datetime.datetime.load method instead. Unfortunately, that would
require Guido's time machine to go back all the way to 2003 (at least).

So yes, the only practical solution is to accept a single str typed
argument (as long as it is ASCII only). An alternative would be to add
a dispatch table for loading functions to Python 3's pickle that would
be used by load_global. That would add indirection for the datetime
constructors but would allow support for other types requiring
arguments of type bytes.

The change I proposed in http://bugs.python.org/issue22005#msg253042
to fix the handling of binary 8-bit strings is still necessary.

To summarize:

IMHO the solution needs to be implemented in Python 3 — otherwise
pickles with binary strings created by Python 2.x cannot be loaded in
Python 3. Changing the pickle implementation of Python 2 doesn't fix
existing pickles and couldn't fix the general problem of binary
strings, anyway.
msg263380 - (view) Author: Christian Tanzer (tanzer@swing.co.at) Date: 2016-04-14 08:27
This issue is getting old. Is there any way to solve this for Python 3.6?
msg288821 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2017-03-02 18:57
TL;DR - Just one more example of why nobody should *ever* use pickle under any circumstances.  It is useless for data that is not transient for consumption by the same exact versions of all software that created it.

Patches against 2.7 are not useful here.  Either we write a unpickle deserializer for python 2 datetime pickles that works for all existing previous datatime pickled data formats from Python 3.  Or we close this as rejected because the data formats are rightly incompatible as the in-process object states are incompatible between the two versions.

If you want to serialize something, use a language agnostic data format - ideally one with a defined schema.  Never pickle.

Advice for those who have stored such data in Python 2 pickles: Write a Python 2 program to read your data and rewrite it in a portable data format that has nothing to do with pickle.  Anything else is a gross hack.
msg331241 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-06 17:52
NumPy starves from the same issue. In NumPy this problem was solved by requiring encoding='latin1' passed to unpickler. It makes sense to use the same approach for datetime classes.
msg331298 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-07 11:42
New changeset 8452ca15f41061c8a6297d7956df22ab476d4df4 by Serhiy Storchaka in branch 'master':
bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017)
https://github.com/python/cpython/commit/8452ca15f41061c8a6297d7956df22ab476d4df4
msg331307 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-07 12:56
New changeset 0d5730e6437b157f4aeaf5d2e67abca23448c29a by Serhiy Storchaka in branch '3.7':
[3.7] bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017) (GH-11022)
https://github.com/python/cpython/commit/0d5730e6437b157f4aeaf5d2e67abca23448c29a
msg331313 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-07 13:53
New changeset 19f6e83bf03b3ce22300638906bd90dd2dd5c463 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6':
bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017) (GH-11022) (GH-11024)
https://github.com/python/cpython/commit/19f6e83bf03b3ce22300638906bd90dd2dd5c463
msg331319 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-07 14:48
New changeset 1133a8c0efabf6b33a169039cf6e2e03bfe6cfe3 by Serhiy Storchaka in branch 'master':
bpo-22005: Fix condition for unpickling a date object. (GH-11025)
https://github.com/python/cpython/commit/1133a8c0efabf6b33a169039cf6e2e03bfe6cfe3
msg331326 - (view) Author: Paul Ganssle (p-ganssle) * (Python committer) Date: 2018-12-07 15:03
I'm not sure I agree with how this was resolved. We're adding complexity to the datetime unpickler to support unpickling pickles created in Python 2 in Python 3? I also don't really understand the encoding parts of it, but it smells very fishy to me.

I agree with Gregory here, pickle has so many other problems when used between versions of Python that it's simply not useful for cross-version serialization. It is useful for things like inter-process communication between two trusted instances of Python programs running the same version.

Also, what is the plan here for 2020+? Do we remove this hack for Python 3.9, or are we stuck with it indefinitely?
msg331332 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-07 16:27
This is the same hack as in NumPy, so we are at least consistent here. I think we have to keep it some time after 2020, maybe to 2025.
msg331333 - (view) Author: Paul Ganssle (p-ganssle) * (Python committer) Date: 2018-12-07 16:35
@Serhiy Any chance we can roll these back before the release so that they can have some time for discussion? I have serious concerns about having to support some Python 2/3 compatibility hack in datetime for the next 6 years. If this is worth doing at all, I think it can safely wait until the next release.
msg331334 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-07 16:45
This issue is already open for a long time. There is a problem which can not be worked around from the user side. I want to get it solved in 3.6, and today is the last chance for this. This is important for migrating from Python 2 to Python 3. You can open a discussion on Python-Dev, and if there will be significant opposition, this change can be reverted before releasing the final version of 3.6.8.
msg331340 - (view) Author: Paul Ganssle (p-ganssle) * (Python committer) Date: 2018-12-07 17:22
I do not care enough about this to fight about it.

The issue has been open long enough that I do not think it justified the urgency of rushing through a patch just before the release and merging without review, but now that it is in the release of multiple versions, I think we may be stuck with it.

This *is* something that users can work around by not abusing pickle in this way and instead using a proper cross-platform serialization format. I realize that that makes it *more difficult* for some people to do so, but as Gregory points out, these people are doing dangerous stuff that will break in a way that we are not going to be willing or able to fix at some point *anyway*.
msg331421 - (view) Author: Christian Tanzer (tanzer@swing.co.at) Date: 2018-12-09 10:33
Paul Ganssle wrote at Fri, 07 Dec 2018 17:22:36 +0000:

> > Gregory P. Smith (gregory.p.smith) 2017-03-02 18:57
> > TL;DR - Just one more example of why nobody should *ever* use pickle
> > under any circumstances.  It is useless for data that is not transient
> > for consumption by the same exact versions of all software that
> > created it.
>
> This *is* something that users can work around by not abusing pickle
> in this way and instead using a proper cross-platform serialization
> format. I realize that that makes it *more difficult* for some people
> to do so, but as Gregory points out, these people are doing dangerous
> stuff that will break in a way that we are not going to be willing or
> able to fix at some point *anyway*.

This is completely and utterly wrong, to put it mildly.

The official documentation of the pickle module states (I checked 2.7
and 3.7):

    The pickle serialization format is guaranteed to be backwards
    compatible across Python releases.

Considering that this issue is 4.5 years old, one would assume that the
pickle documentation would have been changed in the meantime if
Gregory's and Paul's view matched reality.

But my or your personal views about the usability of pickle don't
matter anyway. There are too many libraries and applications that have
been using pickle for many years.

I personally know about this kind of usage in applications since 1998.
In that particular case, the pickled information resides on machines
owned by the customers of the applications and **must** be readable by
any new version of the application no matter how old the file
containing the pickle is. Rewriting history by some Python developers
is not going to impress the companies involved!

Have a nice day!
msg331446 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2018-12-09 19:43
New changeset e328753d91379274b699b93decff45de07854617 by Gregory P. Smith in branch 'master':
bpo-22005: Document the reality of pickle compatibility. (GH-11054)
https://github.com/python/cpython/commit/e328753d91379274b699b93decff45de07854617
msg331447 - (view) Author: miss-islington (miss-islington) Date: 2018-12-09 19:48
New changeset 331bfa4f2c3026a35e111303df0f198d06b4e0c8 by Miss Islington (bot) in branch '3.7':
bpo-22005: Document the reality of pickle compatibility. (GH-11054)
https://github.com/python/cpython/commit/331bfa4f2c3026a35e111303df0f198d06b4e0c8
msg331449 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2018-12-09 19:50
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.
msg331450 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2018-12-09 19:51
Serhiy: should this one be marked fixed?
msg331451 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-09 20:12
With Gregory's addition I think this issue can be considered fixed. Thank you Gregory.
History
Date User Action Args
2022-04-11 14:58:06adminsetgithub: 66204
2019-04-02 10:48:52josh.rlinkissue36499 superseder
2018-12-09 20:12:39serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: + msg331451

stage: commit review -> resolved
2018-12-09 19:51:45gregory.p.smithsetassignee: serhiy.storchaka
messages: + msg331450
stage: patch review -> commit review
2018-12-09 19:50:36gregory.p.smithsetmessages: + msg331449
2018-12-09 19:48:38miss-islingtonsetnosy: + miss-islington
messages: + msg331447
2018-12-09 19:43:17miss-islingtonsetpull_requests: + pull_request10290
2018-12-09 19:43:00gregory.p.smithsetmessages: + msg331446
2018-12-09 19:30:10gregory.p.smithsetpull_requests: + pull_request10289
2018-12-09 10:33:02tanzer@swing.co.atsetmessages: + msg331421
2018-12-07 17:23:05p-gansslesetnosy: - p-ganssle
2018-12-07 17:22:36p-gansslesetmessages: + msg331340
2018-12-07 16:45:53serhiy.storchakasetmessages: + msg331334
2018-12-07 16:35:28p-gansslesetmessages: + msg331333
2018-12-07 16:27:10serhiy.storchakasetmessages: + msg331332
2018-12-07 15:03:39p-gansslesetmessages: + msg331326
2018-12-07 14:48:31serhiy.storchakasetmessages: + msg331319
2018-12-07 13:58:13serhiy.storchakasetpull_requests: + pull_request10261
2018-12-07 13:53:36serhiy.storchakasetmessages: + msg331313
2018-12-07 12:56:29miss-islingtonsetpull_requests: + pull_request10260
2018-12-07 12:56:04serhiy.storchakasetmessages: + msg331307
2018-12-07 12:16:21serhiy.storchakasetpull_requests: + pull_request10259
2018-12-07 11:42:14serhiy.storchakasetmessages: + msg331298
2018-12-07 11:10:20serhiy.storchakasetpull_requests: + pull_request10252
2018-12-06 17:52:52serhiy.storchakasetmessages: + msg331241
versions: + Python 3.7, Python 3.8, - Python 2.7, Python 3.4, Python 3.5
2018-07-05 15:55:30p-gansslesetnosy: + p-ganssle
2017-03-23 21:40:07serhiy.storchakasetpull_requests: + pull_request699
2017-03-02 18:57:18gregory.p.smithsetnosy: + gregory.p.smith
messages: + msg288821
2016-05-01 01:41:05brongersetnosy: + bronger
2016-04-14 08:27:19tanzer@swing.co.atsetmessages: + msg263380
2015-10-16 08:34:58tanzer@swing.co.atsetmessages: + msg253071
2015-10-15 17:56:41belopolskysetmessages: + msg253058
2015-10-15 11:55:44tanzer@swing.co.atsetmessages: + msg253042
2015-10-12 20:39:08serhiy.storchakasetfiles: + datetime_pickle_bytes-2.7.patch

stage: patch review
messages: + msg252887
versions: + Python 2.7
2015-10-12 19:47:35serhiy.storchakasetfiles: + datetime_portable_pickle-2.7.patch

messages: + msg252886
2015-10-12 19:18:17belopolskysetmessages: + msg252884
2015-10-12 19:13:33belopolskysetmessages: + msg252883
2015-10-12 18:59:02serhiy.storchakasetmessages: + msg252882
2015-10-12 18:19:12belopolskysetmessages: + msg252880
2015-10-12 18:07:56serhiy.storchakasetfiles: + unpickle_datetime_surrogateescape.patch
versions: + Python 3.5, Python 3.6
nosy: + serhiy.storchaka

messages: + msg252877

keywords: + patch
2015-10-12 14:32:10tanzer@swing.co.atsetnosy: + tanzer@swing.co.at
messages: + msg252857
2014-07-21 16:28:13tim.peterssetmessages: + msg223587
2014-07-21 15:07:33eddygeeksetmessages: + msg223579
2014-07-18 18:53:01tim.peterssetmessages: + msg223426
2014-07-18 13:37:50belopolskysetnosy: + pitrou, alexandre.vassalotti
2014-07-18 13:32:36pitrousetnosy: + tim.peters, belopolsky
2014-07-18 12:49:52eddygeekcreate