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 Anthony Sottile
Recipients Anthony Sottile
Date 2017-12-11.17:45:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513014353.51.0.213398074469.issue32277@psf.upfronthosting.co.za>
In-reply-to
Content
While investigating https://bugs.python.org/issue31940 I noticed the following is raised as `SystemError` instead of the expected `NotImplementedError`

(note: you need a platform with fchmodat but does not support nofollow)

```
touch foo
ln -s foo bar
python3.6 -c 'import os; os.chmod("bar", 0o666, follow_symlinks=False)
```

Expected: raised `NotImplementedError`
Actual: raised `SystemError`
History
Date User Action Args
2017-12-11 17:45:53Anthony Sottilesetrecipients: + Anthony Sottile
2017-12-11 17:45:53Anthony Sottilesetmessageid: <1513014353.51.0.213398074469.issue32277@psf.upfronthosting.co.za>
2017-12-11 17:45:53Anthony Sottilelinkissue32277 messages
2017-12-11 17:45:53Anthony Sottilecreate