[Python-ideas] Pre-PEP Adding A Secrets Module To The Standard Library

Matthias Bussonnier bussonniermatthias at gmail.com
Sun Sep 20 02:16:39 CEST 2015


You forgot :

from __future__ import braces

-- 
M

On Sat, Sep 19, 2015 at 4:50 PM, John Wong <gokoproject at gmail.com> wrote:
>
>
> On Sat, Sep 19, 2015 at 7:07 PM, Serhiy Storchaka <storchaka at gmail.com>
> wrote:
>>
>> On 20.09.15 02:02, Chris Angelico wrote:
>>>
>>> On Sun, Sep 20, 2015 at 8:59 AM, Serhiy Storchaka <storchaka at gmail.com>
>>> wrote:
>>>>
>>>> On 19.09.15 21:16, Steven D'Aprano wrote:
>>>>>
>>>>> Following on to the discussions about changing the default random
>>>>> number
>>>>> generator, I would like to propose an alternative: adding a secrets
>>>>> module to the standard library.
>>>>
>>>> Python already has three secret modules: this and antigravity.
>>>
>>>
>>> *scratches head* Is this Pythonesque counting, or is there some way to
>>> "import and" that has escaped me?
>>
>>
>> The name of the third module is secret.
>>
>
> is "secret" or is a secret? Why not "secure"?
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/


More information about the Python-ideas mailing list