- 31 Mar, 2017 6 commits
-
-
Serhiy Storchaka authored
objects when pass out of bound fold argument.
-
T. Wouters authored
Fix MemoryError caused by moving around code in PR #886; nbytes was sometimes used unitinitalized (in non-debug builds, when use_calloc was false and elsize was 0).
-
T. Wouters authored
Make a non-Py_DEBUG, asserts-enabled build of CPython possible. This means making sure helper functions are defined when NDEBUG is not defined, not just when Py_DEBUG is defined. Also fix a division-by-zero in obmalloc.c that went unnoticed because in Py_DEBUG mode, elsize is never zero.
-
Benjamin Peterson authored
Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler.
-
cocoatomo authored
s/keys and elements/keys and values/
-
Senthil Kumaran authored
Remove catching OSError in ftphandler test. Only URLError is raised in urllib.request module. (#918)
-
- 30 Mar, 2017 18 commits
-
-
Mariatta authored
-
Louie Lu authored
-
T. Wouters authored
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.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
when pass indices of wrong type.
-
Serhiy Storchaka authored
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.
-
Victor Stinner authored
* 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.
-
Serhiy Storchaka authored
-
s-sanjay authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
ValueError always is raised rather than OverflowError for negative counts. Shifting zero with non-negative count always returns zero.
-
Serhiy Storchaka authored
if pass `accept={int, NoneType}`.
-
Serhiy Storchaka authored
os.fwalk() is sped up by 2 times by using os.scandir().
-
Serhiy Storchaka authored
unlucky Unicode characters.
-
Serhiy Storchaka authored
-
Senthil Kumaran authored
-
csabella authored
-
- 29 Mar, 2017 5 commits
-
-
csabella authored
-
Sylvain authored
-
Louie Lu authored
-
Niklas Fiekas authored
-
Xiang Zhang authored
an exception raised at the very first of an iterable would cause pools behave abnormally (swallow the exception or hang)
-
- 28 Mar, 2017 6 commits
-
-
Vajrasky Kok authored
-
Garvit Khatri authored
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.
-
INADA Naoki authored
-
Amit Kumar authored
-
Barry Warsaw authored
bpo-19824 bpo-20314 bpo-12518
-
Alex Wang authored
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.
-
- 27 Mar, 2017 5 commits
-
-
Brett Cannon authored
Instead have gcc be used for the coverage build so gcc is exercised in at least one place.
-
Victor Stinner authored
bpo-23890: unittest.TestCase.assertRaises() now manually breaks a reference cycle to not keep objects alive longer than expected.
-
Gerrit Holl authored
* 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
-
Sylvain authored
-
Jim Fasarakis-Hilliard authored
-