[issue26753] Obmalloc lock LOCK_INIT and LOCK_FINI are never used
Tim Peters
report at bugs.python.org
Fri Apr 15 00:01:20 EDT 2016
Tim Peters added the comment:
Right, these macros were in the original module (by Vladimir Marangozov). They've never done anything - never been tested. Over the years I removed other layers of macro indirection (while other people added more ;-) ), but left these alone because they point out at least some speed-crucial places where "removing the GIL" would add new costs.
That said, I wouldn't object if you removed all the lock-related macros in obmalloc. The code is hairier now than it was at the start, so throwing out unused cruft is also more valuable now than it was at the start.
----------
nosy: +tim.peters
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26753>
_______________________________________
More information about the Python-bugs-list
mailing list