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

Raymond Hettinger report at bugs.python.org
Sat Jul 20 12:30:02 EDT 2019


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

I think it's okay to leave these as 0, 1, 2 because they have a long and well known tradition across multiple languages.  The named versions are just alternatives available for end-users.  The numbered forms also let us avoid a bunch of otherwise unnecessary imports (which affect start-up time and occasionally create load order bootstrapping issues).

Antoine, what do you think?

----------
nosy: +pitrou, rhettinger

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


More information about the docs mailing list