Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-38234: Remove _PyPathConfig.dll_path (GH-16307) | Victor Stinner | 2019-09-20 | 5 | -95/+85 | |
| | | | | | | | | | The DLL path is not computed from any user configuration and cannot be configured by PyConfig. Instead, add a new _Py_dll_path global variable. Remove _PyConfig_SetPathConfig(): replaced with _PyPathConfig_Init(). Py_Initialize() now longer sets the "global path configuration", but only initialize _Py_dll_path. | |||||
* | bpo-38205: Py_UNREACHABLE() calls Py_FatalError() (GH-16290) | Victor Stinner | 2019-09-20 | 2 | -23/+19 | |
| | ||||||
* | bpo-33694: Remove test_asyncio ProactorDatagramTransportTests (GH-16288) | Victor Stinner | 2019-09-20 | 1 | -253/+0 | |
| | | | | ProactorDatagramTransportTests tests are too close to the implementation. | |||||
* | bpo-6559: Update _posixsubprocess.fork_exec doc (GH-16283) | Orivej Desh | 2019-09-20 | 1 | -4/+7 | |
| | | | | | | | | | | It did not list the argument added in d4cc7bf993eda4149a05ed25f2f33e18e43fd7c1. https://bugs.python.org/issue6559 Automerge-Triggered-By: @gpshead | |||||
* | bpo-37937: Mention frame.f_trace in sys.settrace docs (GH-15439) | Ram Rachum | 2019-09-20 | 2 | -0/+12 | |
| | | | | | | Mention frame.f_trace in sys.settrace docs, as well as the fact you still need to call `sys.settrace` to enable the tracing machinery before setting `frame.f_trace` will have any effect. | |||||
* | bpo-37353: Updated parser note about source code compatibility(GH-14277) | Prateek Nayak | 2019-09-20 | 1 | -1/+2 | |
| | ||||||
* | bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947) | Lisa Roach | 2019-09-20 | 5 | -69/+180 | |
| | ||||||
* | bpo-34002: Minor efficiency and clarity improvements in email package. (GH-7999) | Michael Selik | 2019-09-20 | 3 | -25/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Check intersection of two sets explicitly Comparing ``len(a) > ``len(a - b)`` is essentially looking for an intersection between the two sets. If set ``b`` does not intersect ``a`` then ``len(a - b)`` will be equal to ``len(a)``. This logic is more clearly expressed as ``a & b``. * Change while/pop to a for-loop Copying the list, then repeatedly popping the first element was unnecessarily slow. I also cleaned up a couple other inefficiencies. There's no need to unpack a tuple, then re-pack and append it. The list can be created with the first element instead of empty. Secondly, the ``endswith`` method returns a bool, so there's no need for an if- statement to set ``encoding`` to True or False. * Use set.intersection to check for intersections ``a.intersection(b)`` method is more clear of purpose than ``not a.isdisjoint(b)`` and avoids an unnecessary set construction that ``a & set(b)`` performs. * Use not isdisjoint instead of intersection While it reads slightly worse, the isdisjoint method will stop when it finds a counterexample and returns a bool, rather than looping over the entire iterable and constructing a new set. | |||||
* | bpo-38140: Make dict and weakref offsets opaque for C heap types (#16076) | Eddie Elizondo | 2019-09-19 | 8 | -8/+188 | |
| | | | | | | * Make dict and weakref offsets opaque for C heap types * Add news | |||||
* | bpo-34037: test_asyncio uses shutdown_default_executor() (GH-16284) | Victor Stinner | 2019-09-19 | 3 | -3/+13 | |
| | ||||||
* | bpo-37531: Skip test_regrtest.test_multiprocessing_timeout() on all ↵ | Victor Stinner | 2019-09-19 | 1 | -2/+1 | |
| | | | | platforms (GH-16282) | |||||
* | bpo-38155: Add __all__ to datetime module (GH-16203) | t k | 2019-09-19 | 3 | -0/+11 | |
| | | | https://bugs.python.org/issue38155 | |||||
* | bpo-34037: Fix test_asyncio failure and add loop.shutdown_default_executor() ↵ | Kyle Stanley | 2019-09-19 | 6 | -2/+54 | |
| | | | | (GH-15735) | |||||
* | Doc: Clarify dict equality irrespective of ordering. (GH-16266) | toonarmycaptain | 2019-09-19 | 1 | -1/+1 | |
| | ||||||
* | Doc: Corrected syntax for return annotation (GH-16265) | Jason Plurad | 2019-09-19 | 1 | -1/+1 | |
| | | | Signed-off-by: Jason Plurad <pluradj@us.ibm.com> | |||||
* | bpo-35696: Simplify long_compare() (GH-16146) | HongWeipeng | 2019-09-18 | 1 | -18/+18 | |
| | ||||||
* | Fix _PyTraceMalloc_Fini() definition (GH-16259) | Victor Stinner | 2019-09-18 | 1 | -1/+1 | |
| | | | The function return type is void, not int. | |||||
* | bpo-38203: faulthandler.dump_traceback_later() is always available (GH-16249) | Victor Stinner | 2019-09-18 | 6 | -38/+10 | |
| | | | | dump_traceback_later() and cancel_dump_traceback_later() functions of the faulthandler module are always available since Python 3.7. | |||||
* | bpo-38203: regrtest: put a 2 min timeout on Python exit (GH-16250) | Victor Stinner | 2019-09-18 | 1 | -10/+24 | |
| | ||||||
* | bpo-36546: No longer a need to make "data" positional only (GH-16252) | Raymond Hettinger | 2019-09-18 | 1 | -1/+1 | |
| | ||||||
* | bpo-37531: Skip test_regrtest.test_multiprocessing_timeout() on Windows ↵ | Victor Stinner | 2019-09-17 | 1 | -0/+2 | |
| | | | | | (GH-16247) It is a known and tracked bug: disable the test until it's fixed. | |||||
* | bpo-38070: Py_FatalError() logs runtime state (GH-16246) | Victor Stinner | 2019-09-17 | 3 | -32/+73 | |
| | ||||||
* | bpo-38070: Add _PyRuntimeState.preinitializing (GH-16245) | Victor Stinner | 2019-09-17 | 2 | -6/+16 | |
| | | | | | | Add _PyRuntimeState.preinitializing field: set to 1 while Py_PreInitialize() is running. _PyRuntimeState: rename also pre_initialized field to preinitialized. | |||||
* | bpo-38070: Enhance _PyObject_Dump() (GH-16243) | Victor Stinner | 2019-09-17 | 1 | -6/+7 | |
| | | | | _PyObject_Dump() now dumps the object address for freed objects and objects with ob_type=NULL. | |||||
* | bpo-38070: _Py_DumpTraceback() writes <no Python frame> (GH-16244) | Victor Stinner | 2019-09-17 | 1 | -5/+8 | |
| | | | | | When a Python thread has no frame, _Py_DumpTraceback() and _Py_DumpTracebackThreads() now write "<no Python frame>", rather than writing nothing. | |||||
* | bpo-38191: Turn warnings into errors in NamedTuple() and TypedDict(). (GH-16238) | Serhiy Storchaka | 2019-09-17 | 3 | -87/+13 | |
| | ||||||
* | bpo-38191: Accept arbitrary keyword names in NamedTuple() and TypedDict(). ↵ | Serhiy Storchaka | 2019-09-17 | 3 | -10/+135 | |
| | | | | | | | | (GH-16222) This includes such names as "cls", "self", "typename", "_typename", "fields" and "_fields". Passing positional arguments by keyword is deprecated. | |||||
* | bpo-37904: Edition on python tutorial - section 4 (GH-16169) | Diego Alberto Barriga Martínez | 2019-09-17 | 1 | -2/+2 | |
| | | | | | | | | | | | A little change on first paragraph of python tutorial to be more clearly https://bugs.python.org/issue37904 Automerge-Triggered-By: @ericvsmith | |||||
* | bpo-38187: Fix reference leak in test_tools (GH-16233) | Pablo Galindo | 2019-09-17 | 2 | -0/+6 | |
| | ||||||
* | bpo-38013: make async_generator_athrow object tolerant to throwing ↵ | Andrew Svetlov | 2019-09-17 | 3 | -5/+25 | |
| | | | | | | | | | | | | exceptions (GH-16070) Even when the helper is not started yet. This behavior follows conventional generator one. There is no reason for `async_generator_athrow` to handle `gen.throw()` differently. https://bugs.python.org/issue38013 | |||||
* | bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166) | Abraham Toriz Cruz | 2019-09-17 | 3 | -1/+11 | |
| | | | | In the format string for assert_called the evaluation order is incorrect and hence for mock's without name, 'None' is printed whereas it should be 'mock' like for other messages. The error message is ("Expected '%s' to have been called." % self._mock_name or 'mock'). | |||||
* | Doc: Fix grammar/spelling in ssl.VERIFY_CRL_CHECK_LEAF docs (GH-16221) | Jörn Heissler | 2019-09-17 | 1 | -2/+2 | |
| | ||||||
* | bpo-37531: regrtest main process uses shorter timeout (GH-16220) | Victor Stinner | 2019-09-17 | 1 | -6/+6 | |
| | | | | | | When using multiprocesss (-jN), the main process now uses a timeout of 60 seconds instead of the double of the --timeout value. The buildbot server stops a job which does not produce any output in 1200 seconds. | |||||
* | bpo-38192: Fix remaining passing of "loop" in the protocol examples (GH-16202) | Hrvoje Nikšić | 2019-09-17 | 1 | -5/+6 | |
| | | | | | | | See https://bugs.python.org/issue38192 . https://bugs.python.org/issue38192 | |||||
* | bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. ↵ | Serhiy Storchaka | 2019-09-17 | 3 | -38/+50 | |
| | | | | (GH-16190) | |||||
* | bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) | Terry Jan Reedy | 2019-09-17 | 3 | -4/+17 | |
| | | | | | One happens when EditorWindow.close is called twice. Printing a traceback, when IDLE is run from a terminal, is useless and annoying. | |||||
* | Doc: Add list(dict) in stdtypes library (GH-16209) | Adorilson Bezerra | 2019-09-17 | 1 | -0/+4 | |
| | ||||||
* | bpo-38183: Test_idle ignores user config directory GH-16198) | Terry Jan Reedy | 2019-09-16 | 5 | -35/+45 | |
| | | | | | It no longer tries to create or access .idlerc or any files within. Users must run IDLE to discover problems with saving settings. | |||||
* | bpo-28556: Update the opening note in typing docs (GH-16204) | Ivan Levkivskyi | 2019-09-16 | 1 | -4/+3 | |
| | | | | This PR replaces the old note mentioning that `typing` is a provisional module with a new one mentioning types are not enforced at runtime. I am not sure if there was any official announcement about making `typing` non-provisional, but _de-facto_ no new features were added during Python 3.7, and no backwards incompatible changes were made except for few small things that were considered bugs. | |||||
* | bpo-33936: Don't call obsolete init methods with OpenSSL 1.1.0+ (GH-16140) | Christian Heimes | 2019-09-16 | 2 | -1/+3 | |
| | | | | | | ``OPENSSL_VERSION_1_1`` was never defined in ``_hashopenssl.c``. https://bugs.python.org/issue33936 | |||||
* | Doc: Fix Wikipedia link for functools.lru_cache (GH-16183) | amist | 2019-09-16 | 1 | -1/+1 | |
| | ||||||
* | bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155) | Serhiy Storchaka | 2019-09-16 | 3 | -12/+29 | |
| | ||||||
* | bpo-38100: Fix spelling error in unittest.mock code (GH-16168) | marcoramirezmx | 2019-09-16 | 1 | -3/+3 | |
| | ||||||
* | Doc: Add link of GNU Readline library to interpreter tutorial (GH-16152) | Adorilson Bezerra | 2019-09-16 | 1 | -7/+8 | |
| | ||||||
* | bpo-38081: Add more non-fatal error codes for ntpath.realpath (GH-16156) | Steve Dower | 2019-09-16 | 1 | -7/+34 | |
| | ||||||
* | bpo-38117: Update bundled Windows OpenSSL to 1.1.1d (GH-16184) | Steve Dower | 2019-09-16 | 3 | -4/+5 | |
| | ||||||
* | Doc: remove duplicate word in controlflow tutorial (GH-16163) | Adorilson Bezerra | 2019-09-16 | 1 | -1/+1 | |
| | ||||||
* | Fix a possbile refleak in setint() of mmapmodule.c (GH-16136) | Hai Shi | 2019-09-16 | 1 | -1/+2 | |
| | ||||||
* | bpo-38117: Updated OpenSSL to 1.1.1d in macOS installer. (GH-16170) | Ned Deily | 2019-09-16 | 2 | -3/+4 | |
| | ||||||
* | bpo-38178: Don't explicitly pass "loop" to EchoClientProtocol. (GH-16159) | Hrvoje Nikšić | 2019-09-15 | 1 | -7/+7 | |
| | | | https://bugs.python.org/issue38178 |