[Python-Dev] constant/enum type in stdlib (original) (raw)
Glyph Lefkowitz glyph at twistedmatrix.com
Tue Nov 23 22:06:41 CET 2010
- Previous message: [Python-Dev] constant/enum type in stdlib
- Next message: [Python-Dev] constant/enum type in stdlib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Nov 23, 2010, at 10:37 AM, Ben.Cottrell at nominum.com wrote:
I'd prefer not to think of the number of times I've made the following mistake:
s = socket.socket(socket.SOCKDGRAM, socket.AFINET)
If it's any consolation, it's fewer than the number of times I have :).
(More fun, actually, is where you pass a file descriptor to the wrong argument of 'fromfd'...)
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20101123/319bcf09/attachment.html>
- Previous message: [Python-Dev] constant/enum type in stdlib
- Next message: [Python-Dev] constant/enum type in stdlib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]