[New-bugs-announce] [issue29120] Rename Python/random.c to Python/bootstrap_hash.c

Nick Coghlan report at bugs.python.org
Sat Dec 31 06:36:34 EST 2016


New submission from Nick Coghlan:

This is the last major structural refactoring proposal to come out of the prep work on the PEP 432 modular bootstrapping feature development branch: 

* rename Python/random.c -> Python/hash_randomization.c
* rename _PyRandom_Init -> __Py_HashRandomization_Init
* rename _PyRandom_Fini -> __Py_HashRandomization_Fini

The current naming is confusing when working on the interpreter startup sequence as the file and API naming looks like it relates to initialising the random module, when it has nothing to do with that.

----------
assignee: ncoghlan
messages: 284383
nosy: brett.cannon, christian.heimes, eric.snow, ncoghlan, steve.dower
priority: normal
severity: normal
stage: needs patch
status: open
title: Rename Python/random.c to Python/bootstrap_hash.c
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29120>
_______________________________________


More information about the New-bugs-announce mailing list