Message120531
Barry said in http://mail.python.org/pipermail/python-dev/2009-March/087847.html :
The class-based API for gettext takes streams, so resource_stream()
would work just fine. I think i18n plugins for Python do not
necessarily need to use the classic gettext API.
The title as I changed it some time ago is thus invalid, so I’m changing it again. This is still a request for separating the language selection code from the file finding. Anyone feel free to enter a better title, this one is not very clear.
My first vote was to try to fix the code without writing a VFS, but OTOH maybe a lightweight ABC with mixin methods and a concrete implementation of the full gettext logic may be clear and educational here. Shannon, if you’re still getting those emails, what do you think? |
|
Date |
User |
Action |
Args |
2010-11-05 20:45:12 | eric.araujo | set | recipients:
+ eric.araujo, loewis, ajaksu2, jjinux, tarek, chrysn |
2010-11-05 20:45:12 | eric.araujo | set | messageid: <1288989912.18.0.475682097933.issue1649329@psf.upfronthosting.co.za> |
2010-11-05 20:45:09 | eric.araujo | link | issue1649329 messages |
2010-11-05 20:45:09 | eric.araujo | create | |
|