Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Merge branch 'main' into 709funconly
* main: (26 commits)
  GH-101520: Move tracemalloc functionality into core, leaving interface in Modules. (#104508)
  typing: Add more tests for TypeVar (#104571)
  gh-104572: Improve error messages for invalid constructs in PEP 695 contexts (#104573)
  typing: Use PEP 695 syntax in typing.py (#104553)
  gh-102153: Start stripping C0 control and space chars in `urlsplit` (#102508)
  gh-104469: Update README.txt for _testcapi (gh-104529)
  GH-103092: isolate `_elementtree` (#104561)
  gh-104050: Add typing to Argument Clinic converters (#104547)
  GH-103906: Remove immortal refcounting in the interpreter (GH-103909)
  gh-87474: Fix file descriptor leaks in subprocess.Popen (#96351)
  GH-103092: isolate `pyexpat`  (#104506)
  gh-75367: Fix data descriptor detection in inspect.getattr_static (#104517)
  gh-104050: Add more annotations to `Tools/clinic.py` (#104544)
  gh-104555: Fix isinstance() and issubclass() for runtime-checkable protocols that use PEP 695 (#104556)
  gh-103865: add monitoring support to LOAD_SUPER_ATTR (#103866)
  CODEOWNERS: Assign new PEP 695 files to myself (#104551)
  GH-104510: Fix refleaks in `_io` base types (#104516)
  gh-104539: Fix indentation error in logging.config.rst (#104545)
  gh-104050: Don't star-import 'types' in Argument Clinic (#104543)
  gh-104050: Add basic typing to CConverter in clinic.py (#104538)
  ...
  • Loading branch information
carljm committed May 17, 2023
commit b1bb3a73c89f9ff8c52ede552e76b473715ed18e
2 changes: 1 addition & 1 deletion Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -4107,7 +4107,7 @@ compiler_nameop(struct compiler *c, location loc,
optype = OP_DEREF;
break;
case LOCAL:
if (c->u->u_ste->ste_type == FunctionBlock)
if (_PyST_IsFunctionLike(c->u->u_ste))
optype = OP_FAST;
break;
case GLOBAL_IMPLICIT:
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.