summaryrefslogtreecommitdiffstats
path: root/Lib/re.py
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2014-09-28 23:11:56 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2014-09-28 23:11:56 (GMT)
commit6c7a4182f59ab839945b6bb88aca85df07815f6d (patch)
treec487facf330c3c9af7eefed32e853fce2096f944 /Lib/re.py
parenta2f93885b07bd3e78d803e83a4a8d893273e6642 (diff)
downloadcpython-6c7a4182f59ab839945b6bb88aca85df07815f6d.zip
cpython-6c7a4182f59ab839945b6bb88aca85df07815f6d.tar.gz
cpython-6c7a4182f59ab839945b6bb88aca85df07815f6d.tar.bz2
Closes issue #20858: Enhancements/fixes to pure-python datetime module
This patch brings the pure-python datetime more in-line with the C module. Patch contributed by Brian Kearns, a PyPy developer. PyPy project has been running these modifications in PyPy2 stdlib. This commit includes: - General PEP8/cleanups; - Better testing of argument types passed to constructors; - Removal of duplicate operations; - Optimization of timedelta creation; - Caching the result of __hash__ like the C accelerator; - Enhancements/bug fixes in tests.
Diffstat (limited to 'Lib/re.py')
0 files changed, 0 insertions, 0 deletions