<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/datetimemodule.c, branch 2.3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/datetimemodule.c?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/datetimemodule.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-03-02T20:32:57Z</updated>
<entry>
<title>Backport of r61180:</title>
<updated>2008-03-02T20:32:57Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-03-02T20:32:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d254ca8813986ac72f39fdac90fdf8f63904c28e'/>
<id>urn:sha1:d254ca8813986ac72f39fdac90fdf8f63904c28e</id>
<content type='text'>
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
</content>
</entry>
<entry>
<title>SF 952807:  Unpickling pickled instances of subclasses of</title>
<updated>2004-06-07T23:17:48Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-06-07T23:17:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d8b9346a0d1f0bf99fbb0f71007f9de81b8d1088'/>
<id>urn:sha1:d8b9346a0d1f0bf99fbb0f71007f9de81b8d1088</id>
<content type='text'>
datetime.date, datetime.datetime and datetime.time could yield insane
objects.  Thanks to Jiwon Seo for a fix.
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2003-10-20T14:34:48Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-10-20T14:34:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4958f2741aebb85bdfd7f7c9f108f1b6e3734ae9'/>
<id>urn:sha1:4958f2741aebb85bdfd7f7c9f108f1b6e3734ae9</id>
<content type='text'>
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
</content>
</entry>
<entry>
<title>SF bug #761337: datetime.strftime fails on trivial format string</title>
<updated>2003-06-27T08:14:17Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-06-27T08:14:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f69d9f6818225fc2613230c5dc11c181085db383'/>
<id>urn:sha1:f69d9f6818225fc2613230c5dc11c181085db383</id>
<content type='text'>
The interning of short strings violates the refcnt==1 assumption for
_PyString_Resize().

A simple fix is to boost the initial value of "totalnew" by 1.
Combined with an NULL argument to PyString_FromStringAndSize(),
this assures that resulting format string is not interned.
This will remain true even if the implementation of
PyString_FromStringAndSize() changes because only the uninitialized
strings that can be interned are those of zero length.

Added a test case.
</content>
</entry>
<entry>
<title>Added more words about the abuse of the tp_alloc nitems argument</title>
<updated>2003-05-18T02:24:46Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-05-18T02:24:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=03eaf8b1aec995809a5a486948bef6f24b8174f4'/>
<id>urn:sha1:03eaf8b1aec995809a5a486948bef6f24b8174f4</id>
<content type='text'>
perpetrated by the time and datetime classes.
</content>
</entry>
<entry>
<title>datetime.timedelta is now subclassable in Python.  The new test shows</title>
<updated>2003-05-17T15:57:00Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-05-17T15:57:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b0c854d6a747cd64ff7b23b8e9f9ef93ff8ac0ac'/>
<id>urn:sha1:b0c854d6a747cd64ff7b23b8e9f9ef93ff8ac0ac</id>
<content type='text'>
one good use:  a subclass adding a method to express the duration as
a number of hours (or minutes, or whatever else you want to add).  The
native breakdown into days+seconds+us is often clumsy.  Incidentally
moved a large chunk of object-initialization code closer to the top of
the file, to avoid worse forward-reference trickery.
</content>
</entry>
<entry>
<title>datetime.datetime and datetime.time can now be subclassed in Python.  Brr.</title>
<updated>2003-05-17T05:55:19Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-05-17T05:55:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a98924a063b6c8f94f7a03c78bd83e6131954381'/>
<id>urn:sha1:a98924a063b6c8f94f7a03c78bd83e6131954381</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Turns out there wasn't a need to define tp_free for any of the types here.</title>
<updated>2003-05-16T22:44:06Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-05-16T22:44:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c530130302ee74c49dfd44f5068c563af1aeb30'/>
<id>urn:sha1:4c530130302ee74c49dfd44f5068c563af1aeb30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stopped using the old macro form of _PyObject_Del.</title>
<updated>2003-05-16T20:02:26Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-05-16T20:02:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0490011075da8728dc3be51729845ee5fec6a6bd'/>
<id>urn:sha1:0490011075da8728dc3be51729845ee5fec6a6bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch 731504:  Typo in datetimemodule.c comment.</title>
<updated>2003-05-02T18:39:55Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-05-02T18:39:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e2df5ffa539bc1d903684e8c5863645a8886bfe2'/>
<id>urn:sha1:e2df5ffa539bc1d903684e8c5863645a8886bfe2</id>
<content type='text'>
s/isofomat/isoformat/, by Steven Taschuk.
</content>
</entry>
</feed>
