New submission from Matthias Bussonnier <bussonniermatth...@gmail.com>:

Docs of random.Random always refer to it with Random([seed]) (`lib/random.py`), 
tough the parameter is actually named `x` making it : 
 - non obvious what it does.
 - hard to search for.
 - hard to remember when using kwargs.

Obviously changing the name is a change in API, though I doubt it is used much 
as a kwarg... 
I suggest renaming it to `seed=`, deprecating but still allowing the usage of 
`x=` for now, until proper removal of `x=`

----------
components: Library (Lib)
messages: 320037
nosy: mbussonn
priority: normal
severity: normal
status: open
title: update random.Random 's parameter to have a proper name.
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33910>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to