SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 16 Python

Variant of patch #423262: Change module attribute get & set

Allow module getattr and setattr to exploit string interning, via the
previously null module object tp_getattro and tp_setattro slots.   Yields
a very nice speedup for things like random.random and os.path etc.
T
Tim Peters committed
d85e102337725554a43027fe90e54dd886f4ec9a
Parent: 564a6cc