Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-99662: fix typo in typing.TypeVarTuple docs (#99672) | GabrielAnguita | 2022-11-22 | 1 | -1/+1 |
| | |||||
* | gh-99659: Use correct exceptions in sqlite3 bigmem tests (#99660) | Łukasz Langa | 2022-11-21 | 2 | -4/+7 |
| | | | | | | The tests in question were added in 0eec6276fdcd by Serhiy. Apparently, sqlite3 changed exceptions raised in those cases in the mean time but the tests never ran because they require a high `-M` setting in the test runner. | ||||
* | gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664) | Steve Dower | 2022-11-21 | 2 | -1/+2 |
| | |||||
* | gh-96002: Add functional test for Argument Clinic (#96178) | colorfulappl | 2022-11-21 | 12 | -1/+3695 |
| | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
* | Add more details in test_unittest (GH-99626) | Serhiy Storchaka | 2022-11-21 | 2 | -35/+67 |
| | |||||
* | gh-99578: Fix refleak in _imp.create_builtin() (#99642) | Victor Stinner | 2022-11-21 | 3 | -1/+35 |
| | | | | Fix a reference bug in _imp.create_builtin() after the creation of the first sub-interpreter for modules "builtins" and "sys". | ||||
* | GH-95815: Document less specific error for os.remove (#99571) | Ronald Oussoren | 2022-11-21 | 1 | -1/+1 |
| | | | | | | | os.remove can raise PermissionError instead of IsADirectoryError, when the object to be removed is a directory (in particular on macOS). This reverts a change done in #14262. | ||||
* | gh-99337: Fix compile errors with gcc 12 on macOS (#99470) | Ronald Oussoren | 2022-11-21 | 7 | -9/+54 |
| | | | | | | | | Fix a number of compile errors with GCC-12 on macOS: 1. In pylifecycle.c the compile rejects _Pragma within a declaration 2. posixmodule.c was missing a number of ..._RUNTIME macros for non-clang on macOS 3. _ctypes assumed that __builtin_available is always present on macOS | ||||
* | gh-90994: Improve error messages upon call arguments syntax errors (GH-96893) | Lysandros Nikolaou | 2022-11-20 | 4 | -1149/+1427 |
| | |||||
* | gh-99581: Fix a buffer overflow in the tokenizer when copying lines that ↵ | Pablo Galindo Salgado | 2022-11-20 | 3 | -1/+25 |
| | | | | fill the available buffer (#99605) | ||||
* | gh-61460: Add a comment describing the multiprocessing.connection protocol ↵ | Gregory P. Smith | 2022-11-20 | 1 | -0/+68 |
| | | | | | | | | (gh-99623) Describe the multiprocessing connection protocol. It isn't a good protocol, but it is what it is. This way we can more easily reason about making changes to it in a backwards compatible way. | ||||
* | gh-99211: Point to except/except* on syntax errors when mixing them (GH-99215) | Lysandros Nikolaou | 2022-11-20 | 3 | -674/+718 |
| | | | Automerge-Triggered-By: GH:lysnikolaou | ||||
* | gh-99201: fix IndexError when initializing sysconfig config variables | Filipe Laíns | 2022-11-19 | 2 | -1/+8 |
| | |||||
* | Doc: Make functions.html readable again. (GH-99476) | Julien Palard | 2022-11-19 | 1 | -60/+60 |
| | |||||
* | gh-99284: [ctypes] remove `_use_broken_old_ctypes_structure_semantics_` ↵ | Nikita Sobolev | 2022-11-19 | 7 | -27/+7 |
| | | | | | (GH-99285) It was untested and undocumented. No code has been found in the wild that ever used it. | ||||
* | gh-85073: Add some missing links to source (GH-99363) | Stanley | 2022-11-18 | 8 | -0/+22 |
| | | | Add some missing links to source from Python docs | ||||
* | Doc: Replace question mark with fullstop (#99558) | Rafael Fontenelle | 2022-11-18 | 1 | -1/+1 |
| | | | | The sentence "Set the LC_CTYPE locale to the user preferred locale." should end with a period instead of a question mark. | ||||
* | Doc: Fix broken link to emscripten networking website (#99531) | Alexander Ryabov | 2022-11-18 | 1 | -1/+1 |
| | | | There was an extra `>` in the url. | ||||
* | gh-99553: fix bug where an ExceptionGroup subclass can wrap a BaseException ↵ | Irit Katriel | 2022-11-18 | 4 | -5/+37 |
| | | | | (GH-99572) | ||||
* | gh-99442: Fix handling in py.exe launcher when argv[0] does not include a ↵ | Steve Dower | 2022-11-18 | 3 | -51/+44 |
| | | | | file extension (GH-99542) | ||||
* | GH-98831: Refactor and fix cases generator (#99526) | Guido van Rossum | 2022-11-18 | 6 | -308/+405 |
| | | | | Also complete cache effects for BINARY_SUBSCR family. | ||||
* | GH-99298: Clean up attribute specializations (GH-99398) | Brandt Bucher | 2022-11-17 | 5 | -57/+39 |
| | |||||
* | GH-98686: Get rid of BINARY_OP_GENERIC and COMPARE_OP_GENERIC (GH-99399) | Brandt Bucher | 2022-11-17 | 8 | -206/+161 |
| | |||||
* | Add a macro for "inlining" new frames (GH-99490) | Brandt Bucher | 2022-11-17 | 3 | -86/+28 |
| | |||||
* | Misc copyedits in docs on built-in types (GH-24466) | Adorilson Bezerra | 2022-11-17 | 1 | -10/+14 |
| | | | | | | | | | | | | # DOC: Improvements in library/stdtypes This PR does the following: 1. Replaces :meth: by :func: around repr function 2. Adds links to Unicode Standard site 3. Makes explicit "when" you can call the `iskeyword` function. The previous text could cause confusion to readers, especially those with English as a second language. The reader could understand that the `isidentifier` method calls the `iskeyword` function. Now, it is explicit that the dev can do it. 4. Replaces a URL with an inline link. Automerge-Triggered-By: GH:AlexWaygood | ||||
* | gh-93649: Split float/long tests from _testcapimodule.c (GH-99549) | Erlend E. Aasland | 2022-11-17 | 9 | -625/+677 |
| | | | Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-99377: Revert audit events for thread state creation and free, because ↵ | Steve Dower | 2022-11-17 | 3 | -39/+1 |
| | | | | the GIL is not properly held at these times (GH-99543) | ||||
* | gh-99443: `descr_set_trampoline_call` return type should be `int` not ↵ | Hood Chatham | 2022-11-16 | 1 | -1/+1 |
| | | | | `PyObject*` (#99444) | ||||
* | Remove old comment (GH-99489) | Brandt Bucher | 2022-11-16 | 1 | -9/+0 |
| | |||||
* | gh-99370: Prefer LIBDIR from sysconfig when locating libpython for test ↵ | Steve Dower | 2022-11-16 | 1 | -1/+3 |
| | | | | (GH-99523) | ||||
* | gh-93649: Split watcher API tests from _testcapimodule.c (#99532) | Erlend E. Aasland | 2022-11-16 | 8 | -616/+651 |
| | |||||
* | gh-81057: Move the global Dict-Related Versions to _PyRuntimeState (gh-99497) | Eric Snow | 2022-11-16 | 16 | -48/+89 |
| | | | | | We also move the global func version. https://github.com/python/cpython/issues/81057 | ||||
* | gh-99300: Replace Py_INCREF() with Py_NewRef() (#99530) | Victor Stinner | 2022-11-16 | 18 | -74/+40 |
| | | | | Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef(). | ||||
* | gh-99377: Add audit events for thread creation and clear (GH-99378) | Steve Dower | 2022-11-16 | 7 | -7/+117 |
| | |||||
* | gh-81057: Move contextvars-related Globals to _PyRuntimeState (gh-99400) | Eric Snow | 2022-11-16 | 9 | -90/+82 |
| | | | | | This is part of the effort to consolidate global variables, to make them easier to manage (and make it easier to later move some of them to PyInterpreterState). https://github.com/python/cpython/issues/81057 | ||||
* | gh-81057: Move More Globals in Core Code to _PyRuntimeState (gh-99516) | Eric Snow | 2022-11-16 | 24 | -129/+240 |
| | | | https://github.com/python/cpython/issues/81057 | ||||
* | gh-99518: Fix escape symbol in `test_enum` (#99519) | Nikita Sobolev | 2022-11-16 | 1 | -1/+1 |
| | |||||
* | gh-93649: Split memory and docstring tests from _testcapimodule.c (#99517) | Erlend E. Aasland | 2022-11-16 | 7 | -671/+767 |
| | |||||
* | gh-96269: static and shared ext need different deps (#96316) | Christian Heimes | 2022-11-16 | 2 | -5/+10 |
| | |||||
* | gh-99300: Replace Py_INCREF() with Py_NewRef() (#99513) | Victor Stinner | 2022-11-16 | 12 | -44/+22 |
| | | | | Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef(). | ||||
* | gh-98940: Fix Mac/Extras.install.py File filter bug (#98943) | zhangbo | 2022-11-16 | 2 | -4/+4 |
| | | | | | Slightly simplify the script and fix a case issue in the name of ``.DS_Store`` files. Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | ||||
* | GH-98831: Implement basic cache effects (#99313) | Guido van Rossum | 2022-11-16 | 4 | -128/+202 |
| | |||||
* | Update Windows readme.txt to clarify Visual Studio required versions (GH-99522) | Ben Kuhn | 2022-11-16 | 1 | -1/+1 |
| | | | | | This is just a minor update to add a clarification to the requirements in the Windows build readme. Automerge-Triggered-By: GH:zooba | ||||
* | gh-99460 Emscripten trampolines on optimized METH_O and METH_NOARGS code ↵ | Hood Chatham | 2022-11-15 | 2 | -6/+6 |
| | | | | paths (#99461) | ||||
* | gh-92647: [Enum] use final status to determine lookup or create (GH-99500) | Ethan Furman | 2022-11-15 | 3 | -7/+28 |
| | | | | | | | * use final status to determine lookup or create * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | gh-81057: Move Globals in Core Code to _PyRuntimeState (gh-99496) | Eric Snow | 2022-11-15 | 17 | -168/+236 |
| | | | | | This is the first of several changes to consolidate non-object globals in core code. https://github.com/python/cpython/issues/81057 | ||||
* | Merge the 3.12.0a2 release into main. | Thomas Wouters | 2022-11-15 | 108 | -3287/+3338 |
|\ | |||||
| * | gh-99300: Use Py_NewRef() in Python/Python-ast.c (#99499) | Victor Stinner | 2022-11-15 | 2 | -144/+78 |
| | | | | | | | | | | | | Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in Python/Python-ast.c. Update Parser/asdl_c.py to regenerate code. | ||||
| * | gh-93649: Split pytime and datetime tests from _testcapimodule.c (#99494) | Erlend E. Aasland | 2022-11-15 | 7 | -678/+744 |
| | | |||||
| * | gh-99370: fix test_zippath_from_non_installed_posix (GH-99483) | Kai Zhang | 2022-11-15 | 1 | -51/+60 |
| | | | | | | | | | | | | When build with shared enabled, we need to set `LD_LIBRARY_PATH` for the non-installed python environment in test_zippath_from_non_installed_posix so that the python binary and find and link the libpython.so. |