GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — gh-104683: Rename clinic.test => clinic.test.c by erlend-aasland · Pull Request #106443 · python/cpython Conversation
|
|
Might be worth backporting this; it'll reduce the risk of merge conflicts in future backport PRs |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
pythonGH-106443) (cherry picked from commit a941bd6) Co-authored-by: Erlend E. Aasland <[email protected]>
|
GH-106444 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
pythonGH-106443) (cherry picked from commit a941bd6) Co-authored-by: Erlend E. Aasland <[email protected]>
|
GH-106445 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* main: (39 commits) pythongh-102542 Remove unused bytes object and bytes slicing (python#106433) Clarify state of CancelledError in doc (python#106453) pythongh-64595: Fix regression in file write logic in Argument Clinic (python#106449) pythongh-104683: Rename Lib/test/clinic.test as Lib/test/clinic.test.c (python#106443) tp_flags docs: fix indentation (python#106420) pythongh-104050: Partially annotate Argument Clinic CLanguage class (python#106437) pythongh-106368: Add tests for formatting helpers in Argument Clinic (python#106415) pythongh-104050: Annotate Argument Clinic parameter permutation helpers (python#106431) pythongh-104050: Annotate toplevel functions in clinic.py (python#106435) pythongh-106320: Fix specialize.c compilation by including pycore_pylifecycle.h (python#106434) Add some codeowners for `Tools/clinic/` (python#106430) pythongh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (python#106423) pythongh-61215: Rename `wait_until_any_call` to `wait_until_any_call_with` (python#106414) pythongh-106162: array: suppress warning in test_array (python#106404) pythongh-106320: Remove _PyInterpreterState_HasFeature() (python#106425) pythonGH-106360: Support very basic superblock introspection (python#106422) pythongh-106406: Fix _Py_IsInterpreterFinalizing() in _winapi.c (python#106408) pythongh-106396: Special-case empty format spec to gen empty JoinedStr node (python#106401) pythongh-106368: Add tests for permutation helpers in Argument Clinic (python#106407) pythonGH-106008: Fix refleak when peepholing `None` comparisons (python#106367) ...
|
I intentionally made this file having extension different from It makes regenerating it inconvenient, but on other hand, it prevents unintentional regeneration. Otherwise the breaking changes in clinic.py can pass unnoticed, because |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
There was consensus on the core dev Discord for this change. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ideally, I would like to get rid of clinic.test.c, and move all those test to _testclinic.c, to make sure the generated code actually works as expected in Python. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
IMO, a better option is to add an |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
See #107770 for my suggestion to preserve |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Initially I introduced My hope is that someday someone (maybe you, maybe me) will turn most or all of these tests into proper unit tests. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It sounds to me that your intention harmonises with my desire to turn |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.