summaryrefslogtreecommitdiff
path: root/Modules/datetimemodule.c
AgeCommit message (Expand)AuthorLines
2008-03-02Backport of r60793:Martin v. Löwis-0/+7
2006-09-30Bug #1556784: allow format strings longer than 127 characters inGeorg Brandl-2/+2
2006-09-27[Backport of rev. 42093 by neal.norwitz]Andrew M. Kuchling-0/+2
2006-04-28Bug #1478429: make datetime.datetime.fromtimestamp accept every float,Georg Brandl-0/+7
2006-03-20Backport 43147:Neal Norwitz-4/+9
2004-12-19Bug #1087216: datetime module documentation missing critical detailRaymond Hettinger-3/+9
2004-09-16SF bug #1028306: date-datetime comparisonTim Peters-1/+11
2004-06-20SF patch 876130: add C API to datetime module, from Anthony Tuininga.Tim Peters-0/+30
2004-06-20Bug 975996: Add _PyTime_DoubleToTimet to C APITim Peters-5/+15
2004-06-07SF 952807: Unpickling pickled instances of subclasses of datetime.date,Tim Peters-6/+3
2004-03-21SF bug 847019 datetime.datetime initialization needs more strict checkingTim Peters-2/+10
2004-03-02Have strftime() check its time tuple argument to make sure the tuple's valuesBrett Cannon-2/+2
2003-10-20Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald-2/+2
2003-10-12Simplify and speedup uses of Py_BuildValue():Raymond Hettinger-4/+4
2003-06-27SF bug #761337: datetime.strftime fails on trivial format stringRaymond Hettinger-1/+1
2003-05-18Added more words about the abuse of the tp_alloc nitems argumentTim Peters-1/+12
2003-05-17datetime.timedelta is now subclassable in Python. The new test showsTim Peters-165/+170
2003-05-17datetime.datetime and datetime.time can now be subclassed in Python. Brr.Tim Peters-30/+46
2003-05-16Turns out there wasn't a need to define tp_free for any of the types here.Tim Peters-4/+4
2003-05-16Stopped using the old macro form of _PyObject_Del.Tim Peters-4/+4
2003-05-02SF patch 731504: Typo in datetimemodule.c comment.Tim Peters-1/+1
2003-04-14The date class is now properly subclassable. (SF bug #720908)Guido van Rossum-5/+8
2003-02-08timedelta comparison and datetime addition: as the Python implementationTim Peters-4/+4
2003-02-07Comparison for timedelta, time, date and datetime objects: __eq__ andTim Peters-38/+52
2003-02-04Whitespace normalizationNeal Norwitz-1/+1
2003-02-01New functions alloc_{time,datetime}. Got rid of all setstate-likeTim Peters-168/+123
2003-02-01There's no good reason for datetime objects to expose __getstate__()Tim Peters-52/+4
2003-02-01Removed all uses of the out-of-favor __safe_for_unpickling__ magicTim Peters-27/+0
2003-02-01All over: changed comments to reflect pickling is straightforward now,Tim Peters-7/+5
2003-02-01delta_setstate(): This waS no longer referenced, so nukeit.Tim Peters-38/+2
2003-01-31The various datetime object __setstate__() methods are no longer publicTim Peters-116/+105
2003-01-31Backward branches are disgusting, at least when a forward branchTim Peters-6/+6
2003-01-30Change the approach to pickling to use __reduce__ everywhere. MostGuido van Rossum-238/+217
2003-01-24date and datetime comparison: when we don't know how toTim Peters-1/+13
2003-01-24Updated the astimezone() proof to recover from all the last week'sTim Peters-75/+92
2003-01-23Fix typoNeal Norwitz-1/+1
2003-01-23SF bug 660872: datetimetz constructors behave counterintuitively (2.3a1).Tim Peters-12/+20
2003-01-23Reimplemented datetime.now() to be useful.Tim Peters-7/+17
2003-01-23fromutc(): Repair incorrect failure return, as noted by NealN. Thanks!Tim Peters-1/+1
2003-01-23Bringing the code and test suite into line with doc and NEWS changesTim Peters-91/+126
2003-01-20New rule for tzinfo subclasses handling both standard and daylight time:Tim Peters-21/+3
2003-01-11Got rid of the internal datetimetz type.Tim Peters-1004/+635
2003-01-11Minor fiddling to make the next part easier. Introduced an internalTim Peters-17/+20
2003-01-10Get rid of compiler warningsNeal Norwitz-2/+2
2003-01-10Got rid of the timetz type entirely. This was a bit trickier than ITim Peters-475/+335
2003-01-10Removed more now-pointless pickle code.Tim Peters-93/+34
2003-01-08Deleted pickle/unpickle code for the old datetime and time classes -- it'sTim Peters-160/+0
2003-01-08Utterly minimal changes to collapse datetimetz into datetime, and timetzTim Peters-17/+10
2003-01-08Added a couple of casts to make this compile with CodeWarrior.Jack Jansen-3/+3
2003-01-04datetime_from_timet_and_us(): ignore leap seconds if the platformTim Peters-1/+10