summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cleanup datetime codeVictor Stinner2015-09-082-8/+1
| | | | remove scories of round half up code and debug code.
* Issue #23517: fromtimestamp() and utcfromtimestamp() methods ofVictor Stinner2015-09-088-189/+152
| | | | | | | | | | | | datetime.datetime now round microseconds to nearest with ties going to nearest even integer (ROUND_HALF_EVEN), as round(float), instead of rounding towards -Infinity (ROUND_FLOOR). pytime API: replace _PyTime_ROUND_HALF_UP with _PyTime_ROUND_HALF_EVEN. Fix also _PyTime_Divide() for negative numbers. _PyTime_AsTimeval_impl() now reuses _PyTime_Divide() instead of reimplementing rounding modes.
* Revert change 0eb8c182131e:Victor Stinner2015-09-084-15/+36
| | | | | | | | | """Issue #23517: datetime.timedelta constructor now rounds microseconds to nearest with ties going away from zero (ROUND_HALF_UP), as Python 2 and Python older than 3.3, instead of rounding to nearest with ties going to nearest even integer (ROUND_HALF_EVEN).""" datetime.timedelta uses rounding mode ROUND_HALF_EVEN again.
* Merge 3.5Yury Selivanov2015-09-081-71/+179
|\
| * docs/whatsnew/3.5: Update peps sectionYury Selivanov2015-09-081-71/+179
| | | | | | | | Patch by Elvis Pranskevichus.
* | Fixed tests for shutil.make_archive() with relative base_name in the case whenSerhiy Storchaka2015-09-081-2/+2
|\ \ | |/ | | | | the path of the directory for temporary files contains symlinks.
| * Fixed tests for shutil.make_archive() with relative base_name in the case whenSerhiy Storchaka2015-09-081-2/+2
| |\ | | | | | | | | | the path of the directory for temporary files contains symlinks.
| | * Fixed tests for shutil.make_archive() with relative base_name in the case whenSerhiy Storchaka2015-09-081-2/+2
| | | | | | | | | | | | the path of the directory for temporary files contains symlinks.
* | | Update PCbuild/readme.txt (merge from 3.5)Zachary Ware2015-09-081-40/+6
|\ \ \ | |/ /
| * | Update PCbuild/readme.txtZachary Ware2015-09-081-39/+5
| | |
* | | mergeRaymond Hettinger2015-09-081-3/+2
|\ \ \ | |/ /
| * | mergeRaymond Hettinger2015-09-081-3/+2
| |\ \ | | |/
| | * Fix whitespace in comment.Raymond Hettinger2015-09-081-3/+2
| | |
* | | Closes #25010: Merge with 3.5Zachary Ware2015-09-081-1/+1
|\ \ \ | |/ /
| * | Issue #25010: Merge with 3.4Zachary Ware2015-09-081-1/+1
| |\ \ | | |/
| | * Issue #25010: Fix path for .pyd example project.Zachary Ware2015-09-081-1/+1
| | | | | | | | | | | | Patch by Shaun Walbridge
* | | Issue #24982: shutil.make_archive() with the "zip" format now adds entriesSerhiy Storchaka2015-09-083-6/+43
|\ \ \ | |/ / | | | | | | | | | for directories (including empty directories) in ZIP file. Added test for comparing shutil.make_archive() with the "zip" command.
| * | Issue #24982: shutil.make_archive() with the "zip" format now adds entriesSerhiy Storchaka2015-09-083-6/+43
| |\ \ | | |/ | | | | | | | | | for directories (including empty directories) in ZIP file. Added test for comparing shutil.make_archive() with the "zip" command.
| | * Issue #24982: shutil.make_archive() with the "zip" format now adds entriesSerhiy Storchaka2015-09-083-6/+43
| | | | | | | | | | | | | | | for directories (including empty directories) in ZIP file. Added test for comparing shutil.make_archive() with the "zip" command.
* | | Issue #22241: Fix a compiler waringVictor Stinner2015-09-071-1/+1
| | |
* | | Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-072-6/+10
|\ \ \ | |/ / | | | | | | expat parser.
| * | Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-072-6/+10
| |\ \ | | |/ | | | | | | expat parser.
| | * Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-072-6/+10
| | | | | | | | | | | | expat parser.
* | | Issue #25019: Fixed a crash caused by setting non-string key of expat parser.Serhiy Storchaka2015-09-074-16/+51
|\ \ \ | |/ / | | | | | | | | | Added additional tests for expat parser attributes. Based on patch by John Leitch.
| * | Issue #25019: Fixed a crash caused by setting non-string key of expat parser.Serhiy Storchaka2015-09-074-16/+51
| |\ \ | | |/ | | | | | | | | | Added additional tests for expat parser attributes. Based on patch by John Leitch.
| | * Issue #25019: Fixed a crash caused by setting non-string key of expat parser.Serhiy Storchaka2015-09-074-16/+51
| | | | | | | | | | | | | | | Added additional tests for expat parser attributes. Based on patch by John Leitch.
* | | Issue #25018: Fixed testing shutil.make_archive() with relative base_name onSerhiy Storchaka2015-09-071-9/+19
|\ \ \ | |/ / | | | | | | | | | Windows. The test now makes sense on non-Windows. Added similar test for zip format.
| * | Issue #25018: Fixed testing shutil.make_archive() with relative base_name onSerhiy Storchaka2015-09-071-9/+19
| |\ \ | | |/ | | | | | | | | | Windows. The test now makes sense on non-Windows. Added similar test for zip format.
| | * Issue #25018: Fixed testing shutil.make_archive() with relative base_name onSerhiy Storchaka2015-09-071-9/+19
| | | | | | | | | | | | | | | Windows. The test now makes sense on non-Windows. Added similar test for zip format.
* | | Merge 3.5.Serhiy Storchaka2015-09-072-1/+2
|\ \ \ | |/ /
| * | Merge heads.Larry Hastings2015-09-0790-683/+966
| |\ \
| * | | Added tag v3.5.0rc3 for changeset 66ed52375df8Larry Hastings2015-09-071-0/+1
| | | |
| * | | Version bump for Python 3.5.0rc3.v3.5.0rc3Larry Hastings2015-09-073-4/+4
| | | |
| * | | Updated topics (again) for Python 3.5.0rc3 (second try).Larry Hastings2015-09-071-1/+1
| | | |
* | | | Explicitly test archive name in shutil.make_archive() tests to expose failureSerhiy Storchaka2015-09-071-11/+11
|\ \ \ \ | | |/ / | |/| | | | | | details in issue25018.
| * | | Explicitly test archive name in shutil.make_archive() tests to expose failureSerhiy Storchaka2015-09-071-11/+11
| |\ \ \ | | | |/ | | |/| | | | | details in issue25018.
| | * | Explicitly test archive name in shutil.make_archive() tests to expose failureSerhiy Storchaka2015-09-071-11/+11
| | | | | | | | | | | | | | | | details in issue25018.
* | | | Merge with 3.5Terry Jan Reedy2015-09-071-0/+1
|\ \ \ \ | |/ / /
| * | | Merge with 3.4Terry Jan Reedy2015-09-071-0/+1
| |\ \ \ | | |/ /
| | * | Issue #24889: When starting Idle, force focus onto Idle window if not alreadyTerry Jan Reedy2015-09-071-0/+1
| | | | | | | | | | | | | | | | there (as when opening Idle from interactive Python on Windows).
* | | | Merge from 3.5Steve Dower2015-09-0714-138/+210
|\ \ \ \ | |/ / /
| * | | Null merge from 3.4Steve Dower2015-09-070-0/+0
| |\ \ \ | | |/ /
| | * | Issue #24917: time_strftime() buffer over-read.Steve Dower2015-09-072-0/+4
| | | |
| * | | Reapplied change to test_warnings.py to test_warnings/__init__.py.Steve Dower2015-09-071-0/+6
| | | |
| * | | Merge from 3.5.0 branch.Steve Dower2015-09-0714-144/+210
| |\ \ \ | | | |/ | | |/|
| | * | Merged in stevedower/cpython350 (pull request #20)Larry Hastings2015-09-072-114/+9
| | |\ \ | | | | | | | | | | | | | | | Issue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell=True)
| | | * | Issue #25005: Backout fix for #8232 because of use of unsafe ↵Steve Dower2015-09-052-114/+9
| | | | | | | | | | | | | | | | | | | | subprocess.call(shell=True)
| | * | | Issue #24917: time_strftime() buffer over-read.Steve Dower2015-09-073-6/+25
| | |/ /
| | * | Issue #24305: Prevent import subsystem stack frames from being countedLarry Hastings2015-09-067-16/+127
| | | | | | | | | | | | | | | | by the warnings.warn(stacklevel=) parameter.
| | * | Backing out 09b62202d9b7; the tests fail on Linux, and it needs a re-think.Larry Hastings2015-09-063-20/+0
| | | |