New submission from Serhiy Storchaka: _RandomNameSequence was added in issue589982 when generator functions were new optional feature. _RandomNameSequence is implemented as an iterator class. Proposed patch simplifies _RandomNameSequence by implementing it as a generator function.
This is a private name, all uses of _RandomNameSequence() need only the support of the iterator protocol. ---------- components: Library (Lib) messages: 291425 nosy: haypo, pitrou, rhettinger, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Simplify _RandomNameSequence type: enhancement versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30030> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com