New submission from Poul-Henning Kamp <p...@freebsd.org>:

Library file uu.py on at least 2.7 and 3.6 contains:

            try:
                os.path.chmod(out_file, mode)
            except AttributeError:
                pass

As far as I can tell, os.path.chmod does not exist, so this always raises 
AttributeError and becomes a no-op.

Is suspect the proper fix is to remove the ".path" ?

----------
components: Library (Lib)
messages: 318119
nosy: bsdphk
priority: normal
severity: normal
status: open
title: uu.py calls os.path.chmod which doesn't exist
type: behavior
versions: Python 2.7, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33687>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to