[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-24 Thread Georg Brandl
Georg Brandl added the comment: I agree with Martin. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker ___ ___

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: I fail to see the issue. The documentation clearly says, above the block of all the EX_* constants: Note Some of these may not be available on all Unix platforms, since there is some variation. These constants are defined where they are defined by the under

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread Kamil Kisiel
Kamil Kisiel added the comment: I mostly wanted to just report the issue rather than propose a solution, so I'm in favor of whatever everyone feels is best. As for how I came across the issue, it was mostly curiosity, I wanted to see the numerical value of all the os.EX_* constants and was pr

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread Brian Curtin
Brian Curtin added the comment: +1 for removing it from the docs. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread R. David Murray
R. David Murray added the comment: s/linux/unix/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread R. David Murray
R. David Murray added the comment: Perhaps this constant existed at some point on some linux systems...google found one comment about it referencing posix.2. I also found it mentioned in a specific version of sendmail, and in bash. When it appears it seems to most often have the value 127.

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread Brian Curtin
Brian Curtin added the comment: The following code exists in Modules/posixmodule.c 8167 /* These come from sysexits.h */ ... 8216 #ifdef EX_NOTFOUND 8217 if (ins(d, "EX_NOTFOUND", (long)EX_NOTFOUND)) return -1; 8218 #endif /* EX_NOTFOUND */ sysexits.h on my Mac has no mention of EX_NO

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread Kamil Kisiel
Kamil Kisiel added the comment: That should have read "Linux and OS X installs of *Python*". -- ___ Python tracker ___ ___ Python-bugs

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread Kamil Kisiel
New submission from Kamil Kisiel : The library documentation (http://docs.python.org/library/os.html) states: """ os.EX_NOTFOUND Exit code that means something like “an entry was not found”. Availability: Unix. New in version 2.3. """ However, on both my Linux and OS X installs of OS X this h