Update of /cvsroot/python/python/dist/src/Objects In directory usw-pr-cvs1:/tmp/cvs-serv14923 Modified Files: Tag: descr-branch frameobject.c Log Message: By mistake there were two definitions for f_locals: a simple descriptor in the list of members, and a getter function. Recent changes in typeobject.c changed the precedence between these, and the one from the memberlist took precedence. But it's bogus, so get rid of it. (This caused test_inspect.py to fail.) Index: frameobject.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Objects/frameobject.c,v retrieving revision 2.49.4.3 retrieving revision 2.49.4.4 diff -C2 -r2.49.4.3 -r2.49.4.4 *** frameobject.c 2001/06/06 14:27:54 2.49.4.3 --- frameobject.c 2001/06/11 18:40:38 2.49.4.4 *************** *** 16,20 **** {"f_builtins", T_OBJECT, OFF(f_builtins),RO}, {"f_globals", T_OBJECT, OFF(f_globals), RO}, - {"f_locals", T_OBJECT, OFF(f_locals), RO}, {"f_lasti", T_INT, OFF(f_lasti), RO}, {"f_lineno", T_INT, OFF(f_lineno), RO}, --- 16,19 ----
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4