index
:
delta/cpython-git.git
2.7
3.10
3.11
3.4
3.5
3.6
3.7
3.7-readme-update
3.8
3.9
Mariatta-patch-1
Mariatta-patch-2
alex-patch-1
ast-new-type-comment-null-check
backport-0613c1e-3.7
backport-10654c1-3.7
backport-109d966-3.9
backport-24bcefc-3.6
backport-24bcefc-3.7
backport-24bcefc-3.8
backport-24bd50b-2.7
backport-24bd50b-3.6
backport-283f9a2-3.6
backport-51c3e28-3.10
backport-51c3e28-3.8
backport-52d1b86-3.6
backport-52f9842-3.9
backport-5a88d50-3.8
backport-5a8d121-3.5
backport-5bdab64-3.7
backport-6ec0dec-3.9
backport-704e2d3-2.7
backport-731ff68-3.6
backport-73d6002-3.7
backport-74ae50e-2.7
backport-74ae50e-3.7
backport-76b5d71-3.9
backport-8acd0e0-3.9
backport-8ed6503-3.8
backport-916610e-3.6
backport-916610e-3.7
backport-95da310-3.8
backport-adf24bd-3.8
backport-adf24bd-3.9
backport-cd16661-2.7
backport-eeab510-2.7
backport-eeab510-3.6
backport-eeab510-3.7
backport-f7955a8-3.10
backport-f7955a8-3.9
backport-ff023ed-3.8
benjamin-eval-loop-edit
benjamin-expat-2.2.6
benjamin-external-zip
benjamin-interp-initialize
benjamin-keyword-restriction
benjamin-musl-z-workaround
benjamin-pickle-overflow
benjamin-prlimit-permission-test
benjamin-pyapi
benjamin-tanh-zero
benjamin-traceback-obo
berkerpeksag-update-codeowners
bind-socket
bpo-37741-importlib-metadata-docs-visible
bpo-39107
bpo-39235-genexp-endloc
bpo-41855-backport-fix
bpo-42057
bpo-43428/importlib-metadata-3.7
bpo-43569/man-as-machine
bpo-43780/importlib_metadata-3.10
bpo-43856/importlib-metadata-new
bpo-43926/importlib-metadata-4
bpo-45419
bpo-45514/deprecate-importlib-resources-legacy
bpo-45765/metadata-distribution-empty-path
bpo-46118/resources-package
bpo-46124/zoneinfo-resources
bpo-46125/importlib-resources-test-traversable
bpo-46126/bad-error-message
bpo-46425/restore-simple-importlib-tests
bpo-46474/entrypoint-regex
bpo-46474/entrypoint-regex-fix
branch-v3.10.0
branch-v3.9.0
bugfix/16396-linux-wintypes-importable
buildbot-custom
cjw296-patch-1
constant-kind
datetime_backport_test
dependabot/github_actions/actions/cache-2.1.7
dependabot/github_actions/actions/cache-v2.1.3
dependabot/github_actions/actions/cache-v2.1.4
dependabot/github_actions/actions/cache-v2.1.5
dependabot/github_actions/actions/upload-artifact-2.3.1
dependabot/github_actions/actions/upload-artifact-v2.2.1
dependabot/github_actions/actions/upload-artifact-v2.2.2
dependabot/github_actions/actions/upload-artifact-v2.2.3
descr-howto-feedback
enum-lost-fixes
enum-private-310
ethanfurman-acks
faster-bytes-iter
feature-version
feature/42129-resources-namespace-packages
feature/putrequest-hooks
fedora-2.7
find_module-deprecation-windows
fix-cf-feature-versiob
fix-cf-feature-version
fix-cf-feature-version-38
fix-cf-feature-version-39
fix-misc-acks
fix-misc-acks-38
fix-misc-acks-sort
fix-namedexpr-comment
fix-req-type
fix-segfaults
fix-time_ns-link
fix-tok-type-comments-flag
fix-traceback-syntax-error
fixup-bpo-34003
importlib_metadata-3.3
main
master
misc-acks-comment
mp-manager-tests
ncoghlan-bpo-33499-whats-new
ncoghlan-clarify-U-mode-deprecation
ncoghlan-fix-versionchanged-note
ncoghlan-whatsnew-38-placeholder-notes
orphaned-comment
pep572
pipelines-badge-3.6
pipelines-readme-3.7
pr_18370
pr_27789
pr_4170
print-statement
readme-update
refactor-lambda-parameters
revert-10245-msix
revert-10341-patch-7
revert-11293-bpo35565
revert-11318-fast-enum
revert-11341-bpo35603
revert-11477-backport-cbb1645-3.6
revert-11482-backport-cbb1645-2.7
revert-13569-undo-ea2b76bdc5f97f49701213d105b8ec2387ea2fa5
revert-13599-codeowner
revert-13893-fix-issue-37193
revert-14522-remove_unused_imports37
revert-15687-backport-87bd207-3.7
revert-15895-named_tuple_concept
revert-16839-backport-5a88d50-3.8
revert-17659-utf8-buffer
revert-17774-issue27973-win-fix
revert-19108-remove-cElementTree
revert-22049-bpo-1635741-signalmodule
revert-22513-update_test_codecs
revert-22997-tempfile-overhead
revert-23107-revert-13893-fix-issue-37193
revert-23398-bpo-1635741-struct
revert-23827-backport-dcc997c-3.9
revert-23828-backport-dcc997c-3.8
revert-23917-enum-prepare_kwds
revert-24821-fix/bigint_freelist
revert-25103-binary-locale
revert-25134-regen_stable_abi
revert-28650-revert-28615-test-datetime-discover
revert-28660-revert-gh28645
revert-29124-bpo-44019
revert-30472-issue-46301
revert-6121-is_integer
revert-7960-backport-2cc9d21-3.7
revert-9703-master
soft-keywords
suspcious
sync-39-whatsnew
travis-3.5
travis-3.6
travis-macOS
type-comments
unixdeepfreeze
v3.8.4
whatsnew-617
windeepfreeze
zhangyangyu-patch-1
zooba-patch-1
github.com: python/cpython.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
Lib
/
_strptime.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
[2.7] bpo-30363: Backport warnings in the re module. (#1577)
Serhiy Storchaka
2017-05-18
1
-2
/
+2
*
Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by
Serhiy Storchaka
2016-03-12
1
-0
/
+4
*
Issue #6478: _strptime's regexp cache now is reset after changing timezone
Serhiy Storchaka
2015-12-03
1
-7
/
+14
*
Issue #23136: _strptime now uniformly handles all days in week 0, including
Serhiy Storchaka
2015-03-19
1
-5
/
+5
*
#18705: fix a number of typos. Patch by FĂ©vry Thibault.
Ezio Melotti
2013-08-17
1
-1
/
+1
*
Followup to issue #14157: respect the relative ordering of values produced by...
Antoine Pitrou
2012-05-14
1
-0
/
+8
*
Issue #14157: Fix time.strptime failing without a year on February 29th.
Antoine Pitrou
2012-05-10
1
-1
/
+6
*
add %f format to datetime - issue 1158
Skip Montanaro
2008-03-15
1
-6
/
+15
*
Make _strptime.TimeRE().pattern() use ``\s+`` for matching whitespace instead
Brett Cannon
2007-06-03
1
-1
/
+1
*
time.strptime's caching of its locale object was being recreated when the
Brett Cannon
2007-04-01
1
-5
/
+4
*
Use the thread lock's context manager instead of a try/finally statement.
Brett Cannon
2007-01-28
1
-4
/
+1
*
Remove specific mention of my name and email address from modules. Not really
Brett Cannon
2007-01-25
1
-3
/
+0
*
Fix time.strptime's %U support. Basically rewrote the algorithm to be more
Brett Cannon
2007-01-25
1
-31
/
+30
*
Make the error message for when the time data and format do not match clearer.
Brett Cannon
2006-09-26
1
-1
/
+1
*
Change time.strptime() to raise ValueError whenever there is an error in the
Brett Cannon
2005-11-02
1
-1
/
+14
*
Clear out the regex cache when the TimeRE cache is invalidated by a locale
Brett Cannon
2005-09-15
1
-1
/
+2
*
Fix logic error introduced in last commit. Also add a comment to explain what
Brett Cannon
2005-08-29
1
-2
/
+5
*
fix bug where str.find() was being misused where __contains__ should have been
Brett Cannon
2005-08-27
1
-1
/
+1
*
Fix bug of implementation of algorithm for calculating the date from year, week
Brett Cannon
2004-10-28
1
-10
/
+12
*
Fix comments.
Brett Cannon
2004-10-18
1
-2
/
+4
*
Add support for %U and %W to contribute to calculating the date when the year
Brett Cannon
2004-10-18
1
-1
/
+43
*
Fix bug introduced by the previous patch by changing TimeRE.__seqToRe() to
Brett Cannon
2004-10-06
1
-2
/
+1
*
Convert a listcomp to a gencomp (was already editing code).
Brett Cannon
2004-10-06
1
-2
/
+2
*
Locale data that contains regex metacharacters are now properly escaped.
Brett Cannon
2004-10-06
1
-2
/
+4
*
Replace str.find()!=1 with the more readable "in" operator.
Raymond Hettinger
2004-05-04
1
-1
/
+1
*
Deal with possible case of having time.tzname[1] containing UTC or GMT.
Brett Cannon
2004-03-07
1
-2
/
+2
*
Whitespace normalization.
Tim Peters
2004-01-18
1
-1
/
+1
*
* Migrate set() and frozenset() from the sandbox.
Raymond Hettinger
2003-11-16
1
-4
/
+3
*
Let library modules use the new keyword arguments for list.sort().
Raymond Hettinger
2003-10-16
1
-11
/
+9
*
Make sure parentheses are escaped when used in the format string.
Brett Cannon
2003-08-29
1
-1
/
+1
*
Fix handling of bad locale setup where time.tzname[0] == time.tzname[1] and
Brett Cannon
2003-08-11
1
-10
/
+19
*
Fix docstring in LocaleTime.
Brett Cannon
2003-08-08
1
-2
/
+2
*
Re-introduce caching of TimeRE and compiled regexes with added thread-safety.
Brett Cannon
2003-08-05
1
-275
/
+136
*
Fixes bug of having default argument for TimeRE's __init__ that caused the
Brett Cannon
2003-07-24
1
-2
/
+5
*
Remove caching of TimeRE (and thus LocaleTime) instance. Error was being
Brett Cannon
2003-07-24
1
-41
/
+13
*
SF 748201: time.strptime() should display format and date on error
Raymond Hettinger
2003-07-13
1
-1
/
+2
*
Fixes bug of timezone value being left as -1 when ``time.tzname[0] ==
Brett Cannon
2003-07-03
1
-4
/
+5
*
use == like all the other conditionals
Neal Norwitz
2003-06-29
1
-1
/
+1
*
Call time.tzset (if available) just before calculating possible timezones fro...
Brett Cannon
2003-05-13
1
-0
/
+4
*
Beefed up timezone support. UTC and GMT are now always recognized timezones
Brett Cannon
2003-05-11
1
-7
/
+15
*
Raise a ValueError when there is data that was not covered in the format stri...
Brett Cannon
2003-04-28
1
-0
/
+3
*
Whitespace normalization.
Tim Peters
2003-04-24
1
-3
/
+2
*
Make _strptime escape regex syntax in format string to prevent use in interna...
Brett Cannon
2003-04-19
1
-1
/
+10
*
SF patch #691928: Use datetime in _strptime
Raymond Hettinger
2003-03-09
1
-56
/
+18
*
Whitespace normalization.
Tim Peters
2003-01-29
1
-3
/
+3
*
SF patch 670194: Performance enhancement for _strptime.py.
Tim Peters
2003-01-19
1
-20
/
+36
*
SF patch 670012: Compatibility changes for _strptime.py.
Tim Peters
2003-01-18
1
-91
/
+89
*
Checking in Brett Cannon's patch #662053, which fixes bug #661354.
Jack Jansen
2003-01-15
1
-8
/
+12
*
Fix SF #658820, regex fixes for _strptime (Brett Cannon)
Neal Norwitz
2002-12-30
1
-8
/
+9
*
Fix julian day problem with strptime. Note: XXX about using 0, suggestions?
Neal Norwitz
2002-12-26
1
-1
/
+3
[next]