Title: datetime.__setstate__ fails decoding python2 pickle · Issue #66204 · python/cpython · GitHub
Open Graph Title: datetime.__setstate__ fails decoding python2 pickle · Issue #66204 · python/cpython
X Title: datetime.__setstate__ fails decoding python2 pickle · Issue #66204 · python/cpython
Description: BPO 22005 Nosy @tim-one, @gpshead, @abalkin, @pitrou, @avassalotti, @serhiy-storchaka, @miss-islington PRs #794#11017#11022#11024#11025#11054#11055 Files unpickle_datetime_surrogateescape.patchdatetime_portable_pickle-2.7.patch: Makes pi...
Open Graph Description: BPO 22005 Nosy @tim-one, @gpshead, @abalkin, @pitrou, @avassalotti, @serhiy-storchaka, @miss-islington PRs #794#11017#11022#11024#11025#11054#11055 Files unpickle_datetime_surrogateescape.patchdate...
X Description: BPO 22005 Nosy @tim-one, @gpshead, @abalkin, @pitrou, @avassalotti, @serhiy-storchaka, @miss-islington PRs #794#11017#11022#11024#11025#11054#11055 Files unpickle_datetime_surrogateescape.patchdate...
Opengraph URL: https://github.com/python/cpython/issues/66204
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"datetime.__setstate__ fails decoding python2 pickle","articleBody":"BPO | [22005](https://bugs.python.org/issue22005)\n--- | :---\nNosy | @tim-one, @gpshead, @abalkin, @pitrou, @avassalotti, @serhiy-storchaka, @miss-islington\nPRs | \u003cli\u003epython/cpython#794\u003c/li\u003e\u003cli\u003epython/cpython#11017\u003c/li\u003e\u003cli\u003epython/cpython#11022\u003c/li\u003e\u003cli\u003epython/cpython#11024\u003c/li\u003e\u003cli\u003epython/cpython#11025\u003c/li\u003e\u003cli\u003epython/cpython#11054\u003c/li\u003e\u003cli\u003epython/cpython#11055\u003c/li\u003e\nFiles | \u003cli\u003e[unpickle_datetime_surrogateescape.patch](https://bugs.python.org/file40758/unpickle_datetime_surrogateescape.patch \"Uploaded as text/plain at 2015-10-12.18:07:56 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[datetime_portable_pickle-2.7.patch](https://bugs.python.org/file40759/datetime_portable_pickle-2.7.patch \"Uploaded as text/plain at 2015-10-12.19:47:34 by @serhiy-storchaka\"): Makes pickling in 2.7 portable\u003c/li\u003e\u003cli\u003e[datetime_pickle_bytes-2.7.patch](https://bugs.python.org/file40760/datetime_pickle_bytes-2.7.patch \"Uploaded as text/plain at 2015-10-12.20:39:07 by @serhiy-storchaka\"): Makes pickling in 2.7 produce the same data as in 3.x\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/serhiy-storchaka'\nclosed_at = \u003cDate 2018-12-09.20:12:39.299\u003e\ncreated_at = \u003cDate 2014-07-18.12:49:52.735\u003e\nlabels = ['3.7', '3.8', 'type-bug', 'library']\ntitle = 'datetime.__setstate__ fails decoding python2 pickle'\nupdated_at = \u003cDate 2018-12-09.20:12:39.298\u003e\nuser = 'https://bugs.python.org/eddygeek'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2018-12-09.20:12:39.298\u003e\nactor = 'serhiy.storchaka'\nassignee = 'serhiy.storchaka'\nclosed = True\nclosed_date = \u003cDate 2018-12-09.20:12:39.299\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2014-07-18.12:49:52.735\u003e\ncreator = 'eddygeek'\ndependencies = []\nfiles = ['40758', '40759', '40760']\nhgrepos = []\nissue_num = 22005\nkeywords = ['patch']\nmessage_count = 33.0\nmessages = ['223408', '223426', '223579', '223587', '252857', '252877', '252880', '252882', '252883', '252884', '252886', '252887', '253042', '253058', '253071', '263380', '288821', '331241', '331298', '331307', '331313', '331319', '331326', '331332', '331333', '331334', '331340', '331421', '331446', '331447', '331449', '331450', '331451']\nnosy_count = 10.0\nnosy_names = ['tim.peters', 'gregory.p.smith', 'belopolsky', 'pitrou', 'bronger', 'alexandre.vassalotti', 'serhiy.storchaka', 'eddygeek', 'tanzer@swing.co.at', 'miss-islington']\npr_nums = ['794', '11017', '11022', '11024', '11025', '11054', '11055']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue22005'\nversions = ['Python 3.6', 'Python 3.7', 'Python 3.8']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/eddygeek","@type":"Person","name":"eddygeek"},"datePublished":"2014-07-18T12:49:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":33},"url":"https://github.com/66204/cpython/issues/66204"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:79ceb111-f4f6-ba37-8fa5-84e368181af9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3C6:2B4DBA:6FE287:94C935:6A530189 |
| html-safe-nonce | 298476429ea87a786d7595e7fba69c6670d4155871d194c1301afe9293d4aa1e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0M2OjJCNERCQTo2RkUyODc6OTRDOTM1OjZBNTMwMTg5IiwidmlzaXRvcl9pZCI6IjQyNzc1Njk5MDEzOTExODQyNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 208912824e45dfc8bf8bb7637b2b1d8326a9f006eddcbf8fae50be1633db4825 |
| hovercard-subject-tag | issue:1198923655 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/66204/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b96e1288211096118d550b2b41ae166ce3759673e2be1d2f83f8e6f2ee2e56b9/python/cpython/issues/66204 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b96e1288211096118d550b2b41ae166ce3759673e2be1d2f83f8e6f2ee2e56b9/python/cpython/issues/66204 |
| og:image:alt | BPO 22005 Nosy @tim-one, @gpshead, @abalkin, @pitrou, @avassalotti, @serhiy-storchaka, @miss-islington PRs #794#11017#11022#11024#11025#11054#11055 Files unpickle_datetime_surrogateescape.patchdate... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eddygeek |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width