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.

classification
Title: random.py : simple tidying
Type: enhancement Stage: resolved
Components: Extension Modules Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: CliffM, ezio.melotti, mark.dickinson, python-dev, rhettinger
Priority: normal Keywords: patch

Created on 2013-10-05 11:33 by CliffM, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
shorten.patch CliffM, 2013-10-05 11:33 review
Messages (3)
msg198984 - (view) Author: CliffM (CliffM) Date: 2013-10-05 11:33
Standardising some name-shortening in the _randbelow() method.
msg199017 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-10-05 23:52
I'm not sure I understand the comment about the "overridden random() method" that was introduced in 770c3ec05685, but unless something unusual is happening there I think the patch looks OK (the first comment is a bit redundant, and the empty line added in the last chunk before the comment could be omitted though).
msg199018 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-10-06 00:20
New changeset 1f51867fe50e by Raymond Hettinger in branch 'default':
Issue #19169:  Micro refactoring with a micro benefit for brevity and speed.
http://hg.python.org/cpython/rev/1f51867fe50e
History
Date User Action Args
2022-04-11 14:57:51adminsetgithub: 63368
2013-10-06 02:41:48ezio.melottisetstage: resolved
2013-10-06 00:23:28rhettingersetstatus: open -> closed
resolution: fixed
2013-10-06 00:20:28python-devsetnosy: + python-dev
messages: + msg199018
2013-10-06 00:08:09rhettingersetassignee: rhettinger
2013-10-05 23:52:36ezio.melottisetnosy: + ezio.melotti
messages: + msg199017
2013-10-05 12:16:54serhiy.storchakasetnosy: + rhettinger, mark.dickinson
2013-10-05 11:33:40CliffMcreate