New submission from v_peter <leanmeandonothingmach...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9042>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to