Message 314969 - Python tracker

Message314969

Author wolma
Recipients wolma
Date 2018-04-05.08:50:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522918252.74.0.682650639539.issue33228@psf.upfronthosting.co.za>
In-reply-to
Content
A rather trivial change: tempfile._RandomNameSequence could make use of
random.Random.choices introduced in 3.6.
IMO, the suggested change would give clearer and also faster code.
It also updates the docstring of the class, which currently talks about
a six-character string, when an eight-character string gets returned.
History
Date User Action Args
2018-04-05 08:50:52wolmasetrecipients: + wolma
2018-04-05 08:50:52wolmasetmessageid: <1522918252.74.0.682650639539.issue33228@psf.upfronthosting.co.za>
2018-04-05 08:50:52wolmalinkissue33228 messages
2018-04-05 08:50:52wolmacreate