Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-97728: Argument Clinic: Fix uninitialized variable in the Py_UNICODE ↵ | Serhiy Storchaka | 2022-10-03 | 2 | -22/+22 |
| | | | | | | | converter (GH-97729) It affects function os.system() on Windows and Windows-specific modules winreg, _winapi, _overlapped, and _msi. | ||||
* | gh-89545: Updates platform module to use new internal _wmi module on Windows ↵ | Steve Dower | 2022-09-07 | 1 | -0/+75 |
| | | | | to directly query OS properties (GH-96289) | ||||
* | gh-90928: Improve static initialization of keywords tuple in AC (#95907) | Erlend E. Aasland | 2022-08-13 | 3 | -173/+73 |
| | |||||
* | gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code ↵ | Eric Snow | 2022-08-11 | 5 | -15/+375 |
| | | | | | | | | | | | | | | | | (gh-95860) We only statically initialize for core code and builtin modules. Extension modules still create the tuple at runtime. We'll solve that part of interpreter isolation separately. This change includes generated code. The non-generated changes are in: * Tools/clinic/clinic.py * Python/getargs.c * Include/cpython/modsupport.h * Makefile.pre.in (re-generate global strings after running clinic) * very minor tweaks to Modules/_codecsmodule.c and Python/Python-tokenize.c All other changes are generated code (clinic, global strings). | ||||
* | gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic ↵ | Derek Kim | 2022-08-03 | 1 | -2/+5 |
| | | | | function load (GH-95521) | ||||
* | gh-94512: Fix forced arg format in AC-processed winreg (GH-94513) | Oleg Iarygin | 2022-07-04 | 1 | -17/+198 |
| | |||||
* | gh-94512: Fix forced arg format in AC-processed msvcrtmodule (GH-94514) | Oleg Iarygin | 2022-07-04 | 1 | -5/+19 |
| | |||||
* | gh-92536: PEP 623: Remove wstr and legacy APIs from Unicode (GH-92537) | Inada Naoki | 2022-05-12 | 2 | -98/+2 |
| | |||||
* | gh-91320: Argument Clinic uses _PyCFunction_CAST() (#32210) | Victor Stinner | 2022-05-03 | 5 | -39/+39 |
| | | | | Replace "(PyCFunction)(void(*)(void))func" cast with _PyCFunction_CAST(func). | ||||
* | bpo-36346: Make using the legacy Unicode C API optional (GH-21437) | Serhiy Storchaka | 2020-07-10 | 1 | -8/+6 |
| | | | | 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-36346: Undeprecate private function _PyUnicode_AsUnicode(). (GH-21336) | Serhiy Storchaka | 2020-07-05 | 2 | -44/+2 |
| | |||||
* | bpo-41187: Convert the _msi module to Argument Clinic (GH-21264) | Serhiy Storchaka | 2020-07-01 | 1 | -0/+728 |
| | |||||
* | bpo-36346: Prepare for removing the legacy Unicode C API (AC only). (GH-21223) | Serhiy Storchaka | 2020-06-30 | 1 | -30/+297 |
| | |||||
* | bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) | Victor Stinner | 2020-06-10 | 1 | -1/+19 |
| | | | | | | | | | | | | test_repl.test_close_stdin() now calls support.suppress_msvcrt_asserts() to fix the test on Windows. * Move suppress_msvcrt_asserts() from test.libregrtest.setup to test.support. Make its verbose parameter optional: verbose=False by default. * Add msvcrt.GetErrorMode(). * SuppressCrashReport now uses GetErrorMode() and SetErrorMode() of the msvcrt module, rather than using ctypes. * Remove also an unused variable (deadline) in wait_process(). | ||||
* | bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636) | Serhiy Storchaka | 2020-05-26 | 3 | -83/+3 |
| | | | | Only __index__ should be used to make integer conversions lossless. | ||||
* | bpo-37034: Display argument name on errors with keyword arguments with ↵ | Rémi Lapeyre | 2019-08-29 | 2 | -9/+9 |
| | | | | Argument Clinic. (GH-13593) | ||||
* | bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in ↵ | David H | 2019-07-31 | 1 | -4/+4 |
| | | | | docs. (GH-15062) | ||||
* | bpo-36127: Argument Clinic: inline parsing code for keyword parameters. ↵ | Serhiy Storchaka | 2019-03-14 | 3 | -21/+79 |
| | | | | (GH-12058) | ||||
* | bpo-35582: Argument Clinic: inline parsing code for positional parameters. ↵ | Serhiy Storchaka | 2019-01-11 | 2 | -18/+100 |
| | | | | (GH-11313) | ||||
* | bpo-23867: Argument Clinic: inline parsing code for a single positional ↵ | Serhiy Storchaka | 2018-12-25 | 2 | -14/+64 |
| | | | | parameter. (GH-9689) | ||||
* | bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. ↵ | Serhiy Storchaka | 2018-12-14 | 1 | -39/+43 |
| | | | | (GH-11150) | ||||
* | bpo-33012: Fix invalid function cast warnings with gcc 8 in Argument Clinic. ↵ | Serhiy Storchaka | 2018-11-27 | 4 | -31/+31 |
| | | | | | | | | (GH-6748) Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS in Argument Clinic generated code. | ||||
* | bpo-32240: Add the const qualifier to declarations of PyObject* array ↵ | Serhiy Storchaka | 2017-12-15 | 4 | -31/+31 |
| | | | | arguments. (#4746) | ||||
* | bpo-9566: Change HANDLE argument parsing to unsigned in msvcrtmodule.c (#2904) | Segev Finer | 2017-07-27 | 1 | -3/+3 |
| | |||||
* | bpo-9566: Fix some Windows x64 compiler warnings (#2492) | Segev Finer | 2017-07-26 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-9566: Silence liblzma warnings * bpo-9566: Silence tcl warnings * bpo-9566: Silence tk warnings * bpo-9566: Silence tix warnings * bpo-9566: Fix some library warnings * bpo-9566: Fix msvcrtmodule.c warnings * bpo-9566: Silence _bz2 warnings * bpo-9566: Fixed some _ssl warnings * bpo-9566: Fix _msi warnings * bpo-9566: Silence _ctypes warnings * Revert "bpo-9566: Fixed some _ssl warnings" This reverts commit a639001c949ba53338a9ee047d2ec1efd2505e6f. * bpo-9566: Also consider NULL as a possible error in HANDLE_return_converter * bpo-9566: whitespace fixes | ||||
* | bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955) | Serhiy Storchaka | 2017-07-03 | 4 | -99/+31 |
| | | | | | the bare METH_FASTCALL be used for functions with positional-only parameters. | ||||
* | bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051) | Sylvain | 2017-06-10 | 2 | -53/+53 |
| | | | | | | | | The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments". | ||||
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 1 | -3/+3 |
| | |||||
* | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 4 | -55/+123 |
| | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using only positional arguments. | ||||
* | Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords | Victor Stinner | 2017-01-17 | 3 | -10/+10 |
| | | | | Issue #29286. | ||||
* | Issue #28217: Adds _testconsole module to test console input. Fixes some ↵ | Steve Dower | 2016-10-03 | 1 | -0/+82 |
| | | | | issues found by the tests. | ||||
* | Issue #27810: Rerun Argument Clinic on all modules | Victor Stinner | 2016-09-10 | 2 | -26/+26 |
| | |||||
* | clinic: PY_LONG_LONG -> long long | Benjamin Peterson | 2016-09-08 | 1 | -5/+5 |
| | |||||
* | Closes #27982: Allow keyword arguments to winsound functions | Zachary Ware | 2016-09-06 | 1 | -17/+23 |
| | |||||
* | Closes #11620: Fix support for SND_MEMORY in winsound.PlaySound. | Zachary Ware | 2016-09-05 | 1 | -4/+4 |
| | | | | Based on a patch by Tim Lesher. | ||||
* | Issue #27574: Decreased an overhead of parsing keyword arguments in functions | Serhiy Storchaka | 2016-08-14 | 1 | -11/+16 |
| | | | | implemented with using Argument Clinic. | ||||
* | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 3 | -90/+89 |
|\ | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 3 | -90/+89 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7. | Serhiy Storchaka | 2016-06-09 | 3 | -53/+103 |
| | | |||||
* | | Regenerate Argument Clinic code for issue #23026. | Serhiy Storchaka | 2016-06-09 | 1 | -2/+4 |
|/ | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -3/+3 |
| | |||||
* | Issue #23995: Removes _WCONIO_DEFINED check as the wchar_t console functions ↵ | Steve Dower | 2015-05-14 | 1 | -33/+1 |
| | | | | are always available. | ||||
* | Issue #20172: Update clinicizations to current clinic. | Zachary Ware | 2015-05-13 | 3 | -102/+62 |
| | |||||
* | Issue #20172: Convert the msvcrt module to Argument Clinic. | Zachary Ware | 2015-05-13 | 1 | -0/+604 |
| | |||||
* | Issue #20172: Convert the winreg module to Argument Clinic. | Zachary Ware | 2015-05-13 | 1 | -0/+1078 |
| | |||||
* | Issue #20172: Convert the winsound module to Argument Clinic. | Zachary Ware | 2015-05-13 | 1 | -0/+103 |