Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
9fe394c1be9401c2b207b943f82e30af4ee32ab6
/
Lib
/
test
/
test_strptime.py
9fe394c
Merged revisions 53538-53622 via svnmerge from
by Thomas Wouters
· 18 years ago
b940e11
SF patch 1631942 by Collin Winter:
by Guido van Rossum
· 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
14adbe7
Fix bug of implementation of algorithm for calculating the date from year, week
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
4f35c71
Locale data that contains regex metacharacters are now properly escaped.
by Brett Cannon
· 20 years ago
80e1f06
It helps when doing checks if something is in a tuple of strings that if you
by Brett Cannon
· 20 years ago
fdf7449
Fix test case for when time.tzname[0] is either UTC or GMT. Also have test
by Brett Cannon
· 20 years ago
a690a99
* Migrate set() and frozenset() from the sandbox.
by Raymond Hettinger
· 21 years ago
953c6f5
Make sure parentheses are escaped when used in the format string.
by Brett Cannon
· 21 years ago
c83124a
Fix bug in test_bad_timezone where test was assuming locale knew of PDT.
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
474335c
Re-introduce caching of TimeRE and compiled regexes with added thread-safety.
by Brett Cannon
· 21 years ago
175ddb5
Remove caching of TimeRE (and thus LocaleTime) instance. Error was being
by Brett Cannon
· 21 years ago
d1deac0
Fix error in test of not comparing against 0 item of a list
by Brett Cannon
· 21 years ago
cde2200
Fixes bug of timezone value being left as -1 when ``time.tzname[0] ==
by Brett Cannon
· 21 years ago
3106817
Fix typo in error message
by Neal Norwitz
· 21 years ago
b4e9986
Removed invalid test. Analysis by Bob Halley:
by Raymond Hettinger
· 21 years ago
172d9ef
Beefed up timezone support. UTC and GMT are now always recognized timezones
by Brett Cannon
· 21 years ago
21d3a32
Combine the functionality of test_support.run_unittest()
by Walter Dörwald
· 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
· 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
08e5427
SF patch 670012: Compatibility changes for _strptime.py.
by Tim Peters
· 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
472c522
Delete the %c test from test_date_time() untill Brett Cannon has time
by Guido van Rossum
· 22 years ago
375e0ee
The test I saw failing this morning just happened to be run at 8am
by Barry Warsaw
· 22 years ago
a5ce2e8
Standardize behavior: no docstrings in test functions; add a proper
by Guido van Rossum
· 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