| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This PR also adds _PyOpcode_OpName and _PyOpcode_uop_name to non-debug builds because they are only a few Kbs of static data, and it is nice to be able to introspect things. |
Sorry, something went wrong.
There was a problem hiding this comment.
This just needs a merge.
In the light of rising concerns over symbols starting with _Py still being public, maybe we should rename these or move the header file? These tables should be allowed to change on a whim.
Sorry, something went wrong.
| pass | ||
| if ex is None: | ||
| return | ||
| self.assertIn("SET_IP", str(ex)) |
There was a problem hiding this comment.
I think once you merge main you'll see that this is now called SAVE_IP.
Sorry, something went wrong.
They aren't public though. We strip _Py symbols from the binary, unless they are marked with a PyAPI_FUNC or PyAPI_DATA macro. |
Sorry, something went wrong.
* 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) ...
| Back | FazBrowse Home | New Git URL |
Adds indexing and len() support to uop superblocks, such that this:
produces this
('SAVE_IP', 7) ('LOAD_FAST', 1) ('SAVE_IP', 8) ('LOAD_CONST', 2) ('SAVE_IP', 9) ('_GUARD_BOTH_INT', 13) ('_BINARY_OP_ADD_INT', 13) ('SAVE_IP', 11) ('STORE_FAST', 1) ('SAVE_IP', 12) ('LOAD_FAST', 1) ('LOAD_FAST', 0) ('SAVE_IP', 13) ('COMPARE_OP_INT', 18) ('SAVE_IP', 15)