[New-bugs-announce] [issue9042] Gettext cache and classes

v_peter report at bugs.python.org
Mon Jun 21 15:23:39 CEST 2010

New submission from v_peter <leanmeandonothingmachine at gmail.com>:

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list