Author eric.araujo
Recipients ajaksu2, chrysn, eric.araujo, jjinux, loewis, tarek
Date 2010-11-05.20:45:09
SpamBayes Score 0.000723429
Marked as misclassified No
Message-id <1288989912.18.0.475682097933.issue1649329@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2010-11-05 20:45:12eric.araujosetrecipients: + eric.araujo, loewis, ajaksu2, jjinux, tarek, chrysn
2010-11-05 20:45:12eric.araujosetmessageid: <1288989912.18.0.475682097933.issue1649329@psf.upfronthosting.co.za>
2010-11-05 20:45:09eric.araujolinkissue1649329 messages
2010-11-05 20:45:09eric.araujocreate