
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2017-09-30 19:59 bybenjamin.peterson, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 4575 | merged | benjamin.peterson,2017-11-26 22:39 | |
| PR 8608 | merged | vstinner,2018-08-01 16:04 | |
| Messages (8) | |||
|---|---|---|---|
| msg303423 -(view) | Author: Benjamin Peterson (benjamin.peterson)*![]() | Date: 2017-09-30 19:59 | |
Now thatPEP 552 is accepted, we'll need an actual implementation. Besides the core import changes, there are some perquisites improvements. For one, our SipHash implementation needs to be changed to accept an arbitrary key. Also, the PEP also introduces the first "long" option to the interpreter, so the getopt implementation will have to be enhanced. | |||
| msg307884 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2017-12-09 09:06 | |
While we are here, can other changes be made?1. Increase the size of the constant part of the signature. Currently it is only 2 bytes (3rd and 4th bytes are b'\r\n') and it is hard to use them in tools like `file`.2. Split the magic number on two parts. The first part encodes backward-incompatible changes and can be updated only in new feature releases. The second part encodes backward compatible changes and can be changed in bugfix releases.3. Maybe even include the minimal Python version? This would simplify the launcher which needs to map a magic number to Python version. | |||
| msg307908 -(view) | Author: Benjamin Peterson (benjamin.peterson)*![]() | Date: 2017-12-09 18:24 | |
On Sat, Dec 9, 2017, at 01:06, Serhiy Storchaka wrote:> > Serhiy Storchaka <storchaka+cpython@gmail.com> added the comment:> > While we are here, can other changes be made?All these suggestions seem fine, but they're not in the PEP and thechange is already large enough.gps also points out we should expand the timestamp field to 64 bits for2038 proofing. | |||
| msg307909 -(view) | Author: Benjamin Peterson (benjamin.peterson)*![]() | Date: 2017-12-09 18:26 | |
New changeset42aa93b8ff2f7879282b06efc73a31ec7785e602 by Benjamin Peterson in branch 'master':closesbpo-31650:PEP 552 (Deterministic pycs) implementation (#4575)https://github.com/python/cpython/commit/42aa93b8ff2f7879282b06efc73a31ec7785e602 | |||
| msg308047 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2017-12-11 14:52 | |
Failure on Python on s390x RHEL 3.x:http://buildbot.python.org/all/#/builders/21/builds/340======================================================================FAIL: test_source_hash (test.test_imp.ImportTests)----------------------------------------------------------------------Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_imp.py", line 335, in test_source_hash self.assertEqual(_imp.source_hash(42, b'hi'), b'\xc6\xe7Z\r\x03:}\xab')AssertionError: b'Yb\x91||\x91bY' != b'\xc6\xe7Z\r\x03:}\xab' | |||
| msg308061 -(view) | Author: Benjamin Peterson (benjamin.peterson)*![]() | Date: 2017-12-11 16:57 | |
Looks fine to me now?http://buildbot.python.org/all/#/builders/21 | |||
| msg308096 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2017-12-12 08:55 | |
The test failed on s390x RHEL 3.x, PPC64 Fedora 3.x, s390x SLES 3.x, s390x Debian 3.x, s390x RHEL 3.x They are now all green, good! | |||
| msg322869 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2018-08-01 16:18 | |
New changeset80b762f010097ab8137782e5fbdc89c5c620ed4e by Victor Stinner in branch 'master':bpo-31650: Remove _Py_CheckHashBasedPycsMode global config var (GH-8608)https://github.com/python/cpython/commit/80b762f010097ab8137782e5fbdc89c5c620ed4e | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:53 | admin | set | github: 75831 |
| 2018-08-01 16:18:10 | vstinner | set | messages: +msg322869 |
| 2018-08-01 16:04:12 | vstinner | set | pull_requests: +pull_request8113 |
| 2017-12-12 08:55:37 | vstinner | set | messages: +msg308096 |
| 2017-12-12 07:17:05 | benjamin.peterson | set | status: open -> closed resolution: fixed |
| 2017-12-11 16:57:52 | benjamin.peterson | set | messages: +msg308061 |
| 2017-12-11 14:52:44 | vstinner | set | status: closed -> open nosy: +vstinner messages: +msg308047 resolution: fixed -> (no value) |
| 2017-12-09 18:26:54 | benjamin.peterson | set | status: open -> closed resolution: fixed messages: +msg307909 stage: patch review -> resolved |
| 2017-12-09 18:24:32 | benjamin.peterson | set | messages: +msg307908 |
| 2017-12-09 09:06:59 | serhiy.storchaka | set | nosy: +serhiy.storchaka messages: +msg307884 |
| 2017-11-26 22:39:18 | benjamin.peterson | set | keywords: +patch stage: needs patch -> patch review pull_requests: +pull_request4503 |
| 2017-10-01 00:28:47 | barry | set | nosy: +barry |
| 2017-09-30 19:59:56 | benjamin.peterson | create | |