This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hroncok
Recipients docs@python, hroncok
Date 2018-05-28.13:06:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527512817.93.0.682650639539.issue33666@psf.upfronthosting.co.za>
In-reply-to
Content
In 3.7.0b4 I see the following traceback:

>>> import os
>>> os.errno
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'errno'

This was not the case for Python 3.6:

>>> import os
>>> os.errno
<module 'errno' (built-in)>

os.errno might not have been documented, however there are projects out there that use it:

https://github.com/intel/bmap-tools/issues/34
https://bugzilla.redhat.com/show_bug.cgi?id=1583196

So I suggest the removal of os.errno is something worth documenting at https://docs.python.org/3.7/whatsnew/3.7.html

The root of the change is in https://github.com/python/cpython/pull/1269/files#diff-405b29928f2a3ae216e45afe9b5d0c60
History
Date User Action Args
2018-05-28 13:06:57hroncoksetrecipients: + hroncok, docs@python
2018-05-28 13:06:57hroncoksetmessageid: <1527512817.93.0.682650639539.issue33666@psf.upfronthosting.co.za>
2018-05-28 13:06:57hroncoklinkissue33666 messages
2018-05-28 13:06:57hroncokcreate