https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
fbd18e0 Issue #29798: Handle git worktree in patchcheck The original attempted fix missed an `isdir()` call in `get_base_branch()`. 09 April 2017, 08:07:31 UTC
64c8f70 bpo-29951: Include function name for some error messages in `PyArg_ParseTuple*` (#916) Also changed format specifier for function name from "%s" to "%.200s" and exception messages should start with lowercase letter. 09 April 2017, 07:47:12 UTC
a2a9ddd Remove invalid comment in urllib.request. (#1054) 09 April 2017, 06:27:25 UTC
45d22c2 Improvements to typing documentation (#967) Documents a few omitted classes and adds NamedTuple methods. 08 April 2017, 16:09:14 UTC
b785396 bpo-29998: Pickling and copying ImportError now preserves name and path (#1010) attributes. 08 April 2017, 06:55:07 UTC
b879fe8 Expand the PySlice_GetIndicesEx macro. (#1023) 08 April 2017, 06:53:51 UTC
205e00c bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). (#843) object.__reduce__() no longer takes arguments, object.__reduce_ex__() now requires one argument. 08 April 2017, 06:52:59 UTC
dd9a0a1 Fix a minor typo. (#1032) 07 April 2017, 18:18:14 UTC
150cd19 bpo-29958: Minor improvements to zipfile and tarfile CLI. (#944) 07 April 2017, 15:56:12 UTC
fd0cd07 Remove Invalid comment in test_urllib2.py (#1020) 07 April 2017, 07:19:08 UTC
93b4b47 bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a 'trailer', e.g. zip()[x] (#24) 06 April 2017, 05:19:40 UTC
01fa9ae Correct typo in configparser.rst (#1012) 06 April 2017, 02:21:30 UTC
a0ce375 bpo-29962: add math.remainder (#950) * 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. 05 April 2017, 17:34:27 UTC
a0157b5 Miscellaneous minor fixes of Misc/NEWS formatting. (#1002) 05 April 2017, 09:07:22 UTC
bae6881 Update Argument Clinic generated code for bpo-29878. (#1001) 05 April 2017, 09:00:42 UTC
5affd23 bpo-29762: More use "raise from None". (#569) This hides unwanted implementation details from tracebacks. 05 April 2017, 06:37:24 UTC
43ba886 bpo-29549: Fixes docstring for str.index (#256) * 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. 05 April 2017, 05:36:22 UTC
257b980 correct parse_qs and parse_qsl test case descriptions. (#968) * correct parse_qs and parse_qsl test case descriptions. 05 April 2017, 04:19:43 UTC
f78b119 bpo-29649: Improve struct.pack_into() boundary error messages (#424) 04 April 2017, 10:46:25 UTC
5de85a1 bpo-29972: Skip tests known to fail on AIX (#979) * 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() 04 April 2017, 08:35:15 UTC
02e1213 bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947) * bpo-29725: DOC: add text for arraysize in sqlite3.Cursor 04 April 2017, 05:16:14 UTC
cf1958a Remove obsolete declaration in tokenizer.h (#962) 03 April 2017, 16:18:32 UTC
8614b59 Correct typo (#976) 03 April 2017, 16:16:14 UTC
9acc6a0 test_locale now ignores the DeprecationWarning (#977) Don't fail anymore if test run with python3 -Werror. Fix also deprecation message: add a space. 03 April 2017, 16:09:55 UTC
7341259 Fix misleading documentation for math.exp. (#951) 02 April 2017, 15:30:04 UTC
e8c7631 bpo-19225: Add a table of warning names and missed exception names in C API doc (#881) Move the `.. index` directive to more appropriate place. 02 April 2017, 10:45:40 UTC
351adda bpo-29654 : Support If-Modified-Since HTTP header (browser cache) (#298) Return 304 response if file was not modified. 02 April 2017, 10:26:12 UTC
efbd4ea Minor spell fix and formatting fixes in urllib tests. (#959) 02 April 2017, 06:47:35 UTC
11fa3c7 bpo-29957: change LBYL key lookup to dict.setdefault (#938) * 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 02 April 2017, 06:02:31 UTC
64c887a bpo-26947: DOC: clarify wording on hashable in glossary (#948) 02 April 2017, 02:50:47 UTC
e82cf86 bpo-29949: Fix set memory usage regression (GH-943) Revert "Minor factoring: move redundant resize scaling logic into the resize function." This reverts commit 4897300276d870f99459c82b937f0ac22450f0b6. 01 April 2017, 08:20:25 UTC
cd815ed Revert "bpo-29763: Use unittest cleanup in test_site (GH-841)" (GH-942) This reverts commit b94d7fd4efa877d649cea9c8125c8869ffe0c32d. 01 April 2017, 06:29:31 UTC
7bd8d3e bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (#879) 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 01 April 2017, 06:09:53 UTC
1f5425f Add helpful explaination to test_password_manager tests. (#936) Also uncomment and fix a path test. 01 April 2017, 05:27:27 UTC
b94d7fd bpo-29763: Use unittest cleanup in test_site (GH-841) 01 April 2017, 05:18:23 UTC
1e5766f Link to the devguide's PR guidelines (GH-932) 31 March 2017, 21:19:04 UTC
314d6fc bpo-29953: Fix memory leaks in the replace() method of datetime and time (#927) objects when pass out of bound fold argument. 31 March 2017, 19:48:16 UTC
06bb487 Fix spurious MemoryError introduced by PR #886. (#930) 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). 31 March 2017, 17:10:19 UTC
a00c3fd bpo-29941: Assert fixes (#886) 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. 31 March 2017, 16:14:41 UTC
164d30e suppress compiler warnings in _ctypes_test (#902) Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler. 31 March 2017, 11:05:25 UTC
cdcac03 bpo-29952: Use usual terminology of dict (GH-917) s/keys and elements/keys and values/ 31 March 2017, 05:48:49 UTC
ed3dd1c Remove catching OSError in ftphandler test. Only URLError is raised in urllib.request module. (#918) 31 March 2017, 05:43:05 UTC
33db068 bpo-29928: Add f-string to the Glossary (GH-864) 30 March 2017, 19:12:18 UTC
7a26464 bpo-29946: Fix "sqrtpi defined but not used" (#908) 30 March 2017, 17:05:10 UTC
5466d4a 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. 30 March 2017, 16:58:35 UTC
06e5225 bpo-10030: Sped up reading encrypted ZIP files by 2 times. (#550) 30 March 2017, 16:09:08 UTC
d4edfc9 bpo-29935: Fixed error messages in the index() method of tuple, list and deque (#887) when pass indices of wrong type. 30 March 2017, 15:29:23 UTC
762ec97 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. 30 March 2017, 15:12:06 UTC
722a3af 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. 30 March 2017, 15:06:53 UTC
f15c4d3 bpo-20548: Use specific asserts in warnings and exceptions tests (#788) 30 March 2017, 15:05:08 UTC
16f8523 bpo-29913: deprecate compare_networks() in documentation (GH-865) 30 March 2017, 07:44:29 UTC
84b8e92 bpo-29918: Add missed "const" modifiers in C API documentation. (#846) 30 March 2017, 07:01:03 UTC
576def0 bpo-27863: Fixed multiple crashes in ElementTree. (#765) 30 March 2017, 06:47:31 UTC
918403c 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. 30 March 2017, 06:47:07 UTC
762bf40 bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716) if pass `accept={int, NoneType}`. 30 March 2017, 06:15:31 UTC
ea720fe 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(). 30 March 2017, 06:12:31 UTC
0a58f72 bpo-24821: Fixed the slowing down to 25 times in the searching of some (#505) unlucky Unicode characters. 30 March 2017, 06:11:10 UTC
ba85d69 bpo-29878: Add global instances of int for 0 and 1. (#852) 30 March 2017, 06:09:41 UTC
e6911a4 Remove an unrequired TODO in test_urllib2. (#897) 30 March 2017, 06:02:29 UTC
c3c7ef0 bpo-29917: DOC: Remove link from PyMethodDef (#890) 30 March 2017, 00:27:50 UTC
85deefc bpo-29677: DOC: clarify documentation for `round` (GH-877) 29 March 2017, 21:14:06 UTC
a90e64b bpo-29932: Fix small error message typos in arraymodule.c (GH-888) 29 March 2017, 18:09:22 UTC
c431854 bpo-29927: Remove duplicate BufferError init and unnecessary semicolons (GH-866) 29 March 2017, 05:28:15 UTC
83371f4 bpo-29936: fix typo __GNU*C*_MINOR__ (#878) 29 March 2017, 04:58:01 UTC
794623b 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) 29 March 2017, 03:58:54 UTC
ec1f5df bpo-19791: Use functions from test support to check the symlink support. (GH-822) 28 March 2017, 19:32:35 UTC
1cf93a7 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. 28 March 2017, 15:43:38 UTC
c8fa45b NEWS: remove duplicated "Build" section (GH-872) 28 March 2017, 15:24:30 UTC
0ae7c8b bpo-16011 clarify that 'in' always returns a boolean value 28 March 2017, 14:13:01 UTC
9f74deb Improve the documentation for template strings (#856) bpo-19824 bpo-20314 bpo-12518 28 March 2017, 14:02:07 UTC
8cea592 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. 28 March 2017, 12:50:51 UTC
ad2f9e2 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. 27 March 2017, 23:39:54 UTC
bbd3cf8 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. 27 March 2017, 22:56:28 UTC
6003db7 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 27 March 2017, 22:15:20 UTC
d67a103 bpo-29924: Remove useless argument (#854) 27 March 2017, 21:36:08 UTC
d702c50 bpo-29912: Remove redundant tests in list_tests that are found in seq_tests (GH-847) 27 March 2017, 19:35:52 UTC
d6debb2 bpo-29919: Remove unused imports found by pyflakes (#137) Make also minor PEP8 coding style fixes on modified imports. 27 March 2017, 14:05:26 UTC
604e74c bpo-20552: Use specific asserts in bytes tests (#790) 27 March 2017, 10:59:07 UTC
b8a7daf Minor test cleanup (GH-837) * Remove unused test file * Remove duplicated text in sndhdrdata README 27 March 2017, 05:08:31 UTC
334e9ec Treat Sphinx warnings as errors (GH-832) 27 March 2017, 02:31:31 UTC
0579e81 import sys before we use it on line 9 (#828) 27 March 2017, 02:17:39 UTC
5fb278f Fixes sphinx warning in "changelog" misc/NEWS (#829) 27 March 2017, 01:25:57 UTC
1e73dbb Fix small exception typos in Lib (#818) 26 March 2017, 20:59:08 UTC
f8beb98 bpo-29888: Fix the link referring to the "Python download page" (GH-824) 26 March 2017, 17:32:24 UTC
62a9951 bpo-29900: Simplify pathlib implementation. (#814) Since functions in the os module support path-like objects, explicit converting Path to str no longer needed. 25 March 2017, 11:42:11 UTC
4aec9a8 bpo-29901: Improve support of path-like objects in zipapp. (#815) Now general path-like objects are supported, not just pathlib.Path. 25 March 2017, 11:05:23 UTC
3c749fc Simplify partial.__new__. (#813) Fast paths in partial.__new__ no longer needed since concatenating with empty tuple was optimized. 25 March 2017, 10:10:16 UTC
9f0aa48 bpo-29862: Fix grammar in importlib.reload() exception (GH-809) 25 March 2017, 04:51:21 UTC
29540cd bpo-29892: Fix wrong markup on doc-lib-functions (GH-802) 25 March 2017, 02:55:08 UTC
8f9e1bb bpo-28810: Document remaining bytecode changes in 3.6 (GH-651) 24 March 2017, 21:05:04 UTC
671079e bpo-29894: Deprecate returning an instance of complex subclass from __complex__. (#798) In a future versions of Python this can be an error. 24 March 2017, 19:28:43 UTC
af7b9ec 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. 24 March 2017, 18:51:53 UTC
8988945 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 24 March 2017, 12:52:11 UTC
e304e33 bpo-19930: The mode argument of os.makedirs() no longer affects the file (#799) permission bits of newly-created intermediate-level directories. 24 March 2017, 11:27:42 UTC
5619ab2 doc: Fix small typos in library/multiprocessing (GH-698) 24 March 2017, 08:26:07 UTC
8a543c0 `make tags` fixes (GH-717) * Fix `make tags` warnings `make tags` target tries to find C sources and headers in "Grammar" and "Mac" folders and generates these warnings: ctags: Warning: cannot open source file "Grammar/*.[ch]" : No such file or directory ctags: Warning: cannot open source file "Mac/*.[ch]" : No such file or directory This commit changes $SRCDIRS variable in configure.ac to remote these directories. This variable is used only for tags generation. Also, "configure" was regenerated with `autoreconf`. * Fix `make tags` fail on non-default tag names When ctags overrides default tags filename (e.g. `-f .tags`) `make tags` is failed because it assumes to see default `tags` filename: sort: cannot read: tags: No such file or directory This commit explicitly specifies "tags" filename for tags generation. 24 March 2017, 08:23:43 UTC
20fbf8a faulthandler: Restore the old sigaltstack during teardown (#777) 23 March 2017, 17:14:29 UTC
0b3ec19 Use NULL rather than 0. (#778) There was few cases of using literal 0 instead of NULL in the context of pointers. While this was a legitimate C code, using NULL rather than 0 makes the code clearer. 23 March 2017, 15:53:47 UTC
aefa7eb bpo-6532: Make the thread id an unsigned integer. (#781) * bpo-6532: Make the thread id an unsigned integer. From C API side the type of results of PyThread_start_new_thread() and PyThread_get_thread_ident(), the id parameter of PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState changed from "long" to "unsigned long". * Restore a check in thread_get_ident(). 23 March 2017, 13:48:39 UTC
1e2147b bpo-29728: Provide socket.TCP_NOTSENT_LOWAT (#477) * Provide socket.TCP_NOTSENT_LOWAT * New TCP option available on recent MacOS and Linux. * Document addition of TCP_NOTSENT_LOWAT 23 March 2017, 03:56:55 UTC
back to top