Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
955b6760cfa73c54bae9b6f2b335eb0cd806c7b0
/
Lib
/
_strptime.py
955b676
[2.7] bpo-30363: Backport warnings in the re module. (#1577)
by Serhiy Storchaka
· 7 years ago
5c2cb82
Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by
by Serhiy Storchaka
· 8 years ago
ab68fca
Issue #6478: _strptime's regexp cache now is reset after changing timezone
by Serhiy Storchaka
· 9 years ago
d54c2e3
Issue #23136: _strptime now uniformly handles all days in week 0, including
by Serhiy Storchaka
· 9 years ago
f5469cf
#18705: fix a number of typos. Patch by Févry Thibault.
by Ezio Melotti
· 11 years ago
b90252e
Followup to issue #14157: respect the relative ordering of values produced by time.strptime().
by Antoine Pitrou
· 12 years ago
c2b714c
Issue #14157: Fix time.strptime failing without a year on February 29th.
by Antoine Pitrou
· 12 years ago
fc070d2
add %f format to datetime - issue 1158
by Skip Montanaro
· 16 years ago
f7188ce
Make _strptime.TimeRE().pattern() use ``\s+`` for matching whitespace instead
by Brett Cannon
· 17 years ago
c690665
time.strptime's caching of its locale object was being recreated when the
by Brett Cannon
· 17 years ago
af3d627
Use the thread lock's context manager instead of a try/finally statement.
by Brett Cannon
· 18 years ago
9875ba4
Remove specific mention of my name and email address from modules. Not really
by Brett Cannon
· 18 years ago
07e1db3
Fix time.strptime's %U support. Basically rewrote the algorithm to be more
by Brett Cannon
· 18 years ago
11b3535
Make the error message for when the time data and format do not match clearer.
by Brett Cannon
· 18 years ago
5d0bf94
Change time.strptime() to raise ValueError whenever there is an error in the
by Brett Cannon
· 19 years ago
a783d06
Clear out the regex cache when the TimeRE cache is invalidated by a locale
by Brett Cannon
· 19 years ago
f1b2ba6
Fix logic error introduced in last commit. Also add a comment to explain what
by Brett Cannon
· 19 years ago
6e372d1
fix bug where str.find() was being misused where __contains__ should have been
by Brett Cannon
· 19 years ago
14adbe7
Fix bug of implementation of algorithm for calculating the date from year, week
by Brett Cannon
· 20 years ago
8dc25ad
Fix comments.
by Brett Cannon
· 20 years ago
8abcc5d
Add support for %U and %W to contribute to calculating the date when the year
by Brett Cannon
· 20 years ago
ffa5cf9
Fix bug introduced by the previous patch by changing TimeRE.__seqToRe() to
by Brett Cannon
· 20 years ago
f7948c2
Convert a listcomp to a gencomp (was already editing code).
by Brett Cannon
· 20 years ago
4f35c71
Locale data that contains regex metacharacters are now properly escaped.
by Brett Cannon
· 20 years ago
bac788a
Replace str.find()!=1 with the more readable "in" operator.
by Raymond Hettinger
· 20 years ago
8172ac3
Deal with possible case of having time.tzname[1] containing UTC or GMT.
by Brett Cannon
· 20 years ago
58eb11c
Whitespace normalization.
by Tim Peters
· 21 years ago
a690a99
* Migrate set() and frozenset() from the sandbox.
by Raymond Hettinger
· 21 years ago
6b59f5f
Let library modules use the new keyword arguments for list.sort().
by Raymond Hettinger
· 21 years ago
953c6f5
Make sure parentheses are escaped when used in the format string.
by Brett Cannon
· 21 years ago
5187a3b
Fix handling of bad locale setup where time.tzname[0] == time.tzname[1] and
by Brett Cannon
· 21 years ago
f5c96fb
Fix docstring in LocaleTime.
by Brett Cannon
· 21 years ago
474335c
Re-introduce caching of TimeRE and compiled regexes with added thread-safety.
by Brett Cannon
· 21 years ago
2c24d42
Fixes bug of having default argument for TimeRE's __init__ that caused the
by Brett Cannon
· 21 years ago
175ddb5
Remove caching of TimeRE (and thus LocaleTime) instance. Error was being
by Brett Cannon
· 21 years ago
4a6302b
SF 748201: time.strptime() should display format and date on error
by Raymond Hettinger
· 21 years ago
cde2200
Fixes bug of timezone value being left as -1 when ``time.tzname[0] ==
by Brett Cannon
· 21 years ago
77290f2
use == like all the other conditionals
by Neal Norwitz
· 21 years ago
abe8eb0
Call time.tzset (if available) just before calculating possible timezones from time.tzname.
by Brett Cannon
· 21 years ago
172d9ef
Beefed up timezone support. UTC and GMT are now always recognized timezones
by Brett Cannon
· 21 years ago
2b6dfec
Raise a ValueError when there is data that was not covered in the format string. Done to match behavior of pre-existing C-based strptime implementations.
by Brett Cannon
· 21 years ago
0eadaac
Whitespace normalization.
by Tim Peters
· 21 years ago
1e91d8e
Make _strptime escape regex syntax in format string to prevent use in internal regex.
by Brett Cannon
· 21 years ago
1fdb633
SF patch #691928: Use datetime in _strptime Contributed by Brett Cannon.
by Raymond Hettinger
· 21 years ago
2c60f7a
Whitespace normalization.
by Tim Peters
· 22 years ago
80cebc1
SF patch 670194: Performance enhancement for _strptime.py.
by Tim Peters
· 22 years ago
08e5427
SF patch 670012: Compatibility changes for _strptime.py.
by Tim Peters
· 22 years ago
62fe755
Checking in Brett Cannon's patch #662053, which fixes bug #661354.
by Jack Jansen
· 22 years ago
5efc50d
Fix SF #658820, regex fixes for _strptime (Brett Cannon)
by Neal Norwitz
· 22 years ago
490602d
Fix julian day problem with strptime. Note: XXX about using 0, suggestions?
by Neal Norwitz
· 22 years ago
e16e01f
Patch #639112: fixes for None locale and tz.
by Martin v. Löwis
· 22 years ago
4d895fa
Brett's fixes for various bugs and coding issues. Closes SF patch #
by Barry Warsaw
· 22 years ago
35816e6
Many hopefully benign style clean ups. Still passes the test suite of course.
by Barry Warsaw
· 22 years ago
2bdb614
strptime(): The code that was adding 12 to PM hours was incorrect
by Barry Warsaw
· 22 years ago
469cdad
Whitespace normalization.
by Tim Peters
· 22 years ago
00efe7e
Pure Python strptime implementation by Brett Cannon. See SF patch 474274.
by Guido van Rossum
· 22 years ago