Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Revision eab156f8eb68b64a0ca39067dce06950b8588f33 authored by Jeremy Hylton on 30 January 2001, 01:24:43 UTC, committed by Jeremy Hylton on 30 January 2001, 01:24:43 UTC
reference manual but not checked: Names bound by import statemants may
not occur in global statements in the same scope. The from ... import *
form may only occur in a module scope.

I guess these changes could break code, but the reference manual
warned about them.

Several other small changes

If a variable is declared global in the nearest enclosing scope of a
free variable, then treat it is a global in the nested scope too.

Get rid of com_mangle and symtable_mangle functions and call mangle
directly.

If errors occur during symtable table creation, return -1 from
symtable_build().

Do not increment st_errors in assignment to lambda, because exception
is not set.

Add extra argument to symtable_assign(); the argument, flag, is ORed
with DEF_LOCAL for each symtable_add_def() call.
1 parent 3202c6f
History
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File Mode Size
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 1.8 KB
LICENSE -rw-r--r-- 8.6 KB
Makefile.in -rw-r--r-- 18.0 KB
Makefile.pre.in -rw-r--r-- 22.3 KB
README -rw-r--r-- 35.6 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.6 KB
configure -rwxr-xr-x 187.6 KB
configure.in -rw-r--r-- 38.0 KB
install-sh -rwxr-xr-x 2.2 KB
setup.py -rw-r--r-- 23.8 KB

README

back to top