[issue33687] uu.py calls os.path.chmod which doesn't exist

STINNER Victor report at bugs.python.org
Thu Jul 12 09:54:02 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Is there really an use case which requires to set the permission of the file created by uu.decode()? It is already possible to call uu.decode() with an open file which has been created with the expected permission. Moreover, it's also possible to explicitly call chmod() *after* uu.decode().

I would suggest to deprecate the mode parameter in Python 3.7 and remove it from Python 3.8.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33687>
_______________________________________


More information about the Python-bugs-list mailing list