summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a ↵Stuart Berg2017-04-065-26/+110
| | | | 'trailer', e.g. zip()[x] (#24)
* Correct typo in configparser.rst (#1012)Alex Jordan2017-04-061-2/+2
|
* bpo-29962: add math.remainder (#950)Mark Dickinson2017-04-055-0/+268
| | | | | | | | | | | | | | * Implement math.remainder. * Fix markup for arguments; use double spaces after period. * Mark up function reference in what's new entry. * Add comment explaining the calculation in the final branch. * Fix out-of-order entry in whatsnew. * Add comment explaining why it's good enough to compare m with c, in spite of possible rounding error.
* Miscellaneous minor fixes of Misc/NEWS formatting. (#1002)Serhiy Storchaka2017-04-051-19/+19
|
* Update Argument Clinic generated code for bpo-29878. (#1001)Serhiy Storchaka2017-04-054-6/+6
|
* bpo-29762: More use "raise from None". (#569)Serhiy Storchaka2017-04-0530-48/+50
| | | This hides unwanted implementation details from tracebacks.
* bpo-29549: Fixes docstring for str.index (#256)Lisa Roach2017-04-052-5/+20
| | | | | | | | | | | | | | * Updates B.index documentation. * Updates str.index documentation, makes it Argument Clinic compatible. * Removes ArgumentClinic code. * Finishes string.index documentation. * Updates string.rindex documentation. * Documents B.rindex.
* correct parse_qs and parse_qsl test case descriptions. (#968)Senthil Kumaran2017-04-052-19/+23
| | | * correct parse_qs and parse_qsl test case descriptions.
* bpo-29649: Improve struct.pack_into() boundary error messages (#424)Andrew Nester2017-04-043-4/+53
|
* bpo-29972: Skip tests known to fail on AIX (#979)Victor Stinner2017-04-045-5/+23
| | | | | | | | | | | | | | | | | | | | | | * bpo-29972: Fix test_eintr on AIX On AIX, sigtimedwait(0.2) sleeps 199.8 ms, whereas the test expects 200 ms or longer. * bpo-29972: Skip some inet_pton() tests on AIX Skip some inet_pton() tests of test_socket on AIX. inet_pton() on AIX is less strict than on Linux and doesn't reject some invalid IP addresses. The unit tests test more the libc than Python itself. * bpo-29972: Skip tests known to fail on AIX * test_locale.test_strcoll_with_diacritic() * test_locale.test_strxfrm_with_diacritic() * test_strptime.test_week_of_year_and_day_of_week_calculation() * test_tools.test_POT_Creation_Date()
* bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947)csabella2017-04-041-0/+5
| | | * bpo-29725: DOC: add text for arraysize in sqlite3.Cursor
* Remove obsolete declaration in tokenizer.h (#962)Jim Fasarakis-Hilliard2017-04-031-2/+0
|
* Correct typo (#976)Angus Hollands2017-04-031-1/+1
|
* test_locale now ignores the DeprecationWarning (#977)Victor Stinner2017-04-032-12/+14
| | | | | Don't fail anymore if test run with python3 -Werror. Fix also deprecation message: add a space.
* Fix misleading documentation for math.exp. (#951)Mark Dickinson2017-04-021-2/+2
|
* bpo-19225: Add a table of warning names and missed exception names in C API ↵cocoatomo2017-04-022-56/+150
| | | | | doc (#881) Move the `.. index` directive to more appropriate place.
* bpo-29654 : Support If-Modified-Since HTTP header (browser cache) (#298)Pierre Quentel2017-04-025-9/+112
| | | | Return 304 response if file was not modified.
* Minor spell fix and formatting fixes in urllib tests. (#959)Senthil Kumaran2017-04-022-2/+6
|
* bpo-29957: change LBYL key lookup to dict.setdefault (#938)Michael Selik2017-04-022-5/+1
| | | | | | | | | | | | | * change LBYL key lookup to dict.setdefault The ``results`` was constructed as a defaultdict and we could simply delete the check ``if key not in results``. However, I think it's safer to use dict.setdefault as I'm not sure whether the caller expects a regular dict or defaultdict. * add name to the acknowledgements file * use defaultdict to make the key-lookup cleaner
* bpo-26947: DOC: clarify wording on hashable in glossary (#948)csabella2017-04-021-3/+3
|
* bpo-29949: Fix set memory usage regression (GH-943)INADA Naoki2017-04-012-6/+7
| | | | | Revert "Minor factoring: move redundant resize scaling logic into the resize function." This reverts commit 4897300276d870f99459c82b937f0ac22450f0b6.
* Revert "bpo-29763: Use unittest cleanup in test_site (GH-841)" (GH-942)Zachary Ware2017-04-011-34/+45
| | | This reverts commit b94d7fd4efa877d649cea9c8125c8869ffe0c32d.
* bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (#879)s-sanjay2017-04-013-10/+36
| | | | | | | | the original logic was just comparing the network address but this is wrong because if the network address is equal then we need to compare the ip address for breaking the tie add more ip_interface comparison tests
* Add helpful explaination to test_password_manager tests. (#936)Senthil Kumaran2017-04-011-15/+26
| | | Also uncomment and fix a path test.
* bpo-29763: Use unittest cleanup in test_site (GH-841)Zachary Ware2017-04-011-45/+34
|
* Link to the devguide's PR guidelines (GH-932)Brett Cannon2017-03-311-4/+2
|
* bpo-29953: Fix memory leaks in the replace() method of datetime and time (#927)Serhiy Storchaka2017-03-313-11/+18
| | | objects when pass out of bound fold argument.
* Fix spurious MemoryError introduced by PR #886. (#930)T. Wouters2017-03-311-4/+4
| | | 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).
* bpo-29941: Assert fixes (#886)T. Wouters2017-03-314-5/+9
| | | | | | | | 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.
* suppress compiler warnings in _ctypes_test (#902)Benjamin Peterson2017-03-311-3/+3
| | | Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler.
* bpo-29952: Use usual terminology of dict (GH-917)cocoatomo2017-03-311-1/+1
| | | s/keys and elements/keys and values/
* Remove catching OSError in ftphandler test. Only URLError is raised in ↵Senthil Kumaran2017-03-311-3/+1
| | | | urllib.request module. (#918)
* bpo-29928: Add f-string to the Glossary (GH-864)Mariatta2017-03-301-0/+5
|
* bpo-29946: Fix "sqrtpi defined but not used" (#908)Louie Lu2017-03-301-1/+3
|
* bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#889)T. Wouters2017-03-303-24/+39
| | | | | 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.
* bpo-10030: Sped up reading encrypted ZIP files by 2 times. (#550)Serhiy Storchaka2017-03-302-57/+57
|
* bpo-29935: Fixed error messages in the index() method of tuple, list and ↵Serhiy Storchaka2017-03-308-19/+31
| | | | | deque (#887) when pass indices of wrong type.
* bpo-29204: Emit warnings for already deprecated ElementTree features. (#773)Serhiy Storchaka2017-03-306-53/+120
| | | | | | | | 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.
* bpo-29887: Test normalization now fails if download fails (#905)Victor Stinner2017-03-301-4/+9
| | | | | | | | | | | | * 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.
* bpo-20548: Use specific asserts in warnings and exceptions tests (#788)Serhiy Storchaka2017-03-303-35/+35
|
* bpo-29913: deprecate compare_networks() in documentation (GH-865)s-sanjay2017-03-302-0/+4
|
* bpo-29918: Add missed "const" modifiers in C API documentation. (#846)Serhiy Storchaka2017-03-3012-89/+84
|
* bpo-27863: Fixed multiple crashes in ElementTree. (#765)Serhiy Storchaka2017-03-303-48/+167
|
* bpo-29816: Shift operation now has less opportunity to raise OverflowError. ↵Serhiy Storchaka2017-03-303-24/+82
| | | | | | | (#680) ValueError always is raised rather than OverflowError for negative counts. Shifting zero with non-negative count always returns zero.
* bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716)Serhiy Storchaka2017-03-3020-200/+98
| | | if pass `accept={int, NoneType}`.
* bpo-25996: Added support of file descriptors in os.scandir() on Unix. (#502)Serhiy Storchaka2017-03-307-43/+159
| | | | os.fwalk() is sped up by 2 times by using os.scandir().
* bpo-24821: Fixed the slowing down to 25 times in the searching of some (#505)Serhiy Storchaka2017-03-303-6/+48
| | | | unlucky Unicode characters.
* bpo-29878: Add global instances of int for 0 and 1. (#852)Serhiy Storchaka2017-03-3018-249/+105
|
* Remove an unrequired TODO in test_urllib2. (#897)Senthil Kumaran2017-03-301-1/+0
|
* bpo-29917: DOC: Remove link from PyMethodDef (#890)csabella2017-03-301-2/+2
|