[New-bugs-announce] [issue9933] os module does not have the documented EX_NOTFOUND attribute
report at bugs.python.org
Fri Sep 24 01:48:35 CEST 2010
New submission from Kamil Kisiel <kisielk at users.sourceforge.net>:
The library documentation (http://docs.python.org/library/os.html) states:
Exit code that means something like “an entry was not found”.
New in version 2.3.
However, on both my Linux and OS X installs of OS X this happens:
Python 2.6.2 (r262:71600, Oct 24 2009, 03:15:21)
[GCC 4.4.1 [gcc-4_4-branch revision 150839]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
im>>> import os
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'EX_NOTFOUND'
Unfortunately I don't have another Python version available to test with at the moment so I'm not sure if this affects other versions as well.
components: Library (Lib)
title: os module does not have the documented EX_NOTFOUND attribute
versions: Python 2.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce