Ross Lagerwall <rosslagerw...@gmail.com> added the comment:

Updated patch:
* checks for long overflow
* raises original exception if opener returns null
* makes it explicit that "opener" must return an open file descriptor.

I don't think that mode should be passed in since it is not specified in the 
parameters to open() (and always defaults to 0o666 anyway). Specifying the file 
mode should be left to the opener if needed.

----------
Added file: http://bugs.python.org/file23562/opener_v2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12797>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to