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.

Author serhiy.storchaka
Recipients barry, benjamin.peterson, serhiy.storchaka
Date 2017-12-09.09:06:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512810419.66.0.213398074469.issue31650@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-12-09 09:06:59serhiy.storchakasetrecipients: + serhiy.storchaka, barry, benjamin.peterson
2017-12-09 09:06:59serhiy.storchakasetmessageid: <1512810419.66.0.213398074469.issue31650@psf.upfronthosting.co.za>
2017-12-09 09:06:59serhiy.storchakalinkissue31650 messages
2017-12-09 09:06:59serhiy.storchakacreate