[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
Brett Cannon added the comment: While I appreciate the effort, SilentGhost, I'm going to make a call and say Raymond is right; this isn't worth the code breakage. While all new code should make sure to use the underscore prefix, proactively adding it to pre-existing code just isn't worth the risk. -- resolution: - wont fix status: open - closed versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
New submission from SilentGhost ghost@gmail.com: Module generic path is in order (added here only for completeness). Attached patch is for getopt. -- components: Library (Lib) files: getopt_api.diff keywords: patch messages: 126095 nosy: SilentGhost priority: normal severity: normal status: open title: Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext versions: Python 3.3 Added file: http://bugs.python.org/file20365/getopt_api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
SilentGhost ghost@gmail.com added the comment: Attached patch is for glob. While I haven't touched it, I find it strange that Doc/library/glob.rst draws special attention to the actual source code of the glob module. Since, in my view, it's pertaining to the public API, I would consider deleting that See also note. -- Added file: http://bugs.python.org/file20366/glob_api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
SilentGhost ghost@gmail.com added the comment: Attached patch is for getpass. Additionally, I let myself remove superfluous import. -- Added file: http://bugs.python.org/file20367/getpass_api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
SilentGhost ghost@gmail.com added the comment: Attached patch is for gzip. Additionally, I had to fix import and removed two unused (?) functions. Let me know if that's inappropriate. I wasn't sure what to do about constants (all caps vars) so I left them as they were. -- Added file: http://bugs.python.org/file20371/gzip_api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20367/getpass_api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
Changes by SilentGhost ghost@gmail.com: Added file: http://bugs.python.org/file20372/getpass_api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
SilentGhost ghost@gmail.com added the comment: Attached patch is fro gettext None of the public members of the module has any docstrings. I'm not sure that simple copying from Doc/library/gettext.rst would be satisfactory. But if it is, please let me know. -- Added file: http://bugs.python.org/file20379/gettext_api.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
Changes by Éric Araujo mer...@netwok.org: -- nosy: +brett.cannon, eric.araujo, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10895] Private stdlib API: getopt, getpass, glob, gzip, genericpath, gettext
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: -0 It is questionable whether this should be done at all. Either it is irrelevant or it will break someone's code. -- priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10895 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com