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.
Created on 2017年09月30日 19:59 by benjamin.peterson, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| 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) * (Python committer) | Date: 2017年09月30日 19:59 | |
Now that PEP 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) * (Python committer) | 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) * (Python committer) | 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 the change is already large enough. gps also points out we should expand the timestamp field to 64 bits for 2038 proofing. |
|||
| msg307909 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2017年12月09日 18:26 | |
New changeset 42aa93b8ff2f7879282b06efc73a31ec7785e602 by Benjamin Peterson in branch 'master': closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) https://github.com/python/cpython/commit/42aa93b8ff2f7879282b06efc73a31ec7785e602 |
|||
| msg308047 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | 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) * (Python committer) | Date: 2017年12月11日 16:57 | |
Looks fine to me now? http://buildbot.python.org/all/#/builders/21 |
|||
| msg308096 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | 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) * (Python committer) | Date: 2018年08月01日 16:18 | |
New changeset 80b762f010097ab8137782e5fbdc89c5c620ed4e 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 | |