https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
90a6785 Bump to 3.7.0a3 05 December 2017, 08:27:19 UTC
3f9a728 Update NEWS and pydoc topics. 05 December 2017, 08:17:33 UTC
d4d2b56 Tidy NEWS entry. 05 December 2017, 07:45:57 UTC
ae342cf Add a missing space in tkinter documentation. (GH-4692) 05 December 2017, 05:05:33 UTC
b3edde8 bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720) The undecodable file name cannot be created on macOS APFS file systems. 05 December 2017, 04:42:02 UTC
e6f8a73 Update macOS installer to XZ 5.2.3 (#4718) 05 December 2017, 03:55:20 UTC
24e0469 bpo-31392: Update macOS installer to use OpenSSL 1.0.2m (#4715) 05 December 2017, 03:24:41 UTC
8837dd0 bpo-19610: Warn if distutils is provided something other than a list to some fields (#4685) * Rather than raise TypeError, warn and call list() on the value. * Fix tests, revise NEWS and whatsnew text. * Revise documentation, a string is okay as well. * Ensure 'requires' and 'obsoletes' are real lists. * Test that requires and obsoletes are turned to lists. 05 December 2017, 02:58:12 UTC
9625bf5 Enable SQLite JSON functions for macOS installer build (#4712) 05 December 2017, 02:50:29 UTC
29bc193 [bpo-28556] Minor fixes for typing module (#4710) 05 December 2017, 02:43:58 UTC
ca7562a bpo-28791: Update macOS installer to use SQLite 3.21.0. (#4245) 05 December 2017, 02:04:49 UTC
2c0c68d bpo-30928: update idlelib/NEWS.txt. (#4706) 04 December 2017, 22:04:15 UTC
f0db54a bpo-32214: Implement PEP 557: Data Classes (#4704) 04 December 2017, 21:58:55 UTC
1e2fcac bpo-32207: Improve tk event exception tracebacks in IDLE. (#4703) When tk event handling is driven by IDLE's run loop, a confusing and distracting queue.EMPTY traceback context is no longer added to tk event exception tracebacks. The traceback is now the same as when event handling is driven by user code. Patch based on a suggestion by Serhiy Storchaka. 04 December 2017, 21:16:18 UTC
21255fc bpo-30928: Update idlelib/NEWS.txt to 2017 Dec 3. (#4701) Patches are in 3.7.0a3 even if this update is not. 04 December 2017, 19:48:25 UTC
31a8393 Revert "bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. (#4681)" (#4694) * Revert "bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. (#4681)" This reverts commit 13badcbc60cdbfae1dba1683fd2fae9d70717143. Re-apply commits: * "bpo-32030: _PyPathConfig_Init() sets home and program_name (#4673)" commit af5a895073c24637c094772b27526b94a12ec897. * "bpo-32030: Fix config_get_program_name() on macOS (#4669)" commit e23c06e2b03452c9aaf0dae52296c85e572f9bcd. * "bpo-32030: Add Python/pathconfig.c (#4668)" commit 0ea395ae964c9cd0f499e2ef0d0030c971201220. * "bpo-32030: Don't call _PyPathConfig_Fini() in Py_FinalizeEx() (#4667)" commit ebac19dad6263141d5db0a2c923efe049dba99d2. * "bpo-32030: Fix Py_GetPath(): init program_name (#4665)" commit 9ac3d8882712c9675c3d2f9f84af6b5729575cde. * Fix compilation error on macOS 04 December 2017, 12:39:15 UTC
70d56fb bpo-25054, bpo-1647489: Added support of splitting on zerowidth patterns. (#4471) Also fixed searching patterns that could match an empty string. 04 December 2017, 12:29:05 UTC
e69fbb6 Fix a regression in uuid added in bpo-32107. (#4677) uuid.get_node() always must return a stable result. Also added a test for non-reproducibility of _random_getnode(). Original patch by Xavier de Gaye. 04 December 2017, 09:51:55 UTC
85d5c18 bpo-27240 Rewrite the email header folding algorithm. (#3488) The original algorithm tried to delegate the folding to the tokens so that those tokens whose folding rules differed could specify the differences. However, this resulted in a lot of duplicated code because most of the rules were the same. The new algorithm moves all folding logic into a set of functions external to the token classes, but puts the information about which tokens can be folded in which ways on the tokens...with the exception of mime-parameters, which are a special case (which was not even implemented in the old folder). This algorithm can still probably be improved and hopefully simplified somewhat. Note that some of the test expectations are changed. I believe the changes are toward more desirable and consistent behavior: in general when (re) folding a line the canonical version of the tokens is generated, rather than preserving errors or extra whitespace. 03 December 2017, 23:51:41 UTC
29ba688 bpo-31619: Fixed integer overflow in converting huge strings to int. (#3884) 03 December 2017, 20:16:21 UTC
1fb72d2 bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570) instead of crashing due to a stack overflow. This perhaps will fix similar problems in other extension types. 03 December 2017, 20:12:11 UTC
eea3cc1 Refactor PyImport_ImportModuleLevelObject(). (#4680) Add import_find_and_load() helper function. The addition of the importtime option has made PyImport_ImportModuleLevelObject() large and so using a helper seems worthwhile. It also makes it clearer that abs_name is the only argument needed by _find_and_load(). 03 December 2017, 17:26:03 UTC
078f181 bpo-32176: Set CO_NOFREE in the code object constructor (GH-4675) Previously, CO_NOFREE was set in the compiler, which meant it could end up being set incorrectly when code objects were created directly. Setting it in the constructor based on freevars and cellvars ensures it is always accurate, regardless of how the code object is defined. 03 December 2017, 01:12:20 UTC
7324b5c bpo-31589 : Build PDF using xelatex for better UTF8 support. (#3940) Also addresses doc build failures documented in bpo-32200. 02 December 2017, 22:24:39 UTC
1eaa116 Add a minimal unit test for Python/frozen.c. (#2995) If the marshal or bytecode formats get changed, frozen.c needs to be updated as well. It can be easy to miss this step and not doing so can cause test_importlib to crash in mysterious ways. Add an explict unit test to make it easier to track down the problem. 02 December 2017, 21:54:00 UTC
13badcb bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. (#4681) * Revert "bpo-32030: _PyPathConfig_Init() sets home and program_name (#4673)" This reverts commit af5a895073c24637c094772b27526b94a12ec897. * Revert "bpo-32030: Fix config_get_program_name() on macOS (#4669)" This reverts commit e23c06e2b03452c9aaf0dae52296c85e572f9bcd. * Revert "bpo-32030: Add Python/pathconfig.c (#4668)" This reverts commit 0ea395ae964c9cd0f499e2ef0d0030c971201220. * Revert "bpo-32030: Don't call _PyPathConfig_Fini() in Py_FinalizeEx() (#4667)" This reverts commit ebac19dad6263141d5db0a2c923efe049dba99d2. * Revert "bpo-32030: Fix Py_GetPath(): init program_name (#4665)" This reverts commit 9ac3d8882712c9675c3d2f9f84af6b5729575cde. 02 December 2017, 19:36:00 UTC
af5a895 bpo-32030: _PyPathConfig_Init() sets home and program_name (#4673) _PyPathConfig_Init() now also initialize home and program_name: * Rename existing _PyPathConfig_Init() to _PyPathConfig_Calculate(). Add a new _PyPathConfig_Init() function in pathconfig.c which handles the _Py_path_config variable and call _PyPathConfig_Calculate(). * Add home and program_name fields to _PyPathConfig.home * _PyPathConfig_Init() now initialize home and program_name from main_config * Py_SetProgramName(), Py_SetPythonHome() and Py_GetPythonHome() now calls Py_FatalError() on failure, instead of silently ignoring failures. * config_init_home() now gets directly _Py_path_config.home to only get the value set by Py_SetPythonHome(), or NULL if Py_SetPythonHome() was not called. * config_get_program_name() now gets directly _Py_path_config.program_name to only get the value set by Py_SetProgramName(), or NULL if Py_SetProgramName() was not called. * pymain_init_python() doesn't call Py_SetProgramName() anymore, _PyPathConfig_Init() now always sets the program name * Call _PyMainInterpreterConfig_Read() in pymain_parse_cmdline_envvars_impl() to control the memory allocator * C API documentation: it's no more safe to call Py_GetProgramName() before Py_Initialize(). 02 December 2017, 09:11:32 UTC
e23c06e bpo-32030: Fix config_get_program_name() on macOS (#4669) 01 December 2017, 20:19:48 UTC
0ea395a bpo-32030: Add Python/pathconfig.c (#4668) * Factorize code from PC/getpathp.c and Modules/getpath.c to remove duplicated code * rename pathconfig_clear() to _PyPathConfig_Clear() * Inline _PyPathConfig_Fini() in pymain_impl() and then remove it, since it's a oneliner 01 December 2017, 19:50:58 UTC
ebac19d bpo-32030: Don't call _PyPathConfig_Fini() in Py_FinalizeEx() (#4667) Changes: * _PyPathConfig_Fini() cannot be called in Py_FinalizeEx(). Py_Initialize() and Py_Finalize() can be called multiple times, but it must not "forget" parameters set by Py_SetProgramName(), Py_SetPath() or Py_SetPythonHome(), whereas _PyPathConfig_Fini() clear all these parameters. * config_get_program_name() and calculate_program_full_path() now also decode paths using Py_DecodeLocale() to use the surrogateescape error handler, rather than decoding using mbstowcs() which is strict. * Change _Py_CheckPython3() prototype: () => (void) * Truncate a few lines which were too long 01 December 2017, 19:09:52 UTC
9ac3d88 bpo-32030: Fix Py_GetPath(): init program_name (#4665) * _PyMainInterpreterConfig_ReadEnv() now sets program_name from environment variables and pymain_parse_envvars() implements the falls back on argv[0]. * Remove _PyMain.program_name: use the program_name from _PyMainInterpreterConfig * Move the Py_SetProgramName() call back to pymain_init_python(), just before _Py_InitializeCore(). * pathconfig_global_init() now also calls _PyMainInterpreterConfig_Read() to set program_name if it isn't set yet * Cleanup PyCalculatePath: pass main_config to subfunctions to get directly fields from main_config (home, module_search_path_env and program_name) 01 December 2017, 18:30:41 UTC
b64de46 bpo-32030: Cleanup "path config" code (#4663) * Rename PyPathConfig structure to _PyPathConfig and move it to Include/internal/pystate.h * Rename path_config to _Py_path_config * _PyPathConfig: Rename program_name field to program_full_path * Add assert(str != NULL); to _PyMem_RawWcsdup(), _PyMem_RawStrdup() and _PyMem_Strdup(). * Rename calculate_path() to pathconfig_global_init(). The function now does nothing if it's already initiallized. 01 December 2017, 17:27:09 UTC
8f5c28b Fix asyncio.streams.FlowControlMixin docstring typo. (#4578) 01 December 2017, 12:33:40 UTC
bf2b65e bpo-28668: test.support.requires_multiprocessing_queue is removed (GH-4560) Skip tests with test.support.import_module('multiprocessing.synchronize') instead when the semaphore implementation is broken or missing. 01 December 2017, 07:08:49 UTC
a561862 Don't hide unexpected errors in PyErr_WarnExplicitObject(). (#4585) 01 December 2017, 06:40:23 UTC
73a7e9b bpo-10544: Deprecate "yield" in comprehensions and generator expressions. (GH-4579) The current behaviour of yield expressions inside comprehensions and generator expressions is essentially an accident of implementation - it arises implicitly from the way the compiler handles yield expressions inside nested functions and generators. Since the current behaviour wasn't deliberately designed, and is inherently confusing, we're deprecating it, with no current plans to reintroduce it. Instead, our advice will be to use a named nested generator definition for cases where this behaviour is desired. 01 December 2017, 04:54:17 UTC
6a89481 bpo-32186: Release the GIL during lseek and fstat (#4652) In _io_FileIO_readall_impl(), lseek() and _Py_fstat_noraise() were called without releasing the GIL. This can cause all threads to hang for unlimited time when calling FileIO.read() and the NFS server is not accessible. 01 December 2017, 01:18:58 UTC
c319eee Fix CID-1420310: cast PY_TIMEOUT_MAX to _Py_time_t (#4646) Fix the following false-alarm Coverity warning: Result is not floating-point (UNINTENDED_INTEGER_DIVISION)integer_division: Dividing integer expressions 9223372036854775807LL and 1000LL, and then converting the integer quotient to type double. Any remainder, or fractional part of the quotient, is ignored. To compute and use a non-integer quotient, change or cast either operand to type double. If integer division is intended, consider indicating that by casting the result to type long long . 30 November 2017, 22:03:47 UTC
3be3b97 make tags: index also Modules/_ctypes/ (#4648) Avoid also "cd $(srcdir)" to not change the current directory. 30 November 2017, 21:49:10 UTC
a897aee bpo-32072: Fix issues with binary plists. (#4455) * Fixed saving bytearrays. * Identical objects will be saved only once. * Equal references will be load as identical objects. * Added support for saving and loading recursive data structures. 30 November 2017, 21:26:11 UTC
b4d1e1f bpo-20891: Fix PyGILState_Ensure() (#4650) When PyGILState_Ensure() is called in a non-Python thread before PyEval_InitThreads(), only call PyEval_InitThreads() after calling PyThreadState_New() to fix a crash. Add an unit test in test_embed. 30 November 2017, 21:05:00 UTC
986375e bpo-28416: Break reference cycles in Pickler and Unpickler subclasses (#4080) with the persistent_id() and persistent_load() methods. 30 November 2017, 20:48:31 UTC
bc8ac6b bpo-32030: Fix _Py_InitializeEx_Private() (#4649) _Py_InitializeEx_Private() now calls _PyMainInterpreterConfig_ReadEnv() to read environment variables PYTHONHOME and PYTHONPATH, and set the program name. 30 November 2017, 17:03:55 UTC
0efc024 Fix CID-1414686: PyInit_readline() handles errors (#4647) Handle PyModule_AddIntConstant() and PyModule_AddStringConstant() failures. Add also constants before calling setup_readline(), since setup_readline() registers callbacks which uses a reference to the module, whereas the module is destroyed if adding constants fails. Fix Coverity warning: CID 1414686: Unchecked return value (CHECKED_RETURN) 2. check_return: Calling PyModule_AddStringConstant without checking return value (as is done elsewhere 45 out of 55 times). 30 November 2017, 16:21:07 UTC
86afc1f Skip test_socket.test_sha256() on linux < 4.5 (#4643) bpo-31705. 30 November 2017, 12:58:43 UTC
5e3806f bpo-32101: Add PYTHONDEVMODE environment variable (#4624) * bpo-32101: Add sys.flags.dev_mode flag Rename also the "Developer mode" to the "Development mode". * bpo-32101: Add PYTHONDEVMODE environment variable Mention it in the development chapiter. 30 November 2017, 10:40:24 UTC
706e10b bpo-32121: Add most_recent_first parameter to tracemalloc.Traceback.format (#4534) * Add most_recent_first parameter to tracemalloc.Traceback.format to allow reversing the order of the frames in the output * Reversed default sorting of tracemalloc.Traceback frames * Allowed negative limit, truncating from the other side. 29 November 2017, 23:05:07 UTC
859f7ce bpo-32159: Revert Misc/svnmap.txt (#4639) Partially revert the commit fe2d5babba5d26de2093b6518316b268488187be. Clarify the usage of this file in Misc/README. 29 November 2017, 17:58:33 UTC
cc83920 bpo-32166: Drop Python 3.4 code from asyncio (#4612) * Drop Python 3.4 code from asyncio * Fix notes * Add missing imports * Restore comment * Resort imports * Drop Python 3.4-3.5 specific code * Drop redunant check * Fix tests * Restore _COROUTINE_TYPES order * Remove useless code 29 November 2017, 16:23:43 UTC
5d39e04 bpo-32030: Rework memory allocators (#4625) * Fix _PyMem_SetupAllocators("debug"): always restore allocators to the defaults, rather than only caling _PyMem_SetupDebugHooks(). * Add _PyMem_SetDefaultAllocator() helper to set the "default" allocator. * Add _PyMem_GetAllocatorsName(): get the name of the allocators * main() now uses debug hooks on memory allocators if Py_DEBUG is defined, rather than calling directly malloc() * Document default memory allocators in C API documentation * _Py_InitializeCore() now fails with a fatal user error if PYTHONMALLOC value is an unknown memory allocator, instead of failing with a fatal internal error. * Add new tests on the PYTHONMALLOC environment variable * Add support.with_pymalloc() * Add the _testcapi.WITH_PYMALLOC constant and expose it as support.with_pymalloc(). * sysconfig.get_config_var('WITH_PYMALLOC') doesn't work on Windows, so replace it with support.with_pymalloc(). * pythoninfo: add _testcapi collector for pymem 29 November 2017, 16:20:38 UTC
c15bb49 test_socket: socket.socketpair() is always available (#4634) 29 November 2017, 15:33:53 UTC
ef83806 bpo-32138: Skip on Android test_faulthandler tests that raise SIGSEGV (GH-4604) Remove the test.support.requires_android_level decorator. 29 November 2017, 10:43:23 UTC
cc55e78 bpo-32139: test_strftime does not anymore modify the locale (GH-4569) 29 November 2017, 10:36:48 UTC
041efd2 bpo-32164: Delete unused file idlelib/tabbedpages.py (#4628) 29 November 2017, 05:08:28 UTC
e8f7c78 bpo-30781: Remove unused imports in idlelib.configdialog. (#4627) 29 November 2017, 02:52:32 UTC
fd6f8c5 bpo-32100: Delete unneeded import in idlelib.pathbrowser. (#4626) 29 November 2017, 02:50:21 UTC
219c2de bpo-32110: codecs.StreamReader.read(n) now returns not more than n (#4499) characters/bytes for non-negative n. This makes it compatible with read() methods of other file-like objects. 28 November 2017, 23:30:00 UTC
23df2d1 bpo-32107 - Improve MAC address calculation and fix test_uuid.py (#4600) ``uuid.getnode()`` now preferentially returns universally administered MAC addresses if available, over locally administered MAC addresses. This makes a better guarantee for global uniqueness of UUIDs returned from ``uuid.uuid1()``. If only locally administered MAC addresses are available, the first such one found is returned. Also improve internal code style by being explicit about ``return None`` rather than falling off the end of the function. Improve the test robustness. 28 November 2017, 22:26:04 UTC
71bd588 bpo-32155: Revert distutils.config change (#4618) Revert distutils changes of the commit 696b501cd11dc429a0f661adeb598bfaf89e4112 and remove the realm variable. 28 November 2017, 22:19:26 UTC
fe2d5ba bpo-32159: Remove tools for CVS and Subversion (#4615) CPython migrated from CVS to Subversion, to Mercurial, and then to Git. CVS and Subversion are not more used to develop CPython. * platform module: drop support for sys.subversion. The sys.subversion attribute has been removed in Python 3.3. * Remove Misc/svnmap.txt * Remove Tools/scripts/svneol.py * Remove Tools/scripts/treesync.py 28 November 2017, 21:29:32 UTC
a4a3020 bpo-32157: Removed explicit quotes around %r and {!r}. (#4582) 28 November 2017, 20:54:42 UTC
c615be5 Use raw strings in the re module examples. (#4616) 28 November 2017, 20:51:38 UTC
ac577d7 bpo-32154: Remove asyncio.windows_utils.socketpair (#4609) 28 November 2017, 20:33:20 UTC
4d193bc bpo-32071: Fix regression and add What's New entry (#4589) * bpo-32071: Fix an undocumented behaviour regression * bpo-32071: Add 3.7 release note entry for unittest -k 28 November 2017, 19:40:44 UTC
a489599 bpo-32046: Update 2to3 when converts operator.isCallable(obj). (#4417) 28 November 2017, 16:26:56 UTC
598ceae bpo-32150: Expand tabs to spaces in C files. (#4583) 28 November 2017, 15:56:10 UTC
08d2b86 bpo-31440: Changed default module search path for windows 28 November 2017, 15:16:30 UTC
696b501 bpo-32155: Bugfixes found by flake8 F841 warnings (#4608) * distutils.config: Use the PyPIRCCommand.realm attribute if set * turtledemo: wait until macOS osascript command completes to not create a zombie process * Tools/scripts/treesync.py: declare 'default_answer' and 'create_files' as globals to modify them with the command line arguments. Previously, -y, -n, -f and -a options had no effect. flake8 warning: "F841 local variable 'p' is assigned to but never used". 28 November 2017, 14:30:32 UTC
4271dfd bpo-32154: Remove asyncio.selectors (#4605) * Remove asyncio.selectors and asyncio._overlapped symbols from the namespace of the asyncio module * Replace "from asyncio import selectors" with "import selectors" * Replace "from asyncio import _overlapped" with "import _overlapped" asyncio.selectors was added to support Python 3.3, which doesn't have selectors in its standard library, and Python 3.4 in the same code base. Same rationale for asyncio._overlapped. Python 3.3 reached its end of life, and asyncio is no more maintained as a third party module on PyPI. 28 November 2017, 14:19:56 UTC
3f438a9 asyncio: Remove asyncio/compat.py (#4606) The asyncio/compat.py file was written to support Python < 3.5 and Python < 3.5.2. But Python 3.5 doesn't accept bugfixes anymore, only security fixes. There is no more need to backport bugfixes to Python 3.5, and so no need to have a single code base for Python 3.5, 3.6 and 3.7. Say hello (again) to "async" and "await", who became real keywords in Python 3.7 ;-) 28 November 2017, 13:43:52 UTC
a10dc3e asyncio: use directly socket.socketpair() (#4597) Since Python 3.5, socket.socketpair() is also available on Windows, and so can be used directly, rather than using asyncio.windows_utils.socketpair(). 28 November 2017, 10:15:26 UTC
92f9339 asyncio: Fix BaseSelectorEventLoopTests (#4595) Currently, two tests fail with PYTHONASYNCIODEBUG=1 (or using -X dev). 27 November 2017, 23:35:55 UTC
c16bace asyncio: Remove unused Future._tb_logger attribute (#4596) It was only used on Python 3.3, now only Future._log_traceback is used. 27 November 2017, 23:35:33 UTC
28e6165 bpo-31245: asyncio: Fix typo, isistance => isinstance (#4594) 27 November 2017, 23:34:08 UTC
c9409f7 Revert "bpo-32107 - Better merge of #4494 (#4576)" (#4593) This reverts commit 9522a218f7dff95c490ff359cc60e8c2af35f5c8. 27 November 2017, 23:30:21 UTC
39f0bb5 bpo-32136: Separate embedding tests from C API tests (GH-4567) Some parts of the C API are only relevant to larger applications embedding CPython as a runtime engine. The helpers to test those APIs are already separated out into Programs/_testembed.c, this update moves the associated test cases out into their own dedicated test file. 27 November 2017, 22:11:51 UTC
122fc13 Revert "bpo-30487: automatically create a venv and install Sphinx when running make (GH-4346)" (#4592) Fix breakage documented in bpo-32149. This reverts commit d8d6b9122134f040cd5a4f15f40f6c9e3386db4d. 27 November 2017, 22:07:32 UTC
9522a21 bpo-32107 - Better merge of #4494 (#4576) Improve UUID1 MAC address calculation and related tests. There are two bits in the MAC address that are relevant to UUID1. The first is the locally administered vs. universally administered bit (second least significant of the first octet). Physical network interfaces such as ethernet ports and wireless adapters will always be universally administered, but some interfaces --such as the interface that MacBook Pros communicate with their Touch Bars-- are locally administered. The former are guaranteed to be globally unique, while the latter are demonstrably *not* globally unique and are in fact the same on every MBP with a Touch Bar. With this bit is set, the MAC is locally administered; with it unset it is universally administered. The other bit is the multicast bit (least significant bit of the first octet). When no other MAC address can be found, RFC 4122 mandates that a random 48-bit number be generated. This randomly generated number *must* have the multicast bit set. The improvements in uuid.py include: * Preferentially return a universally administered MAC address, falling back to a locally administered address if none of the former can be found. * Improve several coding style issues, such as adding explicit returns of None, using a more readable bitmask pattern, and assuming that the ultimate fallback, random MAC generation will not fail (and propagating any exception there instead of swallowing them). Improvements in test_uuid.py include: * Always testing the calculated MAC for universal administration, unless explicitly disabled (i.e. for the random case), or implicitly disabled due to running in the Travis environment. Travis test machines have *no* universally administered MAC address at the time of this writing. 27 November 2017, 19:40:10 UTC
c975878 bpo-27535: Fix memory leak with warnings ignore (#4489) The warnings module doesn't leak memory anymore in the hidden warnings registry for the "ignore" action of warnings filters. The warn_explicit() function doesn't add the warning key to the registry anymore for the "ignore" action. 27 November 2017, 15:57:07 UTC
21c7730 bpo-32089: Use default action for ResourceWarning (#4584) In development and debug mode, use the "default" action, rather than the "always" action, for ResourceWarning in the default warnings filters. 27 November 2017, 11:11:55 UTC
c172fc5 bpo-32051: Fix name shadowing in multiprocessing docs (GH-4469) 27 November 2017, 01:18:33 UTC
ede2ac9 bpo-23033: Improve SSL Certificate handling (GH-937) Wildcard is now supported in hostname when it is one and only character in the leftmost segment. 26 November 2017, 22:31:27 UTC
0cd2e81 bpo-29879: Update typing documentation. (GH-4573) - Add "version added: 3.5.2" note where it was missing. - Remove the mention that Reversible is new in 3.5.2 26 November 2017, 22:23:02 UTC
d8d6b91 bpo-30487: automatically create a venv and install Sphinx when running make (GH-4346) 26 November 2017, 21:18:30 UTC
a6fba9b bpo-32126: Skip asyncio test when sem_open() is not functional (GH-4559) 26 November 2017, 09:31:44 UTC
4274609 bpo-32096: Ensure new embedding test can find the encodings module (GH-4566) 26 November 2017, 04:19:13 UTC
53efbf3 bpo-11063: Handle uuid.h being in default include path (GH-4565) find_file() returns an empty list if it finds the requested header on the standard include path, so header existence checks need to be explicitly against "is not None". 26 November 2017, 03:04:46 UTC
cef88b9 mark fatal_error as noreturn (#4563) clang can't figure out that fatal_error is noreturn itself and emits warnings: ../cpython/Python/pylifecycle.c:2116:1: warning: function declared 'noreturn' should not return [-Winvalid-noreturn] } ^ ../cpython/Python/pylifecycle.c:2125:1: warning: function declared 'noreturn' should not return [-Winvalid-noreturn] } ^ 25 November 2017, 21:02:55 UTC
76fdac4 bpo-26856: Skip test_pwd on Android until issue 32033 is fixed (GH-4561) 25 November 2017, 16:32:27 UTC
77f5139 bpo-32059: setup.py now also searches the sysroot paths (GH-4452) detect_modules() in setup.py now also searches the sysroot paths when cross-compiling. 25 November 2017, 16:25:30 UTC
cfa797c bpo-24641: Improved error message for JSON unserializible keys. (#4364) Also updated an example for default() in the module docstring. Removed quotes around type name in other error messages. 25 November 2017, 15:38:20 UTC
5b48dc6 bpo-32071: Add unittest -k option (#4496) * bpo-32071: Add unittest -k option 25 November 2017, 15:23:52 UTC
8d9bb11 bpo-28334: netrc() now uses expanduser() to find .netrc file (GH-4537) Previously, netrc.netrc() was raised an exception if $HOME is not set. Authored-By: Dimitri Merejkowsky <dimitri.merejkowsky@tanker.io> 25 November 2017, 10:37:22 UTC
9d5ec80 Improve Scheduler Objects documentation. (GH-4556) Mention that the lower the priority number, the higher priority it represents. 25 November 2017, 05:43:01 UTC
610e5af bpo-30004: Fix the code example of using group in Regex Howto Docs (GH-4443) The provided code example was supposed to find repeated words, however it returned false results. 25 November 2017, 04:56:00 UTC
9316ee4 bpo-32030: Add _PyPathConfig_Init() (#4551) * Add _PyPathConfig_Init() and _PyPathConfig_Fini() * Remove _Py_GetPathWithConfig() * _PyPathConfig_Init() returns _PyInitError to allow to handle errors properly * Add pathconfig_clear() * Windows calculate_path_impl(): replace Py_FatalError() with _PyInitError * Py_FinalizeEx() now calls _PyPathConfig_Fini() to release memory * Fix _Py_InitializeMainInterpreter() regression: don't initialize path config if _disable_importlib is false * PyPathConfig now uses dynamically allocated memory 25 November 2017, 02:17:57 UTC
706cb31 bpo-32128: Skip test_nntplib.test_article_head_body() (#4552) The NNTP server currently has troubles with SSL, whereas we don't have the control on this server. This test blocks all CIs, so disable it until a fix can be found. 25 November 2017, 01:42:18 UTC
f8802d8 Asyncion-Dev docs: Fix the reference to sys.excepthook (GH-4414) 24 November 2017, 23:39:39 UTC
f04ebe2 bpo-32030: Add _PyMainInterpreterConfig.program_name (#4548) * Py_Main() now calls Py_SetProgramName() earlier to be able to get the program name in _PyMainInterpreterConfig_ReadEnv(). * Rename prog to program_name * Rename progpath to program_name 24 November 2017, 23:01:23 UTC
46972b7 bpo-32030: Add _PyMainInterpreterConfig_ReadEnv() (#4542) Py_GetPath() and Py_Main() now call _PyMainInterpreterConfig_ReadEnv() to share the same code to get environment variables. Changes: * Add _PyMainInterpreterConfig_ReadEnv() * Add _PyMainInterpreterConfig_Clear() * Add _PyMem_RawWcsdup() * _PyMainInterpreterConfig: rename pythonhome to home * Rename _Py_ReadMainInterpreterConfig() to _PyMainInterpreterConfig_Read() * Use _Py_INIT_USER_ERR(), instead of _Py_INIT_ERR(), for decoding errors: the user is able to fix the issue, it's not a bug in Python. Same change was made in _Py_INIT_NO_MEMORY(). * Remove _Py_GetPythonHomeWithConfig() 24 November 2017, 21:55:40 UTC
back to top