summaryrefslogtreecommitdiffstats
path: root/Modules/datetimemodule.c
Commit message (Expand)AuthorAgeFilesLines
* SF bug 847019 datetime.datetime initialization needs more strict checkingTim Peters2004-03-211-2/+10
* Have strftime() check its time tuple argument to make sure the tuple's valuesBrett Cannon2004-03-021-2/+2
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-201-2/+2
* Simplify and speedup uses of Py_BuildValue():Raymond Hettinger2003-10-121-4/+4
* SF bug #761337: datetime.strftime fails on trivial format stringRaymond Hettinger2003-06-271-1/+1
* Added more words about the abuse of the tp_alloc nitems argumentTim Peters2003-05-181-1/+12
* datetime.timedelta is now subclassable in Python. The new test showsTim Peters2003-05-171-165/+170
* datetime.datetime and datetime.time can now be subclassed in Python. Brr.Tim Peters2003-05-171-30/+46
* Turns out there wasn't a need to define tp_free for any of the types here.Tim Peters2003-05-161-4/+4
* Stopped using the old macro form of _PyObject_Del.Tim Peters2003-05-161-4/+4
* SF patch 731504: Typo in datetimemodule.c comment.Tim Peters2003-05-021-1/+1
* The date class is now properly subclassable. (SF bug #720908)Guido van Rossum2003-04-141-5/+8
* timedelta comparison and datetime addition: as the Python implementationTim Peters2003-02-081-4/+4
* Comparison for timedelta, time, date and datetime objects: __eq__ andTim Peters2003-02-071-38/+52
* Whitespace normalizationNeal Norwitz2003-02-041-1/+1
* New functions alloc_{time,datetime}. Got rid of all setstate-likeTim Peters2003-02-011-168/+123
* There's no good reason for datetime objects to expose __getstate__()Tim Peters2003-02-011-52/+4
* Removed all uses of the out-of-favor __safe_for_unpickling__ magicTim Peters2003-02-011-27/+0
* All over: changed comments to reflect pickling is straightforward now,Tim Peters2003-02-011-7/+5
* delta_setstate(): This waS no longer referenced, so nukeit.Tim Peters2003-02-011-38/+2
* The various datetime object __setstate__() methods are no longer publicTim Peters2003-01-311-116/+105
* Backward branches are disgusting, at least when a forward branchTim Peters2003-01-311-6/+6
* Change the approach to pickling to use __reduce__ everywhere. MostGuido van Rossum2003-01-301-242/+221
* date and datetime comparison: when we don't know how toTim Peters2003-01-241-1/+13
* Updated the astimezone() proof to recover from all the last week'sTim Peters2003-01-241-77/+94
* Fix typoNeal Norwitz2003-01-231-1/+1
* SF bug 660872: datetimetz constructors behave counterintuitively (2.3a1).Tim Peters2003-01-231-12/+20
* Reimplemented datetime.now() to be useful.Tim Peters2003-01-231-7/+17
* fromutc(): Repair incorrect failure return, as noted by NealN. Thanks!Tim Peters2003-01-231-1/+1
* Bringing the code and test suite into line with doc and NEWS changesTim Peters2003-01-231-92/+127
* New rule for tzinfo subclasses handling both standard and daylight time:Tim Peters2003-01-201-21/+3
* Got rid of the internal datetimetz type.Tim Peters2003-01-111-1004/+635
* Minor fiddling to make the next part easier. Introduced an internalTim Peters2003-01-111-17/+20
* Get rid of compiler warningsNeal Norwitz2003-01-101-2/+2
* Got rid of the timetz type entirely. This was a bit trickier than ITim Peters2003-01-101-476/+336
* Removed more now-pointless pickle code.Tim Peters2003-01-101-93/+34
* Deleted pickle/unpickle code for the old datetime and time classes -- it'sTim Peters2003-01-081-160/+0
* Utterly minimal changes to collapse datetimetz into datetime, and timetzTim Peters2003-01-081-17/+10
* Added a couple of casts to make this compile with CodeWarrior.Jack Jansen2003-01-081-3/+3
* datetime_from_timet_and_us(): ignore leap seconds if the platformTim Peters2003-01-041-1/+10
* A new implementation of astimezone() that does what we agreed on in allTim Peters2003-01-041-41/+35
* Fix compiler warningNeal Norwitz2003-01-041-1/+1
* Completed astimezone()'s correctness proof. This also proves we can getTim Peters2003-01-041-4/+53
* The tzinfo methods utcoffset() and dst() must return a timedelta objectTim Peters2003-01-021-22/+14
* astimezone() internals: if utcoffset() returns a duration, complain ifTim Peters2003-01-021-1/+5
* The astimezone() correctness proof endured much pain to prove whatTim Peters2003-01-021-70/+43
* SF bug 661086: datetime.today() truncates microseconds.Tim Peters2003-01-021-7/+16
* Completed astimezone's correctness proof. That doesn't mean it'sTim Peters2003-01-021-4/+51
* A quicker astimezone() implementation, rehabilitating an earlierTim Peters2003-01-011-65/+151
* datetimetz_astimezone(): Speed optimizations -- although I'd ratherTim Peters2003-01-011-32/+38