<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/gettext.py, branch v2.7.3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/gettext.py?h=v2.7.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/gettext.py?h=v2.7.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2011-03-15T16:55:01Z</updated>
<entry>
<title>#11515: fix several typos. Patch by Piotr Kasprzyk.</title>
<updated>2011-03-15T16:55:01Z</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2011-03-15T16:55:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=24b07bcba350bb86c4d6ca446e1564647a199868'/>
<id>urn:sha1:24b07bcba350bb86c4d6ca446e1564647a199868</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merged revisions 85223 via svnmerge from</title>
<updated>2010-10-04T23:59:35Z</updated>
<author>
<name>Éric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2010-10-04T23:59:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c17776f96e8654dc9510daf55d90987be2e4dec2'/>
<id>urn:sha1:c17776f96e8654dc9510daf55d90987be2e4dec2</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85223 | eric.araujo | 2010-10-05 01:52:37 +0200 (mar., 05 oct. 2010) | 3 lines

  Fix interaction of custom translation classes and caching (#9042)
........
</content>
</entry>
<entry>
<title>close file explicitly</title>
<updated>2009-05-10T01:38:02Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-05-10T01:38:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14c7bc2ad22f4fffdcf2b3d58b1358846a53079f'/>
<id>urn:sha1:14c7bc2ad22f4fffdcf2b3d58b1358846a53079f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #1349274: gettext.install() now optionally installs additional</title>
<updated>2006-02-19T13:26:36Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-02-19T13:26:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=602b9ba6b37c4ac4ed445f8c9e9dccd68d631899'/>
<id>urn:sha1:602b9ba6b37c4ac4ed445f8c9e9dccd68d631899</id>
<content type='text'>
translation functions other than _() in the builtin namespace.
</content>
</entry>
<entry>
<title>Use cStringIO where available.</title>
<updated>2004-12-31T19:15:26Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-12-31T19:15:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a617271dbd150549b021a5161d009869ad62f7b2'/>
<id>urn:sha1:a617271dbd150549b021a5161d009869ad62f7b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>This change implements the following gettext features, as</title>
<updated>2004-07-22T18:44:01Z</updated>
<author>
<name>Gustavo Niemeyer</name>
<email>gustavo@niemeyer.net</email>
</author>
<published>2004-07-22T18:44:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7bd33c5e22c67e06042fb7ab1186f7587d78153d'/>
<id>urn:sha1:7bd33c5e22c67e06042fb7ab1186f7587d78153d</id>
<content type='text'>
discussed recently in python-dev:

In _locale module:

- bind_textdomain_codeset() binding

In gettext module:

- bind_textdomain_codeset() function
- lgettext(), lngettext(), ldgettext(), ldngettext(),
  which return translated strings encoded in
  preferred system encoding, if
  bind_textdomain_codeset() was not used.
- Added equivalent functionality in translate()
  function and catalog classes.

Every change was also documented.
</content>
</entry>
<entry>
<title>Replace str.find()!=1 with the more readable "in" operator.</title>
<updated>2004-05-04T09:21:43Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-05-04T09:21:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bac788a3cd348203a5fdabba52e5faf65bf35c5e'/>
<id>urn:sha1:bac788a3cd348203a5fdabba52e5faf65bf35c5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>GNUTranslations._parse(): Initialize local variable k so that if the</title>
<updated>2003-10-04T02:28:31Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2003-10-04T02:28:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b8c787606cfd5bbef2e826ee854f424483e814e2'/>
<id>urn:sha1:b8c787606cfd5bbef2e826ee854f424483e814e2</id>
<content type='text'>
first line of a header section isn't an RFC-ish header, it's just
ignored instead of throwing an UnboundLocalError.

Backport candidate.
</content>
</entry>
<entry>
<title>GNUTranslations._parse(): Fix SF bug #658233, where continuation lines</title>
<updated>2003-05-20T17:26:48Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2003-05-20T17:26:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7de63f57c881cb94ba89c2a1dfaf79af1bba52bb'/>
<id>urn:sha1:7de63f57c881cb94ba89c2a1dfaf79af1bba52bb</id>
<content type='text'>
in .po metadata caused a crash.

Backport candidate.
</content>
</entry>
<entry>
<title>GNUTranslations:</title>
<updated>2003-04-24T18:13:39Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2003-04-24T18:13:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4acc2bd32f14c22f9cd7a95021184809e096ebe'/>
<id>urn:sha1:c4acc2bd32f14c22f9cd7a95021184809e096ebe</id>
<content type='text'>
    __init__(): Removed since we no longer need the coerce flag.
    Message ids and strings are now always coerced to Unicode, /if/
    the catalog specified a charset parameter.

    gettext(), ngettext(): Since the message strings are Unicodes in
    the catalog, coerce back to encoded 8-bit strings on return.

    ugettext(), ungettext(): Coerce the message ids to Unicode when
    there's no entry for the id in the catalog.

Minor code cleanups; use booleans where appropriate.
</content>
</entry>
</feed>
