5c2cb824f4e9ec02af2424af09c9f692f548aed5 |
|
12-Mar-2016 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence Gedai.
/external/python/cpython2/Lib/_strptime.py
|
ab68fcaee3c39ad21cf3a62f6d299e79a2c1fd56 |
|
03-Dec-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #6478: _strptime's regexp cache now is reset after changing timezone with time.tzset().
/external/python/cpython2/Lib/_strptime.py
|
d54c2e3f133a772dc71cc776a476face4c90389a |
|
19-Mar-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #23136: _strptime now uniformly handles all days in week 0, including Jan 30 of previous year. Based on patch by Jim Carroll.
/external/python/cpython2/Lib/_strptime.py
|
f5469cff1f90381819291bcddcc70f5aaf2da141 |
|
17-Aug-2013 |
Ezio Melotti <ezio.melotti@gmail.com> |
#18705: fix a number of typos. Patch by Févry Thibault.
/external/python/cpython2/Lib/_strptime.py
|
b90252ed17bc16880cee36d55e362b8da716d3cd |
|
14-May-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Followup to issue #14157: respect the relative ordering of values produced by time.strptime(). Patch by Hynek.
/external/python/cpython2/Lib/_strptime.py
|
c2b714ce216bb0c844e3d4c3440937b82a924e3d |
|
10-May-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #14157: Fix time.strptime failing without a year on February 29th. Patch by Hynek Schlawack.
/external/python/cpython2/Lib/_strptime.py
|
fc070d27316ebb0ed877fade811130ac566bbc14 |
|
15-Mar-2008 |
Skip Montanaro <skip@pobox.com> |
add %f format to datetime - issue 1158
/external/python/cpython2/Lib/_strptime.py
|
f7188cefb31371394201ec7f1fd321936f5b37a1 |
|
04-Jun-2007 |
Brett Cannon <bcannon@gmail.com> |
Make _strptime.TimeRE().pattern() use ``\s+`` for matching whitespace instead of ``\s*``. This prevents patterns from "stealing" bits from other patterns in order to make a match work. Closes bug #1730389. Will be backported.
/external/python/cpython2/Lib/_strptime.py
|
c69066501bc2da4aa325833c76e6cf12b87aafa6 |
|
01-Apr-2007 |
Brett Cannon <bcannon@gmail.com> |
time.strptime's caching of its locale object was being recreated when the locale changed but not used during the function call it was recreated during. The test in this checkin is untested (OS X does not have the proper locale support for me to test), although the fix for the bug this deals with was tested by the OP (#1290505). Once the buildbots verify the test at least doesn't fail it becomes a backport candidate.
/external/python/cpython2/Lib/_strptime.py
|
af3d627022dcd0948610228b231106a198ed7bd8 |
|
28-Jan-2007 |
Brett Cannon <bcannon@gmail.com> |
Use the thread lock's context manager instead of a try/finally statement.
/external/python/cpython2/Lib/_strptime.py
|
9875ba4d4e96e28c1b1a400d4f67dfc658ab189a |
|
26-Jan-2007 |
Brett Cannon <bcannon@gmail.com> |
Remove specific mention of my name and email address from modules. Not really needed and all bug reports should go to the bug tracker, not directly to me. Plus I am not the only person to have edited these files at this point.
/external/python/cpython2/Lib/_strptime.py
|
07e1db317db4605acd5295f02dcfa4943d4a7054 |
|
25-Jan-2007 |
Brett Cannon <bcannon@gmail.com> |
Fix time.strptime's %U support. Basically rewrote the algorithm to be more generic so that one only has to shift certain values based on whether the week was specified to start on Monday or Sunday. Cut out a lot of edge case code compared to the previous version. Also broke algorithm out into its own function (that is private to the module). Fixes bug #1643943 (thanks Biran Nahas for the report).
/external/python/cpython2/Lib/_strptime.py
|
11b3535280acccca9a242d3275532cda45eb5ba4 |
|
27-Sep-2006 |
Brett Cannon <bcannon@gmail.com> |
Make the error message for when the time data and format do not match clearer.
/external/python/cpython2/Lib/_strptime.py
|
5d0bf9446b1684b8d2832600ceb49d8c5c4b812d |
|
03-Nov-2005 |
Brett Cannon <bcannon@gmail.com> |
Change time.strptime() to raise ValueError whenever there is an error in the format string. Before exceptions generated by the internal code propagated up to the user and were not helpful. Closes bug #1340337.
/external/python/cpython2/Lib/_strptime.py
|
a783d06f8cb4077dd34567fde418bf6c23073912 |
|
15-Sep-2005 |
Brett Cannon <bcannon@gmail.com> |
Clear out the regex cache when the TimeRE cache is invalidated by a locale change. Fixes bug #1290505.
/external/python/cpython2/Lib/_strptime.py
|
f1b2ba6aa1751c5325e8fb87a28e54a857796bfa |
|
29-Aug-2005 |
Brett Cannon <bcannon@gmail.com> |
Fix logic error introduced in last commit. Also add a comment to explain what the code is doing.
/external/python/cpython2/Lib/_strptime.py
|
6e372d1422dfaf5b1cd2ab2f48a42ee609cc119c |
|
27-Aug-2005 |
Brett Cannon <bcannon@gmail.com> |
fix bug where str.find() was being misused where __contains__ should have been used.
/external/python/cpython2/Lib/_strptime.py
|
14adbe77b5e9c68fb525d25961c86b5b0dbb1945 |
|
28-Oct-2004 |
Brett Cannon <bcannon@gmail.com> |
Fix bug of implementation of algorithm for calculating the date from year, week of the year, and day of the week. Was not taking into consideration properly the issue of when %U is used for the week of the year but the year starts on Monday. Closes bug #1045381 again.
/external/python/cpython2/Lib/_strptime.py
|
8dc25ad6f2e2280249341c2f4e015455269d10c9 |
|
18-Oct-2004 |
Brett Cannon <bcannon@gmail.com> |
Fix comments.
/external/python/cpython2/Lib/_strptime.py
|
8abcc5d5339d8d8e056138d1217fa07fdcc342c9 |
|
18-Oct-2004 |
Brett Cannon <bcannon@gmail.com> |
Add support for %U and %W to contribute to calculating the date when the year and day of the week are specified. Closes bug #1045381.
/external/python/cpython2/Lib/_strptime.py
|
ffa5cf9eae5fff1e46e8962cd957fd2ffe5a77cb |
|
07-Oct-2004 |
Brett Cannon <bcannon@gmail.com> |
Fix bug introduced by the previous patch by changing TimeRE.__seqToRe() to accept any iterable instead of only a sliceable object.
/external/python/cpython2/Lib/_strptime.py
|
f7948c25a2888e1d09eecc383305b4cbe2f43f58 |
|
06-Oct-2004 |
Brett Cannon <bcannon@gmail.com> |
Convert a listcomp to a gencomp (was already editing code).
/external/python/cpython2/Lib/_strptime.py
|
4f35c71543f5dc0023590676c21b18b1a3a5986f |
|
06-Oct-2004 |
Brett Cannon <bcannon@gmail.com> |
Locale data that contains regex metacharacters are now properly escaped. Closes bug #1039270.
/external/python/cpython2/Lib/_strptime.py
|
bac788a3cd348203a5fdabba52e5faf65bf35c5e |
|
04-May-2004 |
Raymond Hettinger <python@rcn.com> |
Replace str.find()!=1 with the more readable "in" operator.
/external/python/cpython2/Lib/_strptime.py
|
8172ac3d15a78d0a7a716465b5ce6d9f63434a08 |
|
08-Mar-2004 |
Brett Cannon <bcannon@gmail.com> |
Deal with possible case of having time.tzname[1] containing UTC or GMT. Since it is known ahead of time that UTC and GMT always have no DST adjustment then just set the isdst value to 0 even if tzname[0] == tzname[1] . Fixes bug #897817 .
/external/python/cpython2/Lib/_strptime.py
|
58eb11cf62dd04ccc2c364b62fd51b4265e2e203 |
|
18-Jan-2004 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/_strptime.py
|
a690a9967e715663b7a421c9ebdad91381cdf1e4 |
|
16-Nov-2003 |
Raymond Hettinger <python@rcn.com> |
* Migrate set() and frozenset() from the sandbox. * Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming.
/external/python/cpython2/Lib/_strptime.py
|
6b59f5f3fd9bdf00875a7cead15f423fa1c2f910 |
|
16-Oct-2003 |
Raymond Hettinger <python@rcn.com> |
Let library modules use the new keyword arguments for list.sort().
/external/python/cpython2/Lib/_strptime.py
|
953c6f508b43bd7d4532aeb4644829122f80ae2a |
|
29-Aug-2003 |
Brett Cannon <bcannon@gmail.com> |
Make sure parentheses are escaped when used in the format string. Closes bug #796149 . Will be backported.
/external/python/cpython2/Lib/_strptime.py
|
5187a3bcdb565c30fc998078a3fcc3293f963ffd |
|
11-Aug-2003 |
Brett Cannon <bcannon@gmail.com> |
Fix handling of bad locale setup where time.tzname[0] == time.tzname[1] and time.daylight is true. Add an explicit test for this situation. Fixed some wording in docstrings.
/external/python/cpython2/Lib/_strptime.py
|
f5c96fb74d86e844af564acdc54ce3f1e70df56c |
|
08-Aug-2003 |
Brett Cannon <bcannon@gmail.com> |
Fix docstring in LocaleTime.
/external/python/cpython2/Lib/_strptime.py
|
474335ce17c120eb74a17c5c4fd138694c535f77 |
|
05-Aug-2003 |
Brett Cannon <bcannon@gmail.com> |
Re-introduce caching of TimeRE and compiled regexes with added thread-safety. Also remove now unnecessary property attributes for thread safety (no longer have lazy attributes) and code simplicity reasons. Timezone storage has been reworked to be simpler and more flexible. All values in LocaleTime instances are lower-cased. This is all done to simplify the module. The module now assumes nothing beyond the strptime function will be exposed for general use beyond providing functionality for strptime.
/external/python/cpython2/Lib/_strptime.py
|
2c24d42d329ad48cc7c92bfed935c28e8fcdd188 |
|
24-Jul-2003 |
Brett Cannon <bcannon@gmail.com> |
Fixes bug of having default argument for TimeRE's __init__ that caused the LocaleTime instance to only be created once and thus not be recreated when the locale changed.
/external/python/cpython2/Lib/_strptime.py
|
175ddb5b30f742d47f5567cea106934cc125138d |
|
24-Jul-2003 |
Brett Cannon <bcannon@gmail.com> |
Remove caching of TimeRE (and thus LocaleTime) instance. Error was being caught when executing test_strptime, test_logging, and test_time in that order when the testing of "%c" occured. Suspect the cache was not being recreated (the test passed when test_logging was forced to re-establish the locale).
/external/python/cpython2/Lib/_strptime.py
|
4a6302b6fe1a0acb85267677a9be2ee925cf8248 |
|
13-Jul-2003 |
Raymond Hettinger <python@rcn.com> |
SF 748201: time.strptime() should display format and date on error Usability fix. Makes the error message more helpful.
/external/python/cpython2/Lib/_strptime.py
|
cde2200ff28a0a54a1dc62e6a63ca3936fee5177 |
|
03-Jul-2003 |
Brett Cannon <bcannon@gmail.com> |
Fixes bug of timezone value being left as -1 when ``time.tzname[0] == time.tzname[1] and not time.daylight`` is true when it should only when time.daylight is true. Tests are also fixed. Closes bug #763047 and its cohort #763052.
/external/python/cpython2/Lib/_strptime.py
|
77290f25f3ae79608ad39bb32fdacaa3dac15b7c |
|
29-Jun-2003 |
Neal Norwitz <nnorwitz@gmail.com> |
use == like all the other conditionals
/external/python/cpython2/Lib/_strptime.py
|
abe8eb0a3044fd1a23a2a46cc4bb61e4e022b7c0 |
|
13-May-2003 |
Brett Cannon <bcannon@gmail.com> |
Call time.tzset (if available) just before calculating possible timezones from time.tzname.
/external/python/cpython2/Lib/_strptime.py
|
172d9ef47eafe6982c2c885353af761256e7b409 |
|
11-May-2003 |
Brett Cannon <bcannon@gmail.com> |
Beefed up timezone support. UTC and GMT are now always recognized timezones with values of 0. Also now check time.daylight to see if time.tzname[1] should be used in timezone checking.
/external/python/cpython2/Lib/_strptime.py
|
2b6dfec1cccee1d9aa91d986cebcaa5d651438c7 |
|
28-Apr-2003 |
Brett Cannon <bcannon@gmail.com> |
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.
/external/python/cpython2/Lib/_strptime.py
|
0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a |
|
24-Apr-2003 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/_strptime.py
|
1e91d8eb030656386ef3a07e8a516683bea85610 |
|
19-Apr-2003 |
Brett Cannon <bcannon@gmail.com> |
Make _strptime escape regex syntax in format string to prevent use in internal regex.
/external/python/cpython2/Lib/_strptime.py
|
1fdb6335304551b79838523811525d3c59d901ae |
|
09-Mar-2003 |
Raymond Hettinger <python@rcn.com> |
SF patch #691928: Use datetime in _strptime Contributed by Brett Cannon. To prevent code duplication, I patched _strptime to use datetime's date object to do Julian day, Gregorian, and day of the week calculations. Patch also includes new regression tests to test results and the calculation gets triggered. Very minor comment changes and the contact email are also changed.
/external/python/cpython2/Lib/_strptime.py
|
2c60f7a13697bbc19c4d5ef0b052c34cf1848244 |
|
29-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/_strptime.py
|
80cebc16aa800ec5740e4b9c8b6508bae4cca434 |
|
19-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
SF patch 670194: Performance enhancement for _strptime.py. From Brett Cannon. Mostly speedups via caching format string -> compiled regexp.
/external/python/cpython2/Lib/_strptime.py
|
08e54270f2dae5014f04d627739f71ecce5ad19e |
|
18-Jan-2003 |
Tim Peters <tim.peters@gmail.com> |
SF patch 670012: Compatibility changes for _strptime.py. Patch from Brett Cannon: First, the 'y' directive now handles [00, 68] as a suffix for the 21st century while [69, 99] is treated as the suffix for the 20th century (this is for Open Group compatibility). strptime now returns default values that make it a valid date ... the ability to pass in a regex object to use instead of a format string (and the inverse ability to have strptime return a regex object) has been removed. This is in preparation for a future patch that will add some caching internally to get a speed boost.
/external/python/cpython2/Lib/_strptime.py
|
62fe75509c905bee1181fed9b6714e0de27ff5d4 |
|
15-Jan-2003 |
Jack Jansen <jack.jansen@cwi.nl> |
Checking in Brett Cannon's patch #662053, which fixes bug #661354. _strptime can now handle getting two empty strings as the timezone information.
/external/python/cpython2/Lib/_strptime.py
|
5efc50d8afd31dc4cb0ef1b58899943eb0e4cb67 |
|
30-Dec-2002 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix SF #658820, regex fixes for _strptime (Brett Cannon) Disallow zero for days and months
/external/python/cpython2/Lib/_strptime.py
|
490602d6294052bf3308d9970f74e529d7e6da2b |
|
26-Dec-2002 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix julian day problem with strptime. Note: XXX about using 0, suggestions?
/external/python/cpython2/Lib/_strptime.py
|
e16e01fac6685e83a0121d1c6feca984fef8b946 |
|
27-Nov-2002 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #639112: fixes for None locale and tz.
/external/python/cpython2/Lib/_strptime.py
|
4d895fa1258205e01073f0f9c2aba9a57843ae21 |
|
24-Sep-2002 |
Barry Warsaw <barry@python.org> |
Brett's fixes for various bugs and coding issues. Closes SF patch # 593560, with some minor cleanups, line folding and whitespace normalization by Barry.
/external/python/cpython2/Lib/_strptime.py
|
35816e674508e9895679ef89c57af0504e4e4ce6 |
|
29-Aug-2002 |
Barry Warsaw <barry@python.org> |
Many hopefully benign style clean ups. Still passes the test suite of course.
/external/python/cpython2/Lib/_strptime.py
|
2bdb61479d235339dc92505d5eccaa6accf4d94c |
|
29-Aug-2002 |
Barry Warsaw <barry@python.org> |
strptime(): The code that was adding 12 to PM hours was incorrect because it added it to 12 PM too. 12 PM should be hour 12 not hour 24. Also cleaned up a minor style nit. There are more style problems in this file that I'll clean up next (but I didn't want them to overwhelm the substance of this fix).
/external/python/cpython2/Lib/_strptime.py
|
469cdad8228df7bc294dc946b8cd4c0b7f810735 |
|
08-Aug-2002 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/_strptime.py
|
00efe7e7989b1a28e09ca2158f214494d2064c19 |
|
19-Jul-2002 |
Guido van Rossum <guido@python.org> |
Pure Python strptime implementation by Brett Cannon. See SF patch 474274. Also adds tests.
/external/python/cpython2/Lib/_strptime.py
|