[issue37635] Using constant for whence arg in seek()

Raymond Hettinger report at bugs.python.org
Sat Jul 20 19:10:35 EDT 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

This is Antoine's call.  I believe he made the original decision not to sweep through the standard library, changing it everywhere it occurred.  Perhaps this was performance reasons, perhaps the existing code was already clear enough, perhaps the value-add was too low.  For me personally, it is easier to remember 0 than the name of the constant.

----------
assignee: docs at python -> pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37635>
_______________________________________


More information about the Python-bugs-list mailing list