Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-109485: Further improve `test_future_stmt` tests (#109486) | Nikita Sobolev | 2023-09-19 | 11 | -115/+106 | |
| | | | | Add assertSyntaxError() which run tests with an additional docstring and without docstring, and checks for the error message. | |||||
* | gh-109435: Add Doc/library/cmdline.rst (#109436) | Victor Stinner | 2023-09-19 | 9 | -0/+70 | |
| | | | Document modules providing a command-line interface (CLI). | |||||
* | no-issue: Fix typo TestContentTyopeHeader to TestContentTypeHeader (gh-109069) | Jenner | 2023-09-19 | 1 | -1/+1 | |
| | ||||||
* | gh-109125: Run mypy on `Tools/wasm` (#109126) | Nikita Sobolev | 2023-09-19 | 5 | -40/+71 | |
| | ||||||
* | gh-109469: Silence compiler warnings on string comparisons in _testcapi ↵ | Serhiy Storchaka | 2023-09-19 | 1 | -1/+2 | |
| | | | | (GH-109533) | |||||
* | gh-109546: Add more tests for formatting floats and fractions (GH-109548) | Serhiy Storchaka | 2023-09-19 | 2 | -2/+35 | |
| | ||||||
* | Fix error handling in _PySys_UpdateConfig() (GH-109524) | Serhiy Storchaka | 2023-09-18 | 1 | -2/+9 | |
| | ||||||
* | gh-102757: fix function signature mismatch for `functools.reduce` between ↵ | Xuehai Pan | 2023-09-18 | 4 | -8/+12 | |
| | | | | code and documentation (#102759) | |||||
* | gh-109496: Detect Py_DECREF() after dealloc in debug mode (#109539) | Victor Stinner | 2023-09-18 | 4 | -16/+56 | |
| | | | | | | | | | On a Python built in debug mode, Py_DECREF() now calls _Py_NegativeRefcount() if the object is a dangling pointer to deallocated memory: memory filled with 0xDD "dead byte" by the debug hook on memory allocators. The fix is to check the reference count *before* checking for _Py_IsImmortal(). Add test_decref_freed_object() to test_capi.test_misc. | |||||
* | gh-109508: Fix libregrtest formatting of getcwd() (#109537) | Victor Stinner | 2023-09-18 | 1 | -1/+10 | |
| | ||||||
* | gh-109371: Fix monitoring with instruction events set (gh-109385) | Tian Gao | 2023-09-18 | 4 | -2/+33 | |
| | ||||||
* | gh-108843: fix ast.unparse for f-string with many quotes (#108981) | Shantanu | 2023-09-18 | 3 | -1/+35 | |
| | ||||||
* | gh-108303: Fix and move `badsyntax_pep3120.py` (#109513) | Nikita Sobolev | 2023-09-18 | 3 | -5/+3 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-109408: Azure Pipelines: test 3.12 branch (#109453) | Hugo van Kemenade | 2023-09-18 | 2 | -2/+2 | |
| | ||||||
* | Docs: getopt is deprecated in Python 3.13 (#109438) | Hugo van Kemenade | 2023-09-18 | 1 | -1/+2 | |
| | ||||||
* | Fix a typo in c-analyzer (#109213) | DongWoo Son | 2023-09-18 | 1 | -1/+1 | |
| | | | | Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com> Co-authored-by: Dale Collison <92315623+dcollison@users.noreply.github.com> | |||||
* | Fix extraneous backslashes in hashlib docs (#109468) | Anthony Sottile | 2023-09-18 | 1 | -12/+12 | |
| | ||||||
* | gh-109413: Improve mypy config for libregrtest (#109518) | Alex Waygood | 2023-09-18 | 1 | -23/+9 | |
| | | | Improve the mypy config file for libregrtest | |||||
* | gh-109408: Remove Ubuntu unit tests from Azure Pipelines (#109452) | Hugo van Kemenade | 2023-09-17 | 3 | -54/+8 | |
| | ||||||
* | gh-108511: Add C API functions which do not silently ignore errors (GH-109025) | Serhiy Storchaka | 2023-09-17 | 28 | -111/+330 | |
| | | | | | | | | | Add the following functions: * PyObject_HasAttrWithError() * PyObject_HasAttrStringWithError() * PyMapping_HasKeyWithError() * PyMapping_HasKeyStringWithError() | |||||
* | gh-108303: Move all certificates to `Lib/test/certdata/` (#109489) | Nikita Sobolev | 2023-09-16 | 41 | -28/+31 | |
| | ||||||
* | gh-109451: Fix wrong format specifier in logging documentation (GH-109465) | AlberLC | 2023-09-16 | 1 | -1/+1 | |
| | ||||||
* | gh-109414: Add some basic information about venvs in the introduction. ↵ | Vinay Sajip | 2023-09-16 | 1 | -0/+19 | |
| | | | | | (GH-109440) Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | gh-109474: Update two Unix packaging URLs (#109307) | partev | 2023-09-16 | 1 | -2/+2 | |
| | | | | | update packaging URLs fix a broken URL for fedora RPM packaging guide and fix a URL redirect for Slackware packaging guide. | |||||
* | GH-83417: Allow `venv` to add a `.gitignore` file to environments via a new ↵ | Brett Cannon | 2023-09-15 | 7 | -95/+233 | |
| | | | | | | | | `scm_ignore_file` parameter (GH-108125) This feature is off by default via code but on by default via the CLI. The `.gitignore` file contains `*` which causes the entire directory to be ignored. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | gh-106213: Make Emscripten trampolines work with JSPI (GH-106219) | Hood Chatham | 2023-09-15 | 10 | -30/+183 | |
| | | | | | | | | | | | | | | | | | | | | | | | | There is a WIP proposal to enable webassembly stack switching which have been implemented in v8: https://github.com/WebAssembly/js-promise-integration It is not possible to switch stacks that contain JS frames so the Emscripten JS trampolines that allow calling functions with the wrong number of arguments don't work in this case. However, the js-promise-integration proposal requires the [type reflection for Wasm/JS API](https://github.com/WebAssembly/js-types) proposal, which allows us to actually count the number of arguments a function expects. For better compatibility with stack switching, this PR checks if type reflection is available, and if so we use a switch block to decide the appropriate signature. If type reflection is unavailable, we should use the current EMJS trampoline. We cache the function argument counts since when I didn't cache them performance was negatively affected. Co-authored-by: T. Wouters <thomas@python.org> Co-authored-by: Brett Cannon <brett@python.org> | |||||
* | gh-109096: Deprecate `http.server.CGIHTTPRequestHandler` (#109387) | Gregory P. Smith | 2023-09-15 | 5 | -7/+51 | |
| | | | | | Deprecate `http.server.CGIHTTPRequestHandler`. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | GH-109373: Store metadata required for pystats comparison in the JSON ↵ | Michael Droettboom | 2023-09-15 | 1 | -32/+65 | |
| | | | | (GH-109374) | |||||
* | gh-109350: Fix outdated captured output in unittest.mock documentation (#109353) | Egil Martinsson | 2023-09-15 | 2 | -10/+15 | |
| | ||||||
* | gh-109413: Fix some trivial mypy nitpicks in libregrtest (#109454) | Alex Waygood | 2023-09-15 | 4 | -13/+11 | |
| | ||||||
* | gh-91960: Disable Cirrus CI for now (#109457) | Victor Stinner | 2023-09-15 | 1 | -0/+3 | |
| | | | | | Python is out of free credit and so all jobs are reported as failure. Rename .cirrus.yml to .cirrus-DISABLED.yml to disable the job. | |||||
* | gh-109287: Desugar inst(X) to op(X); macro(X) = X (#109294) | Guido van Rossum | 2023-09-15 | 5 | -163/+110 | |
| | | | This makes the internal representation in the code generator simpler: there's a list of ops, and a list of macros, and there's no special-casing needed for ops that aren't macros. (There's now special-casing for ops that are also macros, but that's simpler.) | |||||
* | Add missing `PyDoc_STR` calls (#109393) | Nikita Sobolev | 2023-09-15 | 5 | -8/+9 | |
| | | | | | | | | | In files: * Modules/_ctypes/cfield.c * Modules/_struct.c * Objects/dictobject.c * Objects/typevarobject.c * Objects/unionobject.c | |||||
* | Fix date.__repr__() docstring (#109422) | Christopher Yeh | 2023-09-15 | 1 | -7/+3 | |
| | ||||||
* | Docs: Superseded modules: list only module names (#109439) | Hugo van Kemenade | 2023-09-15 | 1 | -0/+1 | |
| | ||||||
* | gh-109395: Remove skipped macOS builds from Azure Pipelines (#109400) | Nikita Sobolev | 2023-09-15 | 3 | -65/+0 | |
| | ||||||
* | gh-108303: Move `test_future` into its own test_future_stmt subdir (#109368) | Nikita Sobolev | 2023-09-15 | 18 | -19/+37 | |
| | ||||||
* | gh-109395: Remove skipped coverage job from Azure Pipelines (#109412) | Hugo van Kemenade | 2023-09-15 | 3 | -101/+9 | |
| | ||||||
* | gh-109425: regrtest decodes worker stdout with backslashreplace (#109428) | Victor Stinner | 2023-09-14 | 3 | -16/+37 | |
| | | | | | libregrtest now decodes stdout of test worker processes with the "backslashreplace" error handler to log corrupted stdout, instead of failing with an error and not logging the stdout. | |||||
* | gh-109375: Fix bug where pdb registers an alias without an associated ↵ | buermarc | 2023-09-14 | 4 | -2/+13 | |
| | | | | command (#109376) | |||||
* | gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (#109423) | Victor Stinner | 2023-09-14 | 2 | -3/+10 | |
| | | | | Use a longer key: FIPS mode requires at least of at least 112 bits. The previous key was only 32 bits. | |||||
* | gh-109418: Fix hypothesis strategy for b2a_roundtrip test (#109419) | Nikita Sobolev | 2023-09-14 | 1 | -1/+1 | |
| | ||||||
* | gh-109413: libregrtest: Add and improve type annotations (#109405) | Alex Waygood | 2023-09-14 | 13 | -33/+83 | |
| | ||||||
* | gh-101100: Fix sphinx warnings in `turtle.rst` (#109394) | Nikita Sobolev | 2023-09-14 | 2 | -5/+4 | |
| | ||||||
* | gh-109219: propagate free vars through type param scopes (#109377) | Carl Meyer | 2023-09-14 | 3 | -3/+17 | |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-105658: fix excess trace events for except block ending with a ↵ | Irit Katriel | 2023-09-14 | 4 | -20/+41 | |
| | | | | conditional block (#109384) | |||||
* | dump readable opcode names in flowgraph debug utility (#109392) | Carl Meyer | 2023-09-14 | 1 | -3/+2 | |
| | | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | |||||
* | gh-109402: Fix regrtest findtests() (#109403) | Victor Stinner | 2023-09-14 | 1 | -4/+9 | |
| | | | | Check for the full module name in SPLITTESTDIRS, not the relative module name. | |||||
* | gh-107298: Document PyMODINIT_FUNC macro (#109236) | Victor Stinner | 2023-09-14 | 3 | -3/+27 | |
| | | | | | | | Document PyMODINIT_FUNC macro. Remove links to PyAPI_FUNC() and PyAPI_DATA() macros since they are not documented. These macros should only be used to define the Python C API. They should not be used outside Python code base. | |||||
* | gh-107782: Use _testcapi to test non-representable signatures (GH-109325) | Serhiy Storchaka | 2023-09-14 | 3 | -2/+82 | |
| | | | | | | | | | Builtin functions and methods that have non-representable signatures today will have representable signatures yesterday, and they will become unusable for testing this feature. So we need to add special functions and methods to the _testcapi module that always have non-representable signatures. |