[issue9042] Gettext cache and classes
v_peter added the comment: Any comments on the patch for 3.2? -- ___ Python tracker <http://bugs.python.org/issue9042> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9042] Gettext cache and classes
v_peter added the comment: Here's a second patch with key = (class_, os.path.abspath(mofile))) -- Added file: http://bugs.python.org/file18713/class_cache2.diff ___ Python tracker <http://bugs.python.org/issue9042> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9042] Gettext cache and classes
v_peter added the comment: Which branches should i make patches for then? release27-maint and release31-maint? -- ___ Python tracker <http://bugs.python.org/issue9042> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9173] logger statement not guarded in shutil._make_tarball
v_peter added the comment: Added a test to the patch -- nosy: +v_peter Added file: http://bugs.python.org/file19620/shutil_logger_with_test.py27.patch ___ Python tracker <http://bugs.python.org/issue9173> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9173] logger statement not guarded in shutil._make_tarball
v_peter added the comment: I think it would be nice to get this test in. -- ___ Python tracker <http://bugs.python.org/issue9173> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9042] Gettext cache and classes
New submission from v_peter : If you pass gettext.translation a class_ but the mo file you are trying to open already exists in the _translations cache the instance that is returned is an instance of whatever was in the cache and not the class that you requested. I think that if a class is requested it should return that class. If others agree then I'd be happy to work on a patch. -- components: Library (Lib) messages: 108270 nosy: v_peter priority: normal severity: normal status: open title: Gettext cache and classes versions: Python 2.6 ___ Python tracker <http://bugs.python.org/issue9042> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9042] Gettext cache and classes
Changes by v_peter : -- keywords: +patch versions: +Python 3.2 -Python 2.6 Added file: http://bugs.python.org/file17736/class_cache.diff ___ Python tracker <http://bugs.python.org/issue9042> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com