[Python-checkins] r53110 - python/trunk/Lib/mailbox.py
Fred L. Drake, Jr.
fdrake at acm.org
Thu Dec 21 08:14:55 CET 2006
On Wednesday 20 December 2006 23:54, Neal Norwitz wrote:
> Is there any reason to use 2 rather than os.SEEK_END in this code?
I remember that for years, there were no SEEK_* constants in Python, certainly
not in reasonable places. The .seek() method was documented to use specific
values... oh, wait, it still is documented to take specific numeric values!
I (only vaguely) recall Guido telling people that that's how it's documented,
and that's what they should use. Don't know if he still feels that way; if
he's recanted the obscure path, we can fix both the calls and the
documentation. I'd lend a hand!
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
More information about the Python-checkins
mailing list