[Python-Dev] file()

Kristján V. Jónsson kristjan at ccpgames.com
Mon Jun 12 15:49:50 CEST 2006

I notice that file() throws an IOError when it detects an invalid mode string.  Wouldn't a ValueError be more appropriate?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060612/37fd048b/attachment.html 

More information about the Python-Dev mailing list