A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-December/070417.html below:

[Python-Dev] [Python-checkins] r53110 - python/trunk/Lib/mailbox.py

[Python-Dev] [Python-checkins] r53110 - python/trunk/Lib/mailbox.py [Python-Dev] [Python-checkins] r53110 - python/trunk/Lib/mailbox.py"Martin v. Löwis" martin at v.loewis.de
Fri Dec 29 22:41:24 CET 2006
Fred L. Drake, Jr. schrieb:
> Speaking strictly for myself:  I don't think I *have* to use them, but I do 
> prefer to use them because I don't like magic constants that affect what a 
> function does in code; I'd rather have a named constant for readability's 
> sake.  Maybe I just can't keep enough in my head, but I don't find I actually 
> use seek() enough to remember what the numeric values mean with checking the 
> reference documentation.

But you *can* remember the symbolic names (plus you can remember what
module they are in, in what Python version)? I'd have to consult the
documentation for either; help(file.seek) gives the numeric values.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4