Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-41333: Convert OrderedDict.pop() to Argument Clinic (GH-21534) | Serhiy Storchaka | 2020-07-19 | 5 | -25/+68 | |
| | ||||||
* | bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528) | scoder | 2020-07-18 | 3 | -7/+59 | |
| | | | | | Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call. Automerge-Triggered-By: @gvanrossum | |||||
* | bpo-39603: Prevent header injection in http methods (GH-18485) | AMIR | 2020-07-18 | 3 | -0/+39 | |
| | | | reject control chars in http method in http.client.putrequest to prevent http header injection | |||||
* | bpo-41325: Add version note for args and kwargs property in call object ↵ | Jordan Speicher | 2020-07-18 | 1 | -0/+3 | |
| | | | | (GH-21525) | |||||
* | bpo-41262: Convert memoryview to Argument Clinic. (GH-21421) | Serhiy Storchaka | 2020-07-18 | 2 | -74/+267 | |
| | ||||||
* | bpo-41288: Refactor of unpickling NEWOBJ and NEWOBJ_EX opcodes. (GH-21472) | Serhiy Storchaka | 2020-07-18 | 1 | -76/+33 | |
| | | | | * Share code for NEWOBJ and NEWOBJ_EX. * More detailed error messages. | |||||
* | Fix a small grammatical mistake in a comment (GH-21526) | Brett Cannon | 2020-07-17 | 1 | -1/+1 | |
| | | | Automerge-Triggered-By: @brettcannon | |||||
* | bpo-43104: Update NEWS to include CVE-2020-15801 reference (GH-21521) | Steve Dower | 2020-07-17 | 1 | -1/+1 | |
| | ||||||
* | bpo-40941: Unify implicit and explicit state in the frame and generator ↵ | Mark Shannon | 2020-07-17 | 9 | -95/+155 | |
| | | | | | | | objects into a single value. (GH-20803) * Merge gen and frame state variables into one. * Replace stack pointer with depth in PyFrameObject. Makes code easier to read and saves a word of memory. | |||||
* | bpo-41195: Add getter for Openssl security level (GH-21282) | matthewhughes934 | 2020-07-17 | 4 | -0/+44 | |
| | | | | | | | | | | | Add an accessor under SSLContext.security_level as a wrapper around SSL_CTX_get_security_level, see: https://www.openssl.org/docs/manmaster/man3/SSL_CTX_get_security_level.html ------ This is my first time contributing, so please pull me up on all the things I missed or did incorrectly. Automerge-Triggered-By: @tiran | |||||
* | bpo-41300: IDLE - save files with non-ascii chars (GH-21512) | Terry Jan Reedy | 2020-07-16 | 3 | -0/+6 | |
| | | | | Fix regression released in 3.9.0b4 and 3.8.4. | |||||
* | Fix trivial typo in the PEG string parser (GH-21508) | Eric V. Smith | 2020-07-16 | 1 | -1/+1 | |
| | ||||||
* | Fix possibly-unitialized warning in string_parser.c. (GH-21503) | Benjamin Peterson | 2020-07-16 | 1 | -15/+16 | |
| | | | | | | | | | | | | | | | | | | | | GCC says ``` ../cpython/Parser/string_parser.c: In function ‘fstring_find_expr’: ../cpython/Parser/string_parser.c:404:93: warning: ‘cols’ may be used uninitialized in this function [-Wmaybe-uninitialized] 404 | p2->starting_col_offset = p->tok->first_lineno == p->tok->lineno ? t->col_offset + cols : cols; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../cpython/Parser/string_parser.c:384:16: note: ‘cols’ was declared here 384 | int lines, cols; | ^~~~ ../cpython/Parser/string_parser.c:403:45: warning: ‘lines’ may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | p2->starting_lineno = t->lineno + lines - 1; | ~~~~~~~~~~~~~~~~~~^~~ ../cpython/Parser/string_parser.c:384:9: note: ‘lines’ was declared here 384 | int lines, cols; | ^~~~~ ``` and, indeed, if `PyBytes_AsString` somehow fails, lines & cols will not be initialized. | |||||
* | Remove unnecessary spaces in code blocks in urllib.parse.rst (GH-21500) | Christopher Yeh | 2020-07-16 | 1 | -15/+15 | |
| | | | | | This should also fix the syntax highlighting for these code blocks Automerge-Triggered-By: @csabella | |||||
* | bpo-31844: Move whatsnew note to 3.10.rst (GH-21504) | Berker Peksag | 2020-07-16 | 2 | -6/+6 | |
| | ||||||
* | bpo-31844: Remove _markupbase.ParserBase.error() (GH-8562) | Berker Peksag | 2020-07-16 | 3 | -17/+27 | |
| | ||||||
* | bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495) | Steve Dower | 2020-07-15 | 3 | -3/+36 | |
| | ||||||
* | bpo-40150: Fix mismatched argument in RegisterWaitForSingleObject() call ↵ | Zackery Spytz | 2020-07-15 | 1 | -3/+2 | |
| | | | | (GH-19686) | |||||
* | Fix -Wstring-prototypes warnings in _zoneinfo.c. (GH-21478) | Benjamin Peterson | 2020-07-15 | 1 | -2/+2 | |
| | ||||||
* | Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477) | Benjamin Peterson | 2020-07-15 | 1 | -1/+1 | |
| | ||||||
* | bpo-41302: Fix build with system libmpdec (GH-21481) | Felix Yan | 2020-07-15 | 2 | -6/+5 | |
| | | | | | | | Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one. | |||||
* | bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) | Rishi | 2020-07-15 | 4 | -0/+10 | |
| | | | | | Avoid infinite loop when reading specially crafted TAR files using the tarfile module (CVE-2019-20907). | |||||
* | bpo-20183: Convert _locale to the Argument Clinic (GH-14201) | Zackery Spytz | 2020-07-15 | 2 | -117/+760 | |
| | ||||||
* | bpo-41273: asyncio's proactor read transport's better performance by using ↵ | Tony Solomonik | 2020-07-14 | 3 | -46/+67 | |
| | | | | | | | | | | | | | | | recv_into instead of recv (#21442) * bpo-41273: Proactor transport read loop to use recv_into By using recv_into instead of recv we do not allocate a new buffer each time _loop_reading calls recv. This betters performance for any stream using proactor (basically any asyncio stream on windows). * bpo-41273: Double proactor read transport buffer size By doubling the read buffer size we get better performance. | |||||
* | bpo-32528: Document the change in inheritance of asyncio.CancelledError ↵ | JustAnotherArchivist | 2020-07-14 | 1 | -2/+4 | |
| | | | | | | | | | (GH-21474) #msg373510 [bpo-32528]()/#13528 changed `asyncio.CancelledError` such that it no longer inherits from `concurrent.futures.CancelledError`. As this affects existing code, specifically when catching the latter instead of the former in exception handling, it should be documented in the "What's new in 3.8?" document. Automerge-Triggered-By: @1st1 | |||||
* | Fix repeated words in Classes tutorial (GH-21455) | Paul McMillan | 2020-07-13 | 1 | -2/+2 | |
| | | | | | The phrase "At any time during execution," was repeated twice. Automerge-Triggered-By: @Mariatta | |||||
* | bpo-32192: A basic lazy importer example (GH-21330) | Joannah Nanjekye | 2020-07-13 | 1 | -0/+23 | |
| | | | | | | | * Add example on lazy imports * Use four spaces for indentation * change to console | |||||
* | bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458) | Serhiy Storchaka | 2020-07-13 | 3 | -8/+41 | |
| | | | Automerge-Triggered-By: @tiran | |||||
* | bpo-41146: Convert signal.default_int_handler() to Argument Clinic (GH-21197) | Serhiy Storchaka | 2020-07-12 | 2 | -9/+52 | |
| | ||||||
* | bpo-20175: Convert Modules/_multiprocessing to the Argument Clinic (GH-14245) | Zackery Spytz | 2020-07-12 | 5 | -94/+797 | |
| | ||||||
* | bpo-20181: Convert the readline module to the Argument Clinic (#14326) | Zackery Spytz | 2020-07-12 | 2 | -247/+1022 | |
| | ||||||
* | Fix error in docstrings in bisect module (GH-21422) | Sergey Golitsynskiy | 2020-07-11 | 1 | -2/+2 | |
| | | | | The docstrings for `bisect_right()` and `bisect_left()` contain sample code that has a bug: `a.insert(x)` should be `a.insert(i, x)`. | |||||
* | bpo-41228: Fix /a/are/ in monthcalendar() descripton (GH-21372) | Nima Dini | 2020-07-10 | 1 | -1/+1 | |
| | ||||||
* | bpo-36346: Make using the legacy Unicode C API optional (GH-21437) | Serhiy Storchaka | 2020-07-10 | 17 | -99/+360 | |
| | | | | Add compile time option USE_UNICODE_WCHAR_CACHE. Setting it to 0 makes the interpreter not using the wchar_t cache and the legacy Unicode C API. | |||||
* | bpo-20179: Convert the _overlapped module to the Argument Clinic (GH-14275) | Zackery Spytz | 2020-07-10 | 2 | -409/+1364 | |
| | ||||||
* | Fix typo in docs: 'created by th' -> 'created by the' (GH-21384) | marload | 2020-07-10 | 1 | -1/+1 | |
| | ||||||
* | bpo-39573: Use the Py_TYPE() macro (GH-21433) | Victor Stinner | 2020-07-10 | 7 | -12/+12 | |
| | | | Replace obj->ob_type with Py_TYPE(obj). | |||||
* | bpo-36346: Do not use legacy Unicode C API in ctypes. (#21429) | Serhiy Storchaka | 2020-07-10 | 3 | -29/+21 | |
| | ||||||
* | bpo-41263: Convert code.__new__ to Argument Clinic (GH-21426) | Serhiy Storchaka | 2020-07-10 | 2 | -38/+173 | |
| | ||||||
* | bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326) | Joannah Nanjekye | 2020-07-09 | 1 | -0/+1 | |
| | | | | | * Clarify __deepcopy__ memo dict argument usage * Add full stop | |||||
* | bpo-37765: Add keywords to IDLE tab completions (GH-15138) | Terry Jan Reedy | 2020-07-09 | 6 | -83/+110 | |
| | | | | | | | Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key. Rewrite Completions doc. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> | |||||
* | Remove trailing >>> in enum docs (GH-21358) | E-Paine | 2020-07-09 | 2 | -1/+1 | |
| | | | The >>> as the last line serve no purpose and are not colored correctly by Sphinx. | |||||
* | bpo-41172: Fix check for compiler in test suite (GH-21400) | Steve Dower | 2020-07-09 | 1 | -1/+7 | |
| | ||||||
* | bpo-29590: fix stack trace for gen.throw() with yield from (#19896) | Chris Jerdonek | 2020-07-09 | 3 | -0/+61 | |
| | | | | | | | | * Add failing test. * bpo-29590: fix stack trace for gen.throw() with yield from (GH-NNNN) When gen.throw() is called on a generator after a "yield from", the intermediate stack trace entries are lost. This commit fixes that. | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21412) | Hai Shi | 2020-07-09 | 18 | -134/+154 | |
| | ||||||
* | bpo-41199: Docstring convention not followed for dataclasses documentation ↵ | marload | 2020-07-09 | 1 | -1/+1 | |
| | | | | | page (GH-21413) Automerge-Triggered-By: @ericvsmith | |||||
* | bpo-41252: Fix incorrect refcounting in _ssl.c's _servername_callback() ↵ | Zackery Spytz | 2020-07-09 | 2 | -1/+3 | |
| | | | | (GH-21407) | |||||
* | Doc: Builtins functions: faster jump table (GH-21376) | Julien Palard | 2020-07-09 | 1 | -18/+32 | |
| | ||||||
* | bpo-40597: Allow email.contextmanager set_content() to set a null string. ↵ | Mark Sapiro | 2020-07-08 | 3 | -1/+15 | |
| | | | | (GH-20542) | |||||
* | bpo-41175: Guard against a NULL pointer dereference within bytearrayobject ↵ | stratakis | 2020-07-08 | 2 | -1/+5 | |
| | | | | | | | (GH-21240) The issue is triggered by the bytearray() + bytearray() operation. Detected by GCC 10 static analysis tool. |