[issue3703] open() on directory raises IOError with unhelpful message

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66097. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue3703] open() on directory raises IOError with unhelpful message

2008-08-27 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: looks good to me -- nosy: +gregory.p.smith ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3703] open() on directory raises IOError with unhelpful message

2008-08-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: There is a call to dircheck(), but not in the correct place. The attached patch makes sure that the "Is a directory" message is not overwritten. -- keywords: +needs review, patch nosy: +amaury.forgeotdarc priority: -> critical

[issue3703] open() on directory raises IOError with unhelpful message

2008-08-27 Thread Hagen Fürstenau
New submission from Hagen Fürstenau <[EMAIL PROTECTED]>: When trying to open a directory (on Linux), Python 2.x complained with >>> open("local") Traceback (most recent call last): File "", line 1, in IOError: [Errno 21] Is a directory Python 3.0 however gives the rather unhelpful or even wr