Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Include/ceval.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,12 @@ PyAPI_FUNC(void) PyEval_ReleaseThread(PyThreadState *tstate);
#define Py_END_ALLOW_THREADS PyEval_RestoreThread(_save); \
}

/* Masks and values used by FORMAT_VALUE opcode. */
/* String conversion constants. */
#define FVC_MASK 0x3
#define FVC_NONE 0x0
#define FVC_STR 0x1
#define FVC_REPR 0x2
#define FVC_ASCII 0x3
#define FVS_MASK 0x4
#define FVS_HAVE_SPEC 0x4

#ifndef Py_LIMITED_API
# define Py_CPYTHON_CEVAL_H
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Remove the unused ``FVS_MASK`` and ``FVS_HAVE_SPEC`` macros. They were used by
the ``FORMAT_VALUE`` opcode, which was removed in Python 3.13.
2 changes: 0 additions & 2 deletions Tools/build/check_capi_macros_ignored.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ FVC_MASK
FVC_NONE
FVC_REPR
FVC_STR
FVS_HAVE_SPEC
FVS_MASK
GETPGRP_HAVE_ARG
HAVE_ACCEPT
HAVE_ACCEPT4
Expand Down
Loading