<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_gettext.py, branch v2.4b2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_gettext.py?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_gettext.py?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-07-19T00:08:59Z</updated>
<entry>
<title>Don't try to create the directory if it already exists, otherwise the test fails</title>
<updated>2004-07-19T00:08:59Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-07-19T00:08:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a0e0cd3013840299a789f05be239d6ecb6387cdf'/>
<id>urn:sha1:a0e0cd3013840299a789f05be239d6ecb6387cdf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added a test for the fix of SF bug #658233, where continuation lines</title>
<updated>2003-05-20T17:28:54Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2003-05-20T17:28:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e960e22579838419541357712bbbc3317c219071'/>
<id>urn:sha1:e960e22579838419541357712bbbc3317c219071</id>
<content type='text'>
in .po metadata caused a crash.

Also, removed some unnecessary code.

Backport candidate.
</content>
</entry>
<entry>
<title>Make tests clean up after themselves better.  This means:</title>
<updated>2003-04-27T19:42:41Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2003-04-27T19:42:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4aebbb044942ad17d761491b46ff05b6ab8387c9'/>
<id>urn:sha1:4aebbb044942ad17d761491b46ff05b6ab8387c9</id>
<content type='text'>
* call tearDown when Setup is called
* shutil.rmtree the root of the created directory instead of just the leaf
  directory
* set the LANGUAGE environment variable to what it was originally and not
  assume 'en'.
</content>
</entry>
<entry>
<title>UnicodeTranslationsTest.setUp(): Removed the coerce flag to the</title>
<updated>2003-04-24T18:08:13Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2003-04-24T18:08:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=edb155fda199f7fa481d0020e911a6eec0705dfa'/>
<id>urn:sha1:edb155fda199f7fa481d0020e911a6eec0705dfa</id>
<content type='text'>
GNUTranslations constructor.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2003-04-24T16:02:54Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-04-24T16:02:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a'/>
<id>urn:sha1:0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>From http://mail.python.org/pipermail/i18n-sig/2003-April/001557.html</title>
<updated>2003-04-11T18:36:43Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2003-04-11T18:36:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a1ce93f87cb221be9a7466c2f9d2b7dc494f458d'/>
<id>urn:sha1:a1ce93f87cb221be9a7466c2f9d2b7dc494f458d</id>
<content type='text'>
- Expose NullTranslations and GNUTranslations to __all__

- Set the default charset to iso-8859-1.  It used to be None, which
would cause problems with .ugettext() if the file had no charset
parameter.  Arguably, the po/mo file would be broken, but I still think
iso-8859-1 is a reasonable default.

- Add a "coerce" default argument to GNUTranslations's constructor.  The
reason for this is that in Zope, we want all msgids and msgstrs to be
Unicode.  For the latter, we could use .ugettext() but there isn't
currently a mechanism for Unicode-ifying msgids.

The plan then is that the charset parameter specifies the encoding for
both the msgids and msgstrs, and both are decoded to Unicode when read.
For example, we might encode po files with utf-8. I think the GNU
gettext tools don't care.

Since this could potentially break code [*] that wants to use the
encoded interface .gettext(), the constructor flag is added, defaulting
to False.  Most code I suspect will want to set this to True and use
.ugettext().

- A few other minor changes from the Zope project, including asserting
that a zero-length msgid must have a Project-ID-Version header for it to
be counted as the metadata record.
</content>
</entry>
<entry>
<title>Patch #633547: Support plural forms. Do TODOs in test suite.</title>
<updated>2002-11-21T21:45:32Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-11-21T21:45:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d899605e30eef8e77f70184eac15fad1bf770586'/>
<id>urn:sha1:d899605e30eef8e77f70184eac15fad1bf770586</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move the setting of os.environ['LANGUAGE'] to setup(), and reset it to</title>
<updated>2002-07-20T00:36:38Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-07-20T00:36:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=65692578b7c934148b0bb6b4bddc4def21d008e2'/>
<id>urn:sha1:65692578b7c934148b0bb6b4bddc4def21d008e2</id>
<content type='text'>
'en' in teardown().  This way hopefully test_time.py won't fail.
</content>
</entry>
<entry>
<title>Update an email address.</title>
<updated>2001-08-28T21:26:33Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2001-08-28T21:26:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=08f99562614f87a02bf27eb0b7c427f6828bd0e9'/>
<id>urn:sha1:08f99562614f87a02bf27eb0b7c427f6828bd0e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Quick and dirty fix for test_extcall failures trigged by Guido's</title>
<updated>2001-08-24T19:11:57Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2001-08-24T19:11:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=191487351abb5d2b7daf9d839ca2b3a3c7fdc07b'/>
<id>urn:sha1:191487351abb5d2b7daf9d839ca2b3a3c7fdc07b</id>
<content type='text'>
recent classobject.c change.  When calling an unbound method with no
instances as first argument, the error message has changed.  The
message now contains the class name, but the output text being
compared to is too generic, so skip printing it.
</content>
</entry>
</feed>
