summaryrefslogtreecommitdiff
path: root/Lib/_strptime.py
AgeCommit message (Expand)AuthorLines
2013-11-24Issue #19545: Avoid chained exceptions while passing stray % toSerhiy Storchaka-1/+1
2013-08-17#18705: fix a number of typos. Patch by Févry Thibault.Ezio Melotti-1/+1
2013-04-04#17572: Avoid chained exceptions while passing bad directives to time.strptim...Ezio Melotti-1/+1
2012-06-13Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fieldsAlexander Belopolsky-3/+3
2012-05-14Followup to issue #14157: respect the relative ordering of values produced by...Antoine Pitrou-0/+8
2012-05-10Issue #14157: Fix time.strptime failing without a year on February 29th.Antoine Pitrou-1/+5
2010-07-14PEP 8 conformance: class_ -> clsAlexander Belopolsky-3/+3
2010-06-18Issue #6641: Original commit for this issue, r82053, introduced aAlexander Belopolsky-5/+4
2010-06-17Issue #6641: The datetime.strptime method now supports the %z directive.Alexander Belopolsky-6/+45
2009-03-31The message for the exception when time.strptime was passed something otherBrett Cannon-1/+1
2009-03-30Make sure time.strptime only accepts strings (and document the fact likeBrett Cannon-1/+8
2008-08-19#2834: Change re module semantics, so that str and bytes mixing is forbidden,Antoine Pitrou-2/+2
2008-05-25Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.Georg Brandl-2/+2
2008-03-16Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,...Christian Heimes-6/+15
2007-06-13Merged revisions 55817-55961 via svnmerge fromGuido van Rossum-3/+3
2007-04-27Merged revisions 53952-54987 via svnmerge fromGuido van Rossum-5/+4
2007-02-11- PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;Guido van Rossum-1/+1
2007-02-05Merged revisions 53538-53622 via svnmerge fromThomas Wouters-38/+31
2007-01-10SF patch 1631942 by Collin Winter:Guido van Rossum-1/+1
2006-12-13Four months of trunk changes (including a few releases...)Thomas Wouters-1/+1
2005-11-02Change time.strptime() to raise ValueError whenever there is an error in theBrett Cannon-1/+14
2005-09-15Clear out the regex cache when the TimeRE cache is invalidated by a localeBrett Cannon-1/+2
2005-08-29Fix logic error introduced in last commit. Also add a comment to explain whatBrett Cannon-2/+5
2005-08-27fix bug where str.find() was being misused where __contains__ should have beenBrett Cannon-1/+1
2004-10-28Fix bug of implementation of algorithm for calculating the date from year, weekBrett Cannon-10/+12
2004-10-18Fix comments.Brett Cannon-2/+4
2004-10-18Add support for %U and %W to contribute to calculating the date when the yearBrett Cannon-1/+43
2004-10-06Fix bug introduced by the previous patch by changing TimeRE.__seqToRe() toBrett Cannon-2/+1
2004-10-06Convert a listcomp to a gencomp (was already editing code).Brett Cannon-2/+2
2004-10-06Locale data that contains regex metacharacters are now properly escaped.Brett Cannon-2/+4
2004-05-04Replace str.find()!=1 with the more readable "in" operator.Raymond Hettinger-1/+1
2004-03-07Deal with possible case of having time.tzname[1] containing UTC or GMT.Brett Cannon-2/+2
2004-01-18Whitespace normalization.Tim Peters-1/+1
2003-11-16* Migrate set() and frozenset() from the sandbox.Raymond Hettinger-4/+3
2003-10-16Let library modules use the new keyword arguments for list.sort().Raymond Hettinger-11/+9
2003-08-29Make sure parentheses are escaped when used in the format string.Brett Cannon-1/+1
2003-08-11Fix handling of bad locale setup where time.tzname[0] == time.tzname[1] andBrett Cannon-10/+19
2003-08-08Fix docstring in LocaleTime.Brett Cannon-2/+2
2003-08-05Re-introduce caching of TimeRE and compiled regexes with added thread-safety.Brett Cannon-275/+136
2003-07-24Fixes bug of having default argument for TimeRE's __init__ that caused theBrett Cannon-2/+5
2003-07-24Remove caching of TimeRE (and thus LocaleTime) instance. Error was beingBrett Cannon-41/+13
2003-07-13SF 748201: time.strptime() should display format and date on errorRaymond Hettinger-1/+2
2003-07-03Fixes bug of timezone value being left as -1 when ``time.tzname[0] ==Brett Cannon-4/+5
2003-06-29use == like all the other conditionalsNeal Norwitz-1/+1
2003-05-13Call time.tzset (if available) just before calculating possible timezones fro...Brett Cannon-0/+4
2003-05-11Beefed up timezone support. UTC and GMT are now always recognized timezonesBrett Cannon-7/+15
2003-04-28Raise a ValueError when there is data that was not covered in the format stri...Brett Cannon-0/+3
2003-04-24Whitespace normalization.Tim Peters-3/+2
2003-04-19Make _strptime escape regex syntax in format string to prevent use in interna...Brett Cannon-1/+10
2003-03-09SF patch #691928: Use datetime in _strptimeRaymond Hettinger-56/+18