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 vstinner
Recipients bsdphk, christian.heimes, martin.panter, r.david.murray, serhiy.storchaka, tuxtimo, vstinner, xiang.zhang
Date 2018-06-10.11:55:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528631759.29.0.592728768989.issue33687@psf.upfronthosting.co.za>
In-reply-to
Content
> It looks like the module has never set the file mode, at least since it was added to Python in 1994. I suggest just remove the dead code and fix the documentation.

You cannot just remove the mode parameter without a deprecation period. Right now, the flag is documented:

https://docs.python.org/dev/library/uu.html
"mode is used to set the permission bits if the file must be created"

I agree with Martin that I am not comfortable to fix the bug in stable branches (2.7, 3.6, 3.7).

I'm +0 to fix the uu module in master (future 3.8).

If we fix the bug in master, we should document that mode is ignored in 2.7, 3.6 and 3.7 (update their documentation).
History
Date User Action Args
2018-06-10 11:55:59vstinnersetrecipients: + vstinner, christian.heimes, r.david.murray, martin.panter, serhiy.storchaka, bsdphk, xiang.zhang, tuxtimo
2018-06-10 11:55:59vstinnersetmessageid: <1528631759.29.0.592728768989.issue33687@psf.upfronthosting.co.za>
2018-06-10 11:55:59vstinnerlinkissue33687 messages
2018-06-10 11:55:59vstinnercreate