[issue2504] Add gettext.pgettext() and variants support

2008-03-28 Thread Pierre Metras
New submission from Pierre Metras [EMAIL PROTECTED]: Please add support for pgettext(msgctxt, msgid) and variants (dpgettext, dcpgettext...) in the gettext module. I will not rephrase the justification for these functions and why contexts are essential for good localization: http://www.gnu.org

[issue2490] Assertion failure in datetime.strftime()

2008-03-26 Thread Pierre Metras
Pierre Metras [EMAIL PROTECTED] added the comment: There is an example of a long strftime pattern in the test.py file attached to that issue. Just change the length of the pattern to see that it works for smaller patterns in Python 2.5. The pattern where it occured in my application

[issue2490] Assertion failure in datetime.strftime()

2008-03-26 Thread Pierre Metras
Pierre Metras [EMAIL PROTECTED] added the comment: I did a mistake: OLPC XO is based on Fedora 7 and not 9. They plan to upgrade to 9 later this year (http://wiki.laptop.org/go/Fedora), so this bug will disappear by itself if it's confirmed that test.py runs correctly on Python 2.5.x