New submission from Larry Hastings <la...@hastings.org>: While hacking on CPython I noticed a couple of attributes that were there strictly for backwards compatibility with ancient modules or pure mistakes. They are: _hashlib.hash.digestsize pwd.struct_pwent _sha224.digestsize _sha256.digestsize _sha384.digestsize _sha512.digestsize
None of these are part of the documented interface, and all of them are redundant with documented interfaces. I suggest that they can all go. The attached patch removes all of the above. With the patch applied Python passes all expected unit tests. ---------- components: Extension Modules files: lch.modulecleanup.r72081.diff keywords: patch messages: 86815 nosy: larry severity: normal status: open title: Remove extraneous backwards-compatibility attributes from some modules type: feature request versions: Python 3.1 Added file: http://bugs.python.org/file13818/lch.modulecleanup.r72081.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5881> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com