Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-29972: Skip tests known to fail on AIX (#979) | Victor Stinner | 2017-04-04 | 5 | -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) | csabella | 2017-04-04 | 1 | -0/+5 |
| | | | * bpo-29725: DOC: add text for arraysize in sqlite3.Cursor | ||||
* | Remove obsolete declaration in tokenizer.h (#962) | Jim Fasarakis-Hilliard | 2017-04-03 | 1 | -2/+0 |
| | |||||
* | Correct typo (#976) | Angus Hollands | 2017-04-03 | 1 | -1/+1 |
| | |||||
* | test_locale now ignores the DeprecationWarning (#977) | Victor Stinner | 2017-04-03 | 2 | -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 Dickinson | 2017-04-02 | 1 | -2/+2 |
| | |||||
* | bpo-19225: Add a table of warning names and missed exception names in C API ↵ | cocoatomo | 2017-04-02 | 2 | -56/+150 |
| | | | | | doc (#881) Move the `.. index` directive to more appropriate place. | ||||
* | bpo-29654 : Support If-Modified-Since HTTP header (browser cache) (#298) | Pierre Quentel | 2017-04-02 | 5 | -9/+112 |
| | | | | Return 304 response if file was not modified. | ||||
* | Minor spell fix and formatting fixes in urllib tests. (#959) | Senthil Kumaran | 2017-04-02 | 2 | -2/+6 |
| | |||||
* | bpo-29957: change LBYL key lookup to dict.setdefault (#938) | Michael Selik | 2017-04-02 | 2 | -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) | csabella | 2017-04-02 | 1 | -3/+3 |
| | |||||
* | bpo-29949: Fix set memory usage regression (GH-943) | INADA Naoki | 2017-04-01 | 2 | -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 Ware | 2017-04-01 | 1 | -34/+45 |
| | | | This reverts commit b94d7fd4efa877d649cea9c8125c8869ffe0c32d. | ||||
* | bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (#879) | s-sanjay | 2017-04-01 | 3 | -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 Kumaran | 2017-04-01 | 1 | -15/+26 |
| | | | Also uncomment and fix a path test. | ||||
* | bpo-29763: Use unittest cleanup in test_site (GH-841) | Zachary Ware | 2017-04-01 | 1 | -45/+34 |
| | |||||
* | Link to the devguide's PR guidelines (GH-932) | Brett Cannon | 2017-03-31 | 1 | -4/+2 |
| | |||||
* | bpo-29953: Fix memory leaks in the replace() method of datetime and time (#927) | Serhiy Storchaka | 2017-03-31 | 3 | -11/+18 |
| | | | objects when pass out of bound fold argument. | ||||
* | Fix spurious MemoryError introduced by PR #886. (#930) | T. Wouters | 2017-03-31 | 1 | -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. Wouters | 2017-03-31 | 4 | -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 Peterson | 2017-03-31 | 1 | -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) | cocoatomo | 2017-03-31 | 1 | -1/+1 |
| | | | s/keys and elements/keys and values/ | ||||
* | Remove catching OSError in ftphandler test. Only URLError is raised in ↵ | Senthil Kumaran | 2017-03-31 | 1 | -3/+1 |
| | | | | urllib.request module. (#918) | ||||
* | bpo-29928: Add f-string to the Glossary (GH-864) | Mariatta | 2017-03-30 | 1 | -0/+5 |
| | |||||
* | bpo-29946: Fix "sqrtpi defined but not used" (#908) | Louie Lu | 2017-03-30 | 1 | -1/+3 |
| | |||||
* | bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#889) | T. Wouters | 2017-03-30 | 3 | -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 Storchaka | 2017-03-30 | 2 | -57/+57 |
| | |||||
* | bpo-29935: Fixed error messages in the index() method of tuple, list and ↵ | Serhiy Storchaka | 2017-03-30 | 8 | -19/+31 |
| | | | | | deque (#887) when pass indices of wrong type. | ||||
* | bpo-29204: Emit warnings for already deprecated ElementTree features. (#773) | Serhiy Storchaka | 2017-03-30 | 6 | -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 Stinner | 2017-03-30 | 1 | -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 Storchaka | 2017-03-30 | 3 | -35/+35 |
| | |||||
* | bpo-29913: deprecate compare_networks() in documentation (GH-865) | s-sanjay | 2017-03-30 | 2 | -0/+4 |
| | |||||
* | bpo-29918: Add missed "const" modifiers in C API documentation. (#846) | Serhiy Storchaka | 2017-03-30 | 12 | -89/+84 |
| | |||||
* | bpo-27863: Fixed multiple crashes in ElementTree. (#765) | Serhiy Storchaka | 2017-03-30 | 3 | -48/+167 |
| | |||||
* | bpo-29816: Shift operation now has less opportunity to raise OverflowError. ↵ | Serhiy Storchaka | 2017-03-30 | 3 | -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 Storchaka | 2017-03-30 | 20 | -200/+98 |
| | | | if pass `accept={int, NoneType}`. | ||||
* | bpo-25996: Added support of file descriptors in os.scandir() on Unix. (#502) | Serhiy Storchaka | 2017-03-30 | 7 | -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 Storchaka | 2017-03-30 | 3 | -6/+48 |
| | | | | unlucky Unicode characters. | ||||
* | bpo-29878: Add global instances of int for 0 and 1. (#852) | Serhiy Storchaka | 2017-03-30 | 18 | -249/+105 |
| | |||||
* | Remove an unrequired TODO in test_urllib2. (#897) | Senthil Kumaran | 2017-03-30 | 1 | -1/+0 |
| | |||||
* | bpo-29917: DOC: Remove link from PyMethodDef (#890) | csabella | 2017-03-30 | 1 | -2/+2 |
| | |||||
* | bpo-29677: DOC: clarify documentation for `round` (GH-877) | csabella | 2017-03-29 | 1 | -3/+6 |
| | |||||
* | bpo-29932: Fix small error message typos in arraymodule.c (GH-888) | Sylvain | 2017-03-29 | 1 | -3/+3 |
| | |||||
* | bpo-29927: Remove duplicate BufferError init and unnecessary semicolons (GH-866) | Louie Lu | 2017-03-29 | 1 | -53/+51 |
| | |||||
* | bpo-29936: fix typo __GNU*C*_MINOR__ (#878) | Niklas Fiekas | 2017-03-29 | 1 | -1/+1 |
| | |||||
* | bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-693) | Xiang Zhang | 2017-03-29 | 3 | -25/+117 |
| | | | | | an exception raised at the very first of an iterable would cause pools behave abnormally (swallow the exception or hang) | ||||
* | bpo-19791: Use functions from test support to check the symlink support. ↵ | Vajrasky Kok | 2017-03-28 | 1 | -35/+20 |
| | | | | (GH-822) | ||||
* | bpo-10379: add 'monetary' to format_string, deprecate format | Garvit Khatri | 2017-03-28 | 6 | -53/+82 |
| | | | | | | | 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. | ||||
* | NEWS: remove duplicated "Build" section (GH-872) | INADA Naoki | 2017-03-28 | 1 | -5/+2 |
| | |||||
* | bpo-16011 clarify that 'in' always returns a boolean value | Amit Kumar | 2017-03-28 | 1 | -9/+10 |
| |