summaryrefslogtreecommitdiff
path: root/Modules/datetimemodule.c
AgeCommit message (Expand)AuthorLines
2018-11-20[2.7] bpo-35021: Fix assertion failures in _datetimemodule.c. (GH-10039) (GH-...Serhiy Storchaka-46/+50
2018-07-31[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)Serhiy Storchaka-10/+10
2017-10-23[2.7] bpo-31752: Fix possible crash in timedelta constructor called with cust...Serhiy Storchaka-2/+7
2017-09-13consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson-6/+3
2016-06-21Issue #22463: Backport compiler warning fixes and workaroundsMartin Panter-2/+2
2016-05-26Issue #27076: Doc, comment and test function name spelling fixesMartin Panter-1/+1
2011-04-05Issue #11576: Fixed timedelta subtraction glitch on big timedelta valuesAlexander Belopolsky-7/+8
2010-07-03Revert r81681 (issue 8810).Alexander Belopolsky-2/+1
2010-06-04Issue8810: Clearing up docstring for tzinfo.utcoffset.Sean Reifscheider-1/+2
2010-05-27Issue #7150: Raise OverflowError if the result of adding or subtractingAlexander Belopolsky-13/+16
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-3171/+3171
2010-05-09Issue #8644: Improve accuracy of timedelta.total_seconds method.Mark Dickinson-3/+19
2010-05-04Prevent a possible NULL de-reference and an unneeded variable assignment.Brett Cannon-2/+2
2010-03-25Fix a gcc warning introduced by r79397.Victor Stinner-1/+1
2010-03-25Backported PyCapsule from 3.1, and converted most uses ofLarry Hastings-5/+4
2009-12-29#7413: Passing '\0' as the separator to datetime.datetime.isoformat()Amaury Forgeot d'Arc-9/+14
2009-11-25Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method ...Antoine Pitrou-1/+12
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