[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/software/gettext/manual/gettext.html#Contexts

--
components: Extension Modules
messages: 64675
nosy: genepi
severity: normal
status: open
title: Add gettext.pgettext() and variants support
type: feature request
versions: Python 2.6, Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2504
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 is a Pango markup 
string used for localization:
markupspan lang=\en\ font_desc=\Sans,Monospace Bold 130\span 
foreground=\#FF\%H/span:span 
foreground=\#00FF00\%M/span:span 
foreground=\#FF\%S/span/span/markup

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2490
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 and Fedora 9 ships with the latest version.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2490
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com