summaryrefslogtreecommitdiff
path: root/Modules/datetimemodule.c
AgeCommit message (Expand)AuthorLines
2010-05-27Merged revisions 81566 via svnmerge fromAlexander Belopolsky-13/+16
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-3155/+3155
2009-12-29Merged revisions 77122 via svnmerge fromAmaury Forgeot d'Arc-9/+14
2008-06-11Merge in release25-maint r60793:Gregory P. Smith-0/+7
2008-06-10More reverting of r63675 per the mailing list discussions. This restoresGregory P. Smith-2/+2
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-56/+56
2008-06-02Fix issue 2782: be less strict about the format string type in strftime.Gregory P. Smith-21/+25
2008-05-26Renamed PyString to PyBytesChristian Heimes-63/+63
2008-03-17Use a buffer large enough to ensure we don't overrun, even if the valueNeal Norwitz-1/+1
2008-03-15add %f format to datetime - issue 1158Skip Montanaro-24/+78
2008-02-17Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith-0/+32
2008-01-03Modified PyImport_Import and PyImport_ImportModule to always use absolute imp...Christian Heimes-4/+4
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-22/+22
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-26/+24
2007-05-22Stop using METH_OLDARGS implicitlyNeal Norwitz-9/+9
2007-04-30Complete revamp of PCBuild8 directory. Use subdirectories for each project u...Kristján Valur Jónsson-0/+2
2007-03-06Patch #1646728: datetime.fromtimestamp fails with negativeGuido van Rossum-0/+6
2007-02-08Bug #1653736: Complain about keyword arguments to time.isoformat.Martin v. Löwis-2/+2
2006-09-30Bug #1556784: allow format strings longer than 127 characters inGeorg Brandl-2/+2
2006-04-28Bug #1478429: make datetime.datetime.fromtimestamp accept every float,Georg Brandl-0/+7
2006-04-18C++ compiler cleanup: "typename" is a C++ keywordSkip Montanaro-11/+11
2006-04-14Coverity-found bug: datetime_strptime() failed to check for NULL return fromThomas Wouters-0/+4
2006-03-20Fix problem spotted by Coverity that occurs if tzinfo.tzname().replace()Neal Norwitz-4/+9
2006-02-27More unconsting.Martin v. Löwis-11/+11
2006-02-19Remove two instances of trailing commas. Resolves patch #1209781.Georg Brandl-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-2/+2
2006-01-19Check return result from Py_InitModule*(). This API can fail.Neal Norwitz-0/+2
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-16/+16
2005-11-07similar to SF bug 847019: a quick check in the time() constructor, whichArmin Rigo-1/+2
2005-01-13Add strptime() constructor to datetime class. Thanks to Josh Spoerri forSkip Montanaro-0/+45
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