summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25021: Merge 3.5 to defaultKristján Valur Jónsson2015-09-121-0/+10
|\
| * Issue #25021: Merge 3.4 to 3.5Kristján Valur Jónsson2015-09-121-0/+10
| |\
| | * Issue #25021: Merge from 3.3 to 3.4Kristján Valur Jónsson2015-09-121-0/+10
| | |\
| | | * Issue #25021: Correctly make sure that product.__setstate__ does not accessKristján Valur Jónsson2015-09-121-0/+10
| | | | | | | | | | | | | | | | invalid memory.
* | | | Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-122-3/+3
|\ \ \ \ | |/ / / | | | | | | | | Fixed the case of the "Ctrl-" prefixes.
| * | | Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-122-3/+3
| |\ \ \ | | |/ / | | | | | | | | Fixed the case of the "Ctrl-" prefixes.
| | * | Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-122-3/+3
| | | | | | | | | | | | | | | | Fixed the case of the "Ctrl-" prefixes.
* | | | Issue #16473: Merge codecs doc and test from 3.5Martin Panter2015-09-122-1/+9
|\ \ \ \ | |/ / /
| * | | Issue #16473: Merge codecs doc and test from 3.4 into 3.5Martin Panter2015-09-122-1/+9
| |\ \ \ | | |/ /
| | * | Issue #16473: Fix byte transform codec documentation; test quotetabs=TrueMartin Panter2015-09-122-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | This changes the equivalent functions listed for the Base-64, hex and Quoted- Printable codecs to reflect the functions actually used. Also mention and test the "quotetabs" setting for Quoted-Printable encoding.
* | | | pytime: add _PyTime_check_mul_overflow() macro to avoid undefined behaviourVictor Stinner2015-09-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overflow test in test_FromSecondsObject() fails on FreeBSD 10.0 buildbot which uses clang. clang implements more aggressive optimization which gives different result than GCC on undefined behaviours. Check if a multiplication will overflow, instead of checking if a multiplicatin had overflowed, to avoid undefined behaviour. Add also debug information if the test on overflow fails.
* | | | Fix test_time on platform with 32-bit time_t typeVictor Stinner2015-09-101-3/+6
| | | | | | | | | | | | | | | | Filter also values for check_float_rounding().
* | | | Fix test_time on platform with 32-bit time_t typeVictor Stinner2015-09-101-5/+18
| | | | | | | | | | | | | | | | Filter values which would overflow when converted to a C time_t type.
* | | | Fix test_time on WindowsVictor Stinner2015-09-101-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Filter values which would overflow on conversion to the C long type (for timeval.tv_sec). * Adjust also the message of OverflowError on PyTime conversions * test_time: add debug information if a timestamp conversion fails
* | | | test_time: rewrite PyTime API rounding testsVictor Stinner2015-09-091-562/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop all hardcoded tests. Instead, reimplement each function in Python, usually using decimal.Decimal for the rounding mode. Add much more values to the dataset. Test various timestamp units from picroseconds to seconds, in integer and float. Enhance also _PyTime_AsSecondsDouble().
* | | | Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-092-2/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | boolean result instead of raising an exception. Patch by A Kaptur.
| * | | Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-092-2/+6
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | boolean result instead of raising an exception. Patch by A Kaptur.
| | * | Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-092-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | boolean result instead of raising an exception. Patch by A Kaptur.
* | | | Merge from 3.5.Larry Hastings2015-09-092-18/+119
|\ \ \ \ | |/ / /
| * | | Whitespace fixes to make the commit hook on hg.python.org happy.Larry Hastings2015-09-092-3/+3
| | | |
| * | | Merge Python 3.5.0rc4 back to hg.python.org.Larry Hastings2015-09-092-18/+119
| |\ \ \
| | * \ \ Merged in stevedower/cpython350 (pull request #23)Larry Hastings2015-09-091-2/+5
| | |\ \ \ | | | | | | | | | | | | | | | | | | Moves distutils test import within skippable class.
| | | * | | Moves distutils test import within skippable class.Steve Dower2015-09-091-2/+5
| | | | | |
| | * | | | Merge 3.5.0rc3 revisions back into current 3.5.0 head.Larry Hastings2015-09-091-1/+1
| | |\ \ \ \ | | | |/ / / | | |/| | |
| | * | | | Issue #25027: Reverts partial-static build options and adds vcruntime140.dll ↵Steve Dower2015-09-092-18/+116
| | | | | | | | | | | | | | | | | | | | | | | | to Windows installation.
* | | | | | Merge 3.5 into 3.6Martin Panter2015-09-091-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 3.4 into 3.5Martin Panter2015-09-091-1/+1
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| | * | | | os.sendfile(headers=None, trailers=None) arguments are not actually acceptedMartin Panter2015-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Needs to be tested on a BSD.
* | | | | | Merge with 3.5Terry Jan Reedy2015-09-092-2/+19
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge with 3.4Terry Jan Reedy2015-09-092-2/+19
| |\ \ \ \ \ | | |/ / / /
| | * | | | Issue 24199: Deprecate idlelib.idlever with a warning on import.Terry Jan Reedy2015-09-092-3/+19
| | | | | |
* | | | | | Issue #23738: Merge 3.5 into 3.6Martin Panter2015-09-095-3/+43
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Issue #23738: Merge 3.4 into 3.5Martin Panter2015-09-095-3/+43
| |\ \ \ \ \ | | |/ / / /
| | * | | | Issue #23738: Document and test actual keyword parameter namesMartin Panter2015-09-095-3/+43
| | | | | | | | | | | | | | | | | | | | | | | | Also fix signature because os.utime(..., ns=None) is not allowed.
* | | | | | 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-083-138/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-082-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | """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.
* | | | | | 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.
* | | | | | mergeRaymond Hettinger2015-09-081-3/+2
|\ \ \ \ \ \ | |/ / / / /
| * | | | | mergeRaymond Hettinger2015-09-081-3/+2
| |\ \ \ \ \ | | |/ / / /
| | * | | | Fix whitespace in comment.Raymond Hettinger2015-09-081-3/+2
| | | | | |
* | | | | | Issue #24982: shutil.make_archive() with the "zip" format now adds entriesSerhiy Storchaka2015-09-082-6/+40
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | 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-082-6/+40
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | 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-082-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for directories (including empty directories) in ZIP file. Added test for comparing shutil.make_archive() with the "zip" command.
* | | | | | Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-071-0/+3
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | expat parser.
| * | | | | Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-071-0/+3
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | expat parser.
| | * | | | Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | expat parser.
* | | | | | Issue #25019: Fixed a crash caused by setting non-string key of expat parser.Serhiy Storchaka2015-09-071-15/+41
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | Added additional tests for expat parser attributes. Based on patch by John Leitch.