Skip to content

Commit d6ed560

Browse files
Temporarily skip some code.
1 parent 3ba74f6 commit d6ed560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/codeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,6 @@ identify_unbound_names(PyThreadState *tstate, PyCodeObject *co,
17161716
PyObject *globalsns, PyObject *builtinsns,
17171717
struct co_unbound_counts *counts)
17181718
{
1719-
return 0;
17201719
// This function is inspired by inspect.getclosurevars().
17211720
// It would be nicer if we had something similar to co_localspluskinds,
17221721
// but for co_names.
@@ -1731,6 +1730,7 @@ identify_unbound_names(PyThreadState *tstate, PyCodeObject *co,
17311730
assert(counts == NULL || counts->total == 0);
17321731
struct co_unbound_counts unbound = {0};
17331732
Py_ssize_t len = Py_SIZE(co);
1733+
return 0;
17341734
for (int i = 0; i < len; i++) {
17351735
_Py_CODEUNIT inst = _Py_GetBaseCodeUnit(co, i);
17361736
if (inst.op.code == LOAD_ATTR) {

0 commit comments

Comments
 (0)