<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_time.py, branch v2.7a3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_time.py?h=v2.7a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_time.py?h=v2.7a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-09-22T00:29:48Z</updated>
<entry>
<title>When range checking was added to time.strftime() a check was placed on tm_isdst</title>
<updated>2009-09-22T00:29:48Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2009-09-22T00:29:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4d94743c28af939864e870f556f8b656fbd3b774'/>
<id>urn:sha1:4d94743c28af939864e870f556f8b656fbd3b774</id>
<content type='text'>
to make sure it fell within [-1, 1] just in case someone implementing
strftime() in libc was stupid enough to assume this. Turns out, though, some
OSs (e.g. zOS) are stupid enough to use values outside of this range for time
structs created by the system itself. So instead of throwing a ValueError,
tm_isdst is now normalized before being passed to strftime().

Fixes issue #6823. Thanks Robert Shapiro for diagnosing the problem and
contributing an initial patch.
</content>
</entry>
<entry>
<title>convert usage of fail* to assert*</title>
<updated>2009-06-30T22:57:08Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-06-30T22:57:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e'/>
<id>urn:sha1:5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make output on test_strptime() be more verbose in face of failure.  This is in</title>
<updated>2006-09-23T19:53:20Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2006-09-23T19:53:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e042601251e74a1c5bac287c936daa076b1f9a80'/>
<id>urn:sha1:e042601251e74a1c5bac287c936daa076b1f9a80</id>
<content type='text'>
hopes that more information will help debug the failing test on HPPA Ubuntu.
</content>
</entry>
<entry>
<title>Fix bug #1520914.  Starting in 2.4, time.strftime() began to check the bounds</title>
<updated>2006-07-18T04:41:36Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2006-07-18T04:41:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=caebe22038d4de526ab34cfda98047f01c53fc9d'/>
<id>urn:sha1:caebe22038d4de526ab34cfda98047f01c53fc9d</id>
<content type='text'>
of values in the time tuple passed in.  Unfortunately people came to rely on
undocumented behaviour of setting unneeded values to 0, regardless of if it was
within the valid range.  Now those values force the value internally to the
minimum value when 0 is passed in.
</content>
</entry>
<entry>
<title>Try to narrow window of failure on slow/busy boxes (ppc64 buildbot)</title>
<updated>2006-06-15T05:55:49Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-06-15T05:55:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=de7f50287999ab58b6fb1886646fa19c9cfe66f8'/>
<id>urn:sha1:de7f50287999ab58b6fb1886646fa19c9cfe66f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>allow ctime(), gmtime(), and localtime() to take None as equivalent to an omitted arg</title>
<updated>2004-08-03T17:58:55Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-08-03T17:58:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f901abdd62c9067f993b85392dbb73a560af6325'/>
<id>urn:sha1:f901abdd62c9067f993b85392dbb73a560af6325</id>
<content type='text'>
(closes SF bug #658254, patch #663482)
</content>
</entry>
<entry>
<title>Bug 975996:  Add _PyTime_DoubleToTimet to C API</title>
<updated>2004-06-20T02:50:16Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-06-20T02:50:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1b6f7a9057874ecd2793059f210de87837fe1911'/>
<id>urn:sha1:1b6f7a9057874ecd2793059f210de87837fe1911</id>
<content type='text'>
New include file timefuncs.h exports private API function
_PyTime_DoubleToTimet() from timemodule.c.  timemodule should export
some other functions too (look for painful bits in datetimemodule.c).

Added insane-argument checking to datetime's assorted fromtimestamp()
and utcfromtimestamp() methods.  Added insane-argument tests of these
to test_datetime, and insane-argument tests for ctime(), localtime()
and gmtime() to test_time.
</content>
</entry>
<entry>
<title>Have strftime() check its time tuple argument to make sure the tuple's values</title>
<updated>2004-03-02T04:38:10Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2004-03-02T04:38:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d1080a3418b2a162b44d0d5738a6da2276133eb7'/>
<id>urn:sha1:d1080a3418b2a162b44d0d5738a6da2276133eb7</id>
<content type='text'>
are within proper boundaries as specified in the docs.

This can break possible code (datetime module needed changing, for instance)
that uses 0 for values that need to be greater 1 or greater (month, day, and
day of year).

Fixes bug #897625.
</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>SF patch #706707, time.tzset standards compliance update by Stuart Bishop</title>
<updated>2003-04-11T15:35:53Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-04-11T15:35:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7f2588c073e80ab9932f69d1c5766aa73f4ae7d0'/>
<id>urn:sha1:7f2588c073e80ab9932f69d1c5766aa73f4ae7d0</id>
<content type='text'>
Update configure and test to use proper timezone specifications
</content>
</entry>
</feed>
