Serhiy Storchaka
06e522521c
bpo-10030: Sped up reading encrypted ZIP files by 2 times. ( #550 )
2017-03-30 19:09:08 +03:00
Serhiy Storchaka
d4edfc9abf
bpo-29935: Fixed error messages in the index() method of tuple, list and deque ( #887 )
...
when pass indices of wrong type.
2017-03-30 18:29:23 +03:00
Serhiy Storchaka
762ec97ea6
bpo-29204: Emit warnings for already deprecated ElementTree features. ( #773 )
...
Element.getiterator() and the html parameter of XMLParser() were
deprecated only in the documentation (since Python 3.2 and 3.4 correspondintly).
Now using them emits a deprecation warning.
* Don’t need check_warnings any more.
2017-03-30 18:12:06 +03:00
Victor Stinner
722a3af092
bpo-29887: Test normalization now fails if download fails ( #905 )
...
* test_normalization fails if download fails
bpo-29887. The test is still skipped if "-u urlfetch" option is not
passed to regrtest (python3 -m test -u urlfetch test_normalization).
* Fix ResourceWarning in test_normalization
bpo-29887: Fix ResourceWarning in test_normalization if tests are
interrupted by CTRL+c.
2017-03-30 17:06:53 +02:00
Serhiy Storchaka
f15c4d374a
bpo-20548: Use specific asserts in warnings and exceptions tests ( #788 )
2017-03-30 18:05:08 +03:00
s-sanjay
16f852345b
bpo-29913: deprecate compare_networks() in documentation (GH-865)
2017-03-30 15:44:29 +08:00
Serhiy Storchaka
84b8e92e46
bpo-29918: Add missed "const" modifiers in C API documentation. ( #846 )
2017-03-30 10:01:03 +03:00
Serhiy Storchaka
576def096e
bpo-27863: Fixed multiple crashes in ElementTree. ( #765 )
2017-03-30 09:47:31 +03:00
Serhiy Storchaka
918403cfc3
bpo-29816: Shift operation now has less opportunity to raise OverflowError. ( #680 )
...
ValueError always is raised rather than OverflowError for negative counts.
Shifting zero with non-negative count always returns zero.
2017-03-30 09:47:07 +03:00
Serhiy Storchaka
762bf40438
bpo-29852: Argument Clinic Py_ssize_t converter now supports None ( #716 )
...
if pass `accept={int, NoneType}`.
2017-03-30 09:15:31 +03:00
Serhiy Storchaka
ea720fe7e9
bpo-25996: Added support of file descriptors in os.scandir() on Unix. ( #502 )
...
os.fwalk() is sped up by 2 times by using os.scandir().
2017-03-30 09:12:31 +03:00
Serhiy Storchaka
0a58f72762
bpo-24821: Fixed the slowing down to 25 times in the searching of some ( #505 )
...
unlucky Unicode characters.
2017-03-30 09:11:10 +03:00
Serhiy Storchaka
ba85d69a3e
bpo-29878: Add global instances of int for 0 and 1. ( #852 )
2017-03-30 09:09:41 +03:00
Senthil Kumaran
e6911a44f6
Remove an unrequired TODO in test_urllib2. ( #897 )
2017-03-29 23:02:29 -07:00
csabella
c3c7ef0885
bpo-29917: DOC: Remove link from PyMethodDef ( #890 )
2017-03-29 17:27:50 -07:00
csabella
85deefcf61
bpo-29677: DOC: clarify documentation for `round` (GH-877)
2017-03-29 14:14:06 -07:00
Sylvain
a90e64b78d
bpo-29932: Fix small error message typos in arraymodule.c (GH-888)
2017-03-29 11:09:22 -07:00
Louie Lu
c431854a09
bpo-29927: Remove duplicate BufferError init and unnecessary semicolons (GH-866)
2017-03-29 13:28:15 +08:00
Niklas Fiekas
83371f4f7f
bpo-29936: fix typo __GNU*C*_MINOR__ ( #878 )
2017-03-28 21:58:01 -07:00
Xiang Zhang
794623bdb2
bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-693)
...
an exception raised at the very first of an iterable would cause pools behave abnormally
(swallow the exception or hang)
2017-03-29 11:58:54 +08:00
Vajrasky Kok
ec1f5df46e
bpo-19791: Use functions from test support to check the symlink support. (GH-822)
2017-03-28 12:32:35 -07:00
Garvit Khatri
1cf93a76c2
bpo-10379: add 'monetary' to format_string, deprecate format
...
Add the 'monetary' parameter to format_string so that all
uses of format can be converted to format_string. Adjust
the documentation accordingly, and add a deprecation
warning when format is used.
2017-03-28 11:43:38 -04:00
INADA Naoki
c8fa45bac2
NEWS: remove duplicated "Build" section (GH-872)
2017-03-29 00:24:30 +09:00
Amit Kumar
0ae7c8bd61
bpo-16011 clarify that 'in' always returns a boolean value
2017-03-28 10:13:01 -04:00
Barry Warsaw
9f74deba78
Improve the documentation for template strings ( #856 )
...
bpo-19824
bpo-20314
bpo-12518
2017-03-28 10:02:07 -04:00
Alex Wang
8cea5929f5
bpo-29643: Fix check for --enable-optimizations (GH-129)
...
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
2017-03-28 21:50:51 +09:00
Brett Cannon
ad2f9e2c8a
Drop the standard gcc test build on Travis (GH-853)
...
Instead have gcc be used for the coverage build so gcc is exercised in at least one place.
2017-03-27 16:39:54 -07:00
Victor Stinner
bbd3cf8f1e
Fix ref cycles in TestCase.assertRaises() ( #193 )
...
bpo-23890: unittest.TestCase.assertRaises() now manually breaks a
reference cycle to not keep objects alive longer than expected.
2017-03-28 00:56:28 +02:00
Gerrit Holl
6003db7db5
bpo-29677: DOC: clarify documentation for `round` ( #357 )
...
* DOC: clarify documentation for `round`
Clarified that `round` can take a negative value for *ndigits*.
* DOC: remove trailing whitespace in previous commit
remove trailing whitespace in previous commit
2017-03-28 00:15:20 +02:00
Sylvain
d67a103702
bpo-29924: Remove useless argument ( #854 )
2017-03-27 23:36:08 +02:00
Jim Fasarakis-Hilliard
d702c50049
bpo-29912: Remove redundant tests in list_tests that are found in seq_tests (GH-847)
2017-03-27 12:35:52 -07:00
Victor Stinner
d6debb24e0
bpo-29919: Remove unused imports found by pyflakes ( #137 )
...
Make also minor PEP8 coding style fixes on modified imports.
2017-03-27 16:05:26 +02:00
Serhiy Storchaka
604e74c6be
bpo-20552: Use specific asserts in bytes tests ( #790 )
2017-03-27 12:59:07 +02:00
Zachary Ware
b8a7daf077
Minor test cleanup (GH-837)
...
* Remove unused test file
* Remove duplicated text in sndhdrdata README
2017-03-27 00:08:31 -05:00
Zachary Ware
334e9ec938
Treat Sphinx warnings as errors (GH-832)
2017-03-26 21:31:31 -05:00
Jelle Zijlstra
0579e81f30
import sys before we use it on line 9 ( #828 )
2017-03-26 22:17:39 -04:00
Michael Seifert
5fb278fd58
Fixes sphinx warning in "changelog" misc/NEWS ( #829 )
2017-03-26 21:25:57 -04:00
Jim Fasarakis-Hilliard
1e73dbbc29
Fix small exception typos in Lib ( #818 )
2017-03-26 13:59:08 -07:00
cocoatomo
f8beb9831a
bpo-29888: Fix the link referring to the "Python download page" (GH-824)
2017-03-26 13:32:24 -04:00
Serhiy Storchaka
62a9951530
bpo-29900: Simplify pathlib implementation. ( #814 )
...
Since functions in the os module support path-like objects, explicit
converting Path to str no longer needed.
2017-03-25 13:42:11 +02:00
Serhiy Storchaka
4aec9a8be2
bpo-29901: Improve support of path-like objects in zipapp. ( #815 )
...
Now general path-like objects are supported, not just pathlib.Path.
2017-03-25 13:05:23 +02:00
Serhiy Storchaka
3c749fc867
Simplify partial.__new__. ( #813 )
...
Fast paths in partial.__new__ no longer needed since concatenating with empty
tuple was optimized.
2017-03-25 11:10:16 +01:00
Mandeep Bhutani
9f0aa4843f
bpo-29862: Fix grammar in importlib.reload() exception (GH-809)
2017-03-24 21:51:21 -07:00
NAKAMURA Osamu
29540cdf6c
bpo-29892: Fix wrong markup on doc-lib-functions (GH-802)
2017-03-24 19:55:08 -07:00
Ivan Levkivskyi
8f9e1bbf2d
bpo-28810: Document remaining bytecode changes in 3.6 (GH-651)
2017-03-24 14:05:04 -07:00
Serhiy Storchaka
671079ef60
bpo-29894: Deprecate returning an instance of complex subclass from __complex__. ( #798 )
...
In a future versions of Python this can be an error.
2017-03-24 21:28:43 +02:00
Serhiy Storchaka
af7b9ec5c8
bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) ( #805 )
...
when the OS gives priority to errors such as EACCES over EEXIST.
2017-03-24 20:51:53 +02:00
Antoine Pitrou
8988945cdc
bpo-29861: release references to multiprocessing Pool tasks ( #743 )
...
* bpo-29861: release references to multiprocessing Pool tasks
Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.
* Comments in test
2017-03-24 13:52:11 +01:00
Serhiy Storchaka
e304e33c16
bpo-19930: The mode argument of os.makedirs() no longer affects the file ( #799 )
...
permission bits of newly-created intermediate-level directories.
2017-03-24 13:27:42 +02:00
Sylvain Bellemare
5619ab2db3
doc: Fix small typos in library/multiprocessing (GH-698)
2017-03-24 17:26:07 +09:00