https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
f7ac4fe Bump to 3.7.0a2 17 October 2017, 03:50:50 UTC
c730223 Update NEWS and topics for 3.7.0a2 17 October 2017, 03:41:55 UTC
c30b55b bpo-31558: Update NEWS and ACKS (#4013) 16 October 2017, 21:39:08 UTC
c75edab bpo-31558: Add gc.freeze() (#3705) Freeze all the objects tracked by gc - move them to a permanent generation and ignore all the future collections. This can be used before a POSIX fork() call to make the gc copy-on-write friendly or to speed up collection. 16 October 2017, 19:49:41 UTC
bdaeb7d bpo-31773: _PyTime_GetPerfCounter() uses _PyTime_t (GH-3983) * Rewrite win_perf_counter() to only use integers internally. * Add _PyTime_MulDiv() which compute "ticks * mul / div" in two parts (int part and remaining) to prevent integer overflow. * Clock frequency is checked at initialization for integer overflow. * Enhance also pymonotonic() to reduce the precision loss on macOS (mach_absolute_time() clock). 16 October 2017, 15:44:31 UTC
0df1905 bpo-31776: Missing "raise from None" in Lib/xml/etree/ElementPath.py (#3978) 16 October 2017, 08:24:22 UTC
676db4b bpo-31792: Restore os.environ in test_buffer when import numpy. (#4007) 16 October 2017, 07:38:14 UTC
1295e11 completly -> completely (#3999) (closes bpo-31788) 15 October 2017, 19:28:31 UTC
1b9e76e bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993) 15 October 2017, 07:31:36 UTC
28773ca bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4002) Patch by Pablo. 15 October 2017, 03:41:13 UTC
620f70e bpo-25588: Document autotest in idle_test/README.txt. (#4000) Follow-up to Victor's patch that enabled autotest to run in IDLE's Shell. 15 October 2017, 01:31:14 UTC
8c26a34 bpo-31757: Make Fibonacci examples consistent (#3991) 14 October 2017, 14:36:08 UTC
073150d bpo-31672: doc: Remove one sentence from library/string.rst (GH-3990) This sentence is removed while backporting to 3.6 branch. See https://github.com/python/cpython/pull/3982#discussion_r144555768 14 October 2017, 12:22:41 UTC
cd195e2 bpo-31714: Improved regular expression documentation. (#3907) 14 October 2017, 08:14:26 UTC
ef611c9 bpo-30807: signal.setitimer() now uses _PyTime API (GH-3865) The _PyTime API handles detects overflow and is well tested. Document that the signal will only be sent once if internal is equal to zero. 13 October 2017, 20:49:43 UTC
a505ecd bpo-31676: Fix test_imp.test_load_source() side effect (#3871) test_load_source() now replaces the current __name__ module with a temporary module to prevent side effects. 13 October 2017, 20:47:49 UTC
a991215 os.startfile(): add a C comment on security (#3877) LoadLibrary("SHELL32") is not vulnerable to DLL hijacking. 13 October 2017, 20:46:57 UTC
ccef823 bpo-25588: Fix regrtest when run inside IDLE (#3962) When regrtest in run inside IDLE, sys.stdout and sys.stderr are not TextIOWrapper objects and have no file descriptor associated: sys.stderr.fileno() raises io.UnsupportedOperation. Disable faulthandler and don't replace sys.stdout in that case. 13 October 2017, 19:59:12 UTC
7f58097 bpo-28647: Update -u documentation after bpo-30404 (GH-3961) 13 October 2017, 12:16:31 UTC
b22273e bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers (GH-3872) Pattern `[a-z]` with `IGNORECASE` flag can match to some non-ASCII characters. Straightforward solution for this is using `IGNORECASE | ASCII` flag. But users may subclass `Template` and override only `idpattern`. So we want to avoid changing `Template.flags`. So this commit uses local flag `-i` for `idpattern` and change `[a-z]` to `[a-zA-Z]`. 13 October 2017, 07:02:23 UTC
9255104 Improve test suite customization example (GH-3967) Reported by John Gamboa on docs@p.o at https://mail.python.org/pipermail/docs/2017-June/031942.html 13 October 2017, 03:41:57 UTC
6129250 Exclude non-default VENVDIR in Doc builds (#3974) 12 October 2017, 20:04:57 UTC
de07210 bpo-30058: Fixed buffer overflow in select.kqueue.control(). (#1095) 12 October 2017, 19:17:46 UTC
b7cbfe4 bpo-31766: restore 3.5 to docs version switchers (#3969) 12 October 2017, 18:08:43 UTC
03b9537 bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966) 12 October 2017, 16:28:55 UTC
cba9a0c bpo-31773: time.perf_counter() uses again double (GH-3964) time.clock() and time.perf_counter() now use again C double internally. Remove also _PyTime_GetWinPerfCounterWithInfo(): use _PyTime_GetPerfCounterDoubleWithInfo() instead on Windows. 12 October 2017, 15:51:56 UTC
0e61e67 bpo-31567: add or fix decorator markup in docs (#3959) 12 October 2017, 14:39:43 UTC
277c840 Cleanup pytime.c (#3955) * Move _PyTime_overflow() at the top * Move assertion on numerator into _PyTime_ObjectToDenominator() * PEP 7: add { ... } to if blocks 11 October 2017, 15:11:38 UTC
703ff38 bpo-28157: Improvements for the time module documentation (GH-928) * Separated functions and constants descriptions in sections. * Added a note about the limitations of timezone constants. * Removed redundant lists from the module docstring. 11 October 2017, 13:29:14 UTC
eeb5ffd bpo-31537: Update readline documentation example. (GH-3925) Change the code example from using `get_history_length` to `get_current_history_length`. 10 October 2017, 21:52:58 UTC
39ecb9c bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of Element.text and Element.tail (#3924) 10 October 2017, 20:26:24 UTC
93c5a5d bpo-31740: Prevent refleaks when sqlite3.Connection.__init__() is called more than once (GH-3944) 10 October 2017, 19:27:46 UTC
a997c7b bpo-31415: Add _PyTime_GetPerfCounter() and use it for -X importtime (#3936) * Add _PyTime_GetPerfCounter() * Use _PyTime_GetPerfCounter() for -X importtime 10 October 2017, 09:51:50 UTC
14aa00b Allow configure to handle PATH elements with spaces (#3935) 09 October 2017, 17:53:27 UTC
6e3d6b5 bpo-31701: faulthandler: ignore MSC and COM Windows exception (#3929) bpo-31701: On Windows, faulthandler.enable() now ignores MSC and COM exceptions. 09 October 2017, 16:52:32 UTC
c0cabc2 bpo-31723: Fix refleaks when zipimporter.__init__() is called more than once (GH-3919) 09 October 2017, 15:06:19 UTC
4d3f084 bpo-27867: Add a porting guide for PySlice_GetIndicesEx(). (#1973) 08 October 2017, 09:53:34 UTC
0ccc0f6 bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() always return a list (#3840) 08 October 2017, 08:17:46 UTC
f07e2b6 bpo-31642: Restore blocking "from" import by setting None in sys.modules. (#3834) 08 October 2017, 07:44:10 UTC
73ffd3f bpo-31724: Skip test_xmlrpc_net (GH-3921) With the upgrade of buildbot.python.org from Buildbot 0.8.x to 0.9.x, the xmlrpc interface has been removed. This test is now skipped until it can be rewritten to query a suitable substitute. 08 October 2017, 06:31:23 UTC
79ba471 bpo-31655: Validate keyword names in SimpleNamespace constructor. (#3909) 07 October 2017, 19:59:35 UTC
28f7136 bpo-31720: msilib documentation, change MsiError into MSIError (GH-3914) 07 October 2017, 14:55:00 UTC
02e82a0 bpo-31709: Update importlib magic (#3906) 06 October 2017, 14:18:10 UTC
a51b90a Document Py_GETENV() (#3890) 06 October 2017, 13:53:48 UTC
731e189 bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362) See PEP 539 for details. Highlights of changes: - Add Thread Specific Storage (TSS) API - Document the Thread Local Storage (TLS) API as deprecated - Update code that used TLS API to use TSS API 06 October 2017, 10:41:34 UTC
b8ab9d3 bpo-31708: Allow async generator expressions in synchronous functions (#3905) 06 October 2017, 06:58:28 UTC
faa135a bpo-31709: Drop support for asynchronous __aiter__. (#3903) 06 October 2017, 06:08:57 UTC
8656670 weaken pthread_getcpuclockid test (more bpo-31596) (#3904) There just isn't much we can assert in a portable way. 06 October 2017, 05:50:42 UTC
7faf7e5 closes bpo-31696: don't mention GCC in sys.version when building with clang (#3891) 06 October 2017, 04:15:14 UTC
ac31770 bpo-30406: Make async and await proper keywords (#1669) Per PEP 492, 'async' and 'await' should become proper keywords in 3.7. 06 October 2017, 03:24:46 UTC
2084b30 bpo-31523: Reliability improvements to the Windows build files (#3900) 05 October 2017, 20:35:36 UTC
36c1d1f PEP 553 built-in breakpoint() function (bpo-31353) (#3355) Implement PEP 553, built-in breakpoint() with support from sys.breakpointhook(), along with documentation and tests. Closes bpo-31353 05 October 2017, 16:11:18 UTC
4d07189 bpo-31556: asyncio.wait_for can cancel futures faster with timeout <= 0 (#3703) 05 October 2017, 16:04:39 UTC
11045c9 bpo-31178: Mock os.waitpid() in test_subprocess (#3896) Fix test_exception_errpipe_bad_data() and test_exception_errpipe_normal() of test_subprocess: mock os.waitpid() to avoid calling the real os.waitpid(0, 0) which is an unexpected side effect of the test. 05 October 2017, 13:32:53 UTC
c1c47c1 bpo-31671: re: Convert RegexFlag to int before compile (GH-3862) sre_compile does bit test (e.g. `flags & SRE_FLAG_IGNORECASE`) in loop. `IntFlag.__and__` and `IntFlag.__new__` made it slower. So this commit convert it to normal int before passing flags to `sre_compile()`. 05 October 2017, 08:19:26 UTC
af810b3 closes bpo-27494: Fix 2to3 handling of trailing comma after a generator expression (#3771) 05 October 2017, 07:10:09 UTC
a8ed117 remove tabs from getcompiler.c (#3892) 05 October 2017, 07:09:01 UTC
e14679c closes bpo-31596: Add an interface for pthread_getcpuclockid(3) (#3756) 05 October 2017, 07:01:56 UTC
55fd066 Add self and idlelib to CODEOWNERS file. (#3889) Followed format of other entries. 05 October 2017, 02:15:11 UTC
300dd55 bpo-30872: Update the curses docs to Python 3. (#2620) 04 October 2017, 19:44:13 UTC
db12ef7 Refactor multiplication and division of timedelta and float. (#3656) Implementations of these operations are virtually identical. 04 October 2017, 17:30:09 UTC
c02a1f4 bpo-31667: Fix gettext related links. (#3860) * Fix incorrect links. * Remove redundant links. * Add signatures and index entries for gettext related functions in the locale module. 04 October 2017, 17:28:20 UTC
77732be bpo-30404: The -u option now makes the stdout and stderr streams totally unbuffered. (#1667) 04 October 2017, 17:25:40 UTC
0b5e61d bpo-30397: Add re.Pattern and re.Match. (#1646) 04 October 2017, 17:09:49 UTC
8d5a3aa bpo-31683: Py_FatalError() now supports long error messages (#3878) On Windows, Py_FatalError() now limits the size to 256 bytes of the buffer used to call OutputDebugStringW(). Previously, the size depended on the length of the error message. 04 October 2017, 16:50:12 UTC
bf477a9 bpo-31677: email: Remove re.IGNORECASE flag (GH-3868) While there is not real bug in this case, using re.IGNORECASE without re.ASCII leads unexpected behavior. Instead of adding re.ASCII, this commit removes re.IGNORECASE flag because it's easier and simpler. This commit removes dead copy of the pattern in email.util module too. While the pattern is same, it is compiled separately because it had different flags. 04 October 2017, 03:47:38 UTC
e2d0dd2 Remove retired and security branches from active docs (#3879) 04 October 2017, 02:56:19 UTC
27c623c bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and split() (#3866) when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests. 03 October 2017, 19:39:55 UTC
929b40a bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). (#3864) 03 October 2017, 18:37:22 UTC
543386b bpo-31657: Add test coverage for the __debug__ case (GH-3450) Update the compile tests for optimization levels to also check that __debug__ blocks are included or excluded based on the optimization level. Patch by Diana Clarke. 03 October 2017, 16:46:56 UTC
85c0b89 bpo-31619: Fixed a ValueError when convert a string with large number of underscores (#3827) to integer with binary base. 03 October 2017, 11:13:44 UTC
1a87de7 bpo-31415: Add `-X importtime` option (GH-3490) It shows show import time of each module. It's useful for optimizing startup time. Typical usage: python -X importtime -c 'import requests' 03 October 2017, 10:46:34 UTC
e8c368d bpo-31540: Allow passing multiprocessing context to ProcessPoolExecutor (#3682) 03 October 2017, 09:53:17 UTC
efb560e bpo-31662: Fix typos in uploadrelease.bat script 02 October 2017, 15:53:55 UTC
e6cfdef bpo-31510: Fix multiprocessing test_many_processes() on macOS (#3857) On macOS, a process can exit with -SIGKILL if it is killed "early" with SIGTERM. 02 October 2017, 15:27:34 UTC
4337a0d bpo-11063: Fix _uuid module on macOS (#3855) On macOS, use uuid_generate_time() instead of uuid_generate_time_safe() of libuuid, since uuid_generate_time_safe() is not available. 02 October 2017, 14:57:59 UTC
1023dbb bpo-31516: current_thread() should not return a dummy thread at shutdown (#3673) bpo-31516: current_thread() should not return a dummy thread at shutdown 02 October 2017, 14:42:15 UTC
e6f62f6 bpo-31158: Fix nondeterministic read in test_pty (#3808) * bpo-31158: Fix nondeterministic read in test_pty * Reuse existing readline implementation from io. Thx to @pitrou * Updated comment Ideally, this commit is fixuped into the previous commit. Since there is already a comment on github, I won't rebase. 02 October 2017, 09:39:55 UTC
b75a228 bpo-31659: Use simple slicing to format PEM cert (GH-3849) DER_cert_to_PEM_cert() used textwrap.fill() to format PEM. But it's library to wrap lines on word boundary, while PEM is base64 encoded string. Additionally, importing textwrap is little slow. 02 October 2017, 07:33:42 UTC
edc05c5 remove comment about long-gone SGI modules (#3850) 02 October 2017, 06:37:57 UTC
5961e7c IDLE: make filetypes a tuple constant. (#3847) Save a bit of code, plus non-tuples get converted anyway to tuples by tkinter for the tk call. 01 October 2017, 23:01:27 UTC
2102c78 bpo-31336: Speed up type creation. (#3279) Speed up class creation by 10-20% by reducing the overhead in the necessary special method lookups. 01 October 2017, 08:37:47 UTC
d6bb65f bpo-31460: Simplify the API of IDLE's Module Browser. (#3842) Passing a widget instead of an flist with a root widget opens the option of creating a browser frame that is only part of a window. Passing a full file name instead of pieces assumed to come from a .py file opens the possibility of browsing python files that do not end in .py. 30 September 2017, 23:54:28 UTC
bfebfd8 bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. (#3839) 30 September 2017, 21:37:53 UTC
7dc46d8 bpo-31592: Fix an assertion failure in Python parser in case of a bad unicodedata.normalize(). (#3767) 30 September 2017, 17:16:24 UTC
f4ea642 bpo-31627: Make test_mailbox be lenient to empty hostname. (#3821) 30 September 2017, 14:10:57 UTC
101a5e8 bpo-31648: Improve ElementPath (#3835) * Allow whitespace inside of ElementPath predicates. * Add ElementPath predicate support for text comparison of the current node, like "[.='text']". 30 September 2017, 13:35:21 UTC
9811e80 bpo-31581: Reduce the number of imports for functools (GH-3757) 30 September 2017, 07:13:02 UTC
b24cd05 bpo-30806 netrc.__repr__() is broken for writing to file (GH-2491) netrc file format doesn't support quotes and escapes. See https://linux.die.net/man/5/netrc 30 September 2017, 07:10:31 UTC
3d2b407 bpo-31574: importlib dtrace (#3749) Importlib was instrumented with two dtrace probes to profile import timing. Signed-off-by: Christian Heimes <christian@python.org> 29 September 2017, 22:53:19 UTC
574562c bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (#3830) This was possible before. GH-1560 introduced a regression after 3.6.2 got released where only sequences were accepted now. This commit addresses this problem. 29 September 2017, 21:33:34 UTC
01c6a88 bpo-31602: Fix an assertion failure in zipimporter.get_source() in case of a bad zlib.decompress() (GH-3784) While a rare potential failure (it requires swapping out zlib.decompress() itself and forcing it to return a non-bytes object), this change prevents a potential C-level assertion failure and instead substitutes it with an exception. Thanks to Oren Milman for the patch. 29 September 2017, 18:34:31 UTC
6603373 Tweak formatting of PR message template (#3828) 29 September 2017, 18:16:38 UTC
8b4ff53 bpo-31285: Remove splitlines identifier from Python/_warnings.c (#3803) (forgot to remove it in #3219) 29 September 2017, 18:16:02 UTC
d87b105 bpo-31638: Add compression support to zipapp (GH-3819) Add optional argument `compressed` to `zipapp.create_archive`, and add option `--compress` to the command line interface of `zipapp`. 29 September 2017, 17:31:52 UTC
6fb0e4a explicitly list objects for the ar command (#3824) $^ is not portable. closes bpo-31625 29 September 2017, 16:26:48 UTC
d15108a stop using ranlib (closes bpo-31625) (#3815) Instead, simply pass 's' to ar. 29 September 2017, 15:42:41 UTC
90f1d98 bpo-25351: avoid activate failure on strict shells (GH-3804) 29 September 2017, 11:48:11 UTC
288d1da remove support for BSD/OS (closes bpo-31624) (#3812) 29 September 2017, 05:44:27 UTC
a106aec bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid (#3796) bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid. 28 September 2017, 21:03:06 UTC
back to top