Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
1a26920506a033c2abac751f376f4097aecca79e
/
Lib
/
_strptime.py
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
· 21 years ago
8172ac3
Deal with possible case of having time.tzname[1] containing UTC or GMT.
by Brett Cannon
· 21 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
· 22 years ago
cde2200
Fixes bug of timezone value being left as -1 when ``time.tzname[0] ==
by Brett Cannon
· 22 years ago
77290f2
use == like all the other conditionals
by Neal Norwitz
· 22 years ago
abe8eb0
Call time.tzset (if available) just before calculating possible timezones from time.tzname.
by Brett Cannon
· 22 years ago
172d9ef
Beefed up timezone support. UTC and GMT are now always recognized timezones
by Brett Cannon
· 22 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
· 22 years ago
0eadaac
Whitespace normalization.
by Tim Peters
· 22 years ago
1e91d8e
Make _strptime escape regex syntax in format string to prevent use in internal regex.
by Brett Cannon
· 22 years ago
1fdb633
SF patch #691928: Use datetime in _strptime Contributed by Brett Cannon.
by Raymond Hettinger
· 22 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