cocoatomo
cdcac039fb
bpo-29952: Use usual terminology of dict (GH-917)
s/keys and elements/keys and values/
9 years ago
Senthil Kumaran
ed3dd1c02a
Remove catching OSError in ftphandler test. Only URLError is raised in urllib.request module. ( #918 )
9 years ago
Mariatta
33db068dac
bpo-29928: Add f-string to the Glossary (GH-864)
9 years ago
Louie Lu
7a26464c64
bpo-29946: Fix "sqrtpi defined but not used" ( #908 )
9 years ago
T. Wouters
5466d4af5f
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. ( #889 )
Fix the use of recursion in itertools.chain.from_iterable. Using recursion
is unnecessary, and can easily cause stack overflows, especially when
building in low optimization modes or with Py_DEBUG enabled.
9 years ago
Serhiy Storchaka
06e522521c
bpo-10030: Sped up reading encrypted ZIP files by 2 times. ( #550 )
9 years ago
Serhiy Storchaka
d4edfc9abf
bpo-29935: Fixed error messages in the index() method of tuple, list and deque ( #887 )
when pass indices of wrong type.
9 years ago
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.
9 years ago
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.
9 years ago
Serhiy Storchaka
f15c4d374a
bpo-20548: Use specific asserts in warnings and exceptions tests ( #788 )
9 years ago
s-sanjay
16f852345b
bpo-29913: deprecate compare_networks() in documentation (GH-865)
9 years ago
Serhiy Storchaka
84b8e92e46
bpo-29918: Add missed "const" modifiers in C API documentation. ( #846 )
9 years ago
Serhiy Storchaka
576def096e
bpo-27863: Fixed multiple crashes in ElementTree. ( #765 )
9 years ago
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.
9 years ago
Serhiy Storchaka
762bf40438
bpo-29852: Argument Clinic Py_ssize_t converter now supports None ( #716 )
if pass `accept={int, NoneType}`.
9 years ago
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().
9 years ago
Serhiy Storchaka
0a58f72762
bpo-24821: Fixed the slowing down to 25 times in the searching of some ( #505 )
unlucky Unicode characters.
9 years ago
Serhiy Storchaka
ba85d69a3e
bpo-29878: Add global instances of int for 0 and 1. ( #852 )
9 years ago
Senthil Kumaran
e6911a44f6
Remove an unrequired TODO in test_urllib2. ( #897 )
9 years ago
csabella
c3c7ef0885
bpo-29917: DOC: Remove link from PyMethodDef ( #890 )
9 years ago
csabella
85deefcf61
bpo-29677: DOC: clarify documentation for `round` (GH-877)
9 years ago
Sylvain
a90e64b78d
bpo-29932: Fix small error message typos in arraymodule.c (GH-888)
9 years ago
Louie Lu
c431854a09
bpo-29927: Remove duplicate BufferError init and unnecessary semicolons (GH-866)
9 years ago
Niklas Fiekas
83371f4f7f
bpo-29936: fix typo __GNU*C*_MINOR__ ( #878 )
9 years ago
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)
9 years ago
Vajrasky Kok
ec1f5df46e
bpo-19791: Use functions from test support to check the symlink support. (GH-822)
9 years ago
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.
9 years ago
INADA Naoki
c8fa45bac2
NEWS: remove duplicated "Build" section (GH-872)
9 years ago
Amit Kumar
0ae7c8bd61
bpo-16011 clarify that 'in' always returns a boolean value
9 years ago
Barry Warsaw
9f74deba78
Improve the documentation for template strings ( #856 )
bpo-19824
bpo-20314
bpo-12518
9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
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
9 years ago
Sylvain
d67a103702
bpo-29924: Remove useless argument ( #854 )
9 years ago
Jim Fasarakis-Hilliard
d702c50049
bpo-29912: Remove redundant tests in list_tests that are found in seq_tests (GH-847)
9 years ago
Victor Stinner
d6debb24e0
bpo-29919: Remove unused imports found by pyflakes ( #137 )
Make also minor PEP8 coding style fixes on modified imports.
9 years ago
Serhiy Storchaka
604e74c6be
bpo-20552: Use specific asserts in bytes tests ( #790 )
9 years ago
Zachary Ware
b8a7daf077
Minor test cleanup (GH-837)
* Remove unused test file
* Remove duplicated text in sndhdrdata README
9 years ago
Zachary Ware
334e9ec938
Treat Sphinx warnings as errors (GH-832)
9 years ago
Jelle Zijlstra
0579e81f30
import sys before we use it on line 9 ( #828 )
9 years ago
Michael Seifert
5fb278fd58
Fixes sphinx warning in "changelog" misc/NEWS ( #829 )
9 years ago
Jim Fasarakis-Hilliard
1e73dbbc29
Fix small exception typos in Lib ( #818 )
9 years ago
cocoatomo
f8beb9831a
bpo-29888: Fix the link referring to the "Python download page" (GH-824)
9 years ago
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.
9 years ago
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.
9 years ago
Serhiy Storchaka
3c749fc867
Simplify partial.__new__. ( #813 )
Fast paths in partial.__new__ no longer needed since concatenating with empty
tuple was optimized.
9 years ago
Mandeep Bhutani
9f0aa4843f
bpo-29862: Fix grammar in importlib.reload() exception (GH-809)
9 years ago
NAKAMURA Osamu
29540cdf6c
bpo-29892: Fix wrong markup on doc-lib-functions (GH-802)
9 years ago
Ivan Levkivskyi
8f9e1bbf2d
bpo-28810: Document remaining bytecode changes in 3.6 (GH-651)
9 years ago