[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-11-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 515331e0ca0c by Serhiy Storchaka in branch '2.7': Issue #22775: Fixed unpickling of Cookie.SimpleCookie with protocol 2. https://hg.python.org/cpython/rev/515331e0ca0c -- ___ Python tracker

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-11-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Tim. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-11-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7be6ef737aaf by Serhiy Storchaka in branch '3.4': Issue #22775: Fixed unpickling of http.cookies.SimpleCookie with protocol 2 https://hg.python.org/cpython/rev/7be6ef737aaf New changeset caa8f9248ab8 by Serhiy Storchaka in branch 'default': Issue #2

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-11-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- assignee: -> serhiy.storchaka stage: patch review -> commit review ___ Python tracker ___ __

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-11-02 Thread Tim Graham
Tim Graham added the comment: Updated patch per comments. -- Added file: http://bugs.python.org/file37114/cookie-pickling-all-protocols-2.diff ___ Python tracker ___ ___

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-11-01 Thread Tim Graham
Tim Graham added the comment: Updated patch to test pickling of all protocols. -- Added file: http://bugs.python.org/file37100/cookie-pickling-all-protocols.diff ___ Python tracker _

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Test pickling with all protocols (see issue22777), not only with HIGHEST_PROTOCOL. -- ___ Python tracker ___

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-10-31 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-10-31 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-10-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-10-31 Thread Tim Graham
Tim Graham added the comment: By the way, this is my first patch for Python and I submitted a CLA 2 days ago. -- ___ Python tracker ___ __

[issue22775] SimpleCookie not picklable with HIGHEST_PROTOCOL

2014-10-31 Thread Tim Graham
New submission from Tim Graham: Expected: >>> import pickle >>> from http.cookies import SimpleCookie >>> pickle.loads(pickle.dumps(SimpleCookie('hi=there'),2)) # Actual Patch is based on the suggestion from Georg Brandl in #22758 (I added the "else" as the fix did not work without it). ---