New submission from Anthony Sottile <asott...@umich.edu>: 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` ---------- messages: 308062 nosy: Anthony Sottile priority: normal severity: normal status: open title: SystemError via chmod(symlink, ..., follow_symlinks=False) versions: Python 3.6, Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32277> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com