[Python-Dev] [Python-checkins] r53110 - python/trunk/Lib/mailbox.py (original) (raw)

Barry Warsaw barry at python.org
Fri Dec 29 23:05:34 CET 2006


-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On Dec 29, 2006, at 4:55 PM, Guido van Rossum wrote:

But my main objection to suggesting that these constants ought to be used is that open() is a built-in but you would have to import os to be able to call the seek method on the object it returns.

If we want to make the seek API more 21st century, why not use keyword arguments?

Or put the constants on class attributes.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRZWRM3EjvBPtnXfVAQLWdwQAmrt5ncAhFIxCK2Tm72g90P9qckVrkdAt odvZ+fw8RFrKs3MUpsP2HtfHWHrouC6SHQCXoU63msfgy52vO4M9rG3NLN5Hi0KK tU4J9pkSqqi+Jfu4LvCs+ouURqxTbGicyMBUuw54hQWqg0bxvYvjEyuC1NFltcV6 HJ2qElSTOw0= =LAq1 -----END PGP SIGNATURE-----



More information about the Python-Dev mailing list