File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2815,25 +2815,6 @@ builtin_enableinvariant_impl(PyObject *module)
28152815 return Py_EnableInvariant ();
28162816}
28172817
2818- /*[clinic input]
2819- is_pyrona_program as builtin_is_pyrona_program
2820-
2821- Returns True if the program has used regions or cowns.
2822- [clinic start generated code]*/
2823-
2824- static PyObject *
2825- builtin_is_pyrona_program_impl (PyObject * module )
2826- /*[clinic end generated code: output=2b6729469da00221 input=d36655a3dc34a881]*/
2827- {
2828- // TODO: This is an abuse of notions. We need to revisit
2829- // the definition of when a program is a Pyrona program
2830- // at some later point. The reason for having the definition
2831- // conflated with the invariant being enabled is to only
2832- // perform Pyrona checks (see threading.py) when a program
2833- // must adhere to these checks for correctness.
2834- return Py_is_invariant_enabled () ? Py_True : Py_False ;
2835- }
2836-
28372818typedef struct {
28382819 PyObject_HEAD
28392820 Py_ssize_t tuplesize ;
@@ -3135,7 +3116,6 @@ static PyMethodDef builtin_methods[] = {
31353116 BUILTIN_ISSUBCLASS_METHODDEF
31363117 BUILTIN_ISIMMUTABLE_METHODDEF
31373118 BUILTIN_MAKEIMMUTABLE_METHODDEF
3138- BUILTIN_IS_PYRONA_PROGRAM_METHODDEF
31393119 BUILTIN_INVARIANTSRCFAILURE_METHODDEF
31403120 BUILTIN_INVARIANTTGTFAILURE_METHODDEF
31413121 BUILTIN_ITER_METHODDEF
You can’t perform that action at this time.
0 commit comments