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 BreamoreBoy, allenap, barry, ggenellina, mwh, pitrou, r.david.murray, serhiy.storchaka, varun
Date 2015-05-17.12:19:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431865171.57.0.581031038969.issue6598@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that changes the generating of message IDs:

1. The datetime is taken with higher precision, 2 decimal digits after dot.
2. The datetime is written as Unix time in 0.01 second units, not as YYYYmmddHHMMSS. This is more compact and faster.
3. The random part is taken as the random integer in the range 0 from to 2**64, not from 0 to 10**5.

This increases the length of generated part of the ID from 26 to 39 characters in average. Perhaps in new releases we can use non-decimal or even non-alphanumeric characters in ID for compactness.
History
Date User Action Args
2015-05-17 12:19:31serhiy.storchakasetrecipients: + serhiy.storchaka, mwh, barry, ggenellina, pitrou, allenap, r.david.murray, BreamoreBoy, varun
2015-05-17 12:19:31serhiy.storchakasetmessageid: <1431865171.57.0.581031038969.issue6598@psf.upfronthosting.co.za>
2015-05-17 12:19:31serhiy.storchakalinkissue6598 messages
2015-05-17 12:19:31serhiy.storchakacreate