Staging
v0.8.1
https://github.com/python/cpython
Revision cfb3d33c24dd98d73187932be2c9059f19baa412 authored by Jeremy Hylton on 31 March 2009, 14:30:05 UTC, committed by Jeremy Hylton on 31 March 2009, 14:30:05 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70801 | jeremy.hylton | 2009-03-31 09:17:03 -0400 (Tue, 31 Mar 2009) | 3 lines

  Add is_declared_global() which distinguishes between implicit and
  explicit global variables.
........
  r70809 | jeremy.hylton | 2009-03-31 09:48:15 -0400 (Tue, 31 Mar 2009) | 14 lines

  Global statements from one function leaked into parallel functions.

  Re http://bugs.python.org/issue4315

  The symbol table used the same name dictionaries to recursively
  analyze each of its child blocks, even though the dictionaries are
  modified during analysis.  The fix is to create new temporary
  dictionaries via the analyze_child_block().  The only information that
  needs to propagate back up is the names of the free variables.

  Add more comments and break out a helper function.  This code doesn't
  get any easier to understand when you only look at it once a year.
........
1 parent 85da5e8
History
Tip revision: cfb3d33c24dd98d73187932be2c9059f19baa412 authored by Jeremy Hylton on 31 March 2009, 14:30:05 UTC
Merged revisions 70801,70809 via svnmerge from
Tip revision: cfb3d33
File Mode Size
Python-ast.c -rw-r--r-- 237.9 KB
_warnings.c -rw-r--r-- 26.4 KB
asdl.c -rw-r--r-- 1.2 KB
ast.c -rw-r--r-- 102.5 KB
atof.c -rw-r--r-- 815 bytes
bltinmodule.c -rw-r--r-- 69.6 KB
ceval.c -rw-r--r-- 109.6 KB
codecs.c -rw-r--r-- 20.1 KB
compile.c -rw-r--r-- 94.1 KB
dup2.c -rw-r--r-- 685 bytes
dynload_aix.c -rw-r--r-- 4.9 KB
dynload_atheos.c -rw-r--r-- 1.0 KB
dynload_beos.c -rw-r--r-- 6.3 KB
dynload_dl.c -rw-r--r-- 561 bytes
dynload_hpux.c -rw-r--r-- 1.3 KB
dynload_next.c -rw-r--r-- 3.4 KB
dynload_os2.c -rw-r--r-- 1020 bytes
dynload_shlib.c -rw-r--r-- 3.2 KB
dynload_stub.c -rw-r--r-- 202 bytes
dynload_win.c -rw-r--r-- 7.7 KB
errors.c -rw-r--r-- 17.6 KB
formatter_string.c -rw-r--r-- 567 bytes
formatter_unicode.c -rw-r--r-- 461 bytes
frozen.c -rw-r--r-- 1.2 KB
frozenmain.c -rw-r--r-- 1.3 KB
future.c -rw-r--r-- 3.6 KB
getargs.c -rw-r--r-- 44.4 KB
getcompiler.c -rw-r--r-- 366 bytes
getcopyright.c -rw-r--r-- 503 bytes
getcwd.c -rw-r--r-- 1.4 KB
getmtime.c -rw-r--r-- 388 bytes
getopt.c -rw-r--r-- 3.0 KB
getplatform.c -rw-r--r-- 130 bytes
getversion.c -rw-r--r-- 290 bytes
graminit.c -rw-r--r-- 37.7 KB
import.c -rw-r--r-- 83.3 KB
importdl.c -rw-r--r-- 2.0 KB
importdl.h -rw-r--r-- 990 bytes
mactoolboxglue.c -rw-r--r-- 13.1 KB
marshal.c -rw-r--r-- 25.9 KB
modsupport.c -rw-r--r-- 13.2 KB
mysnprintf.c -rw-r--r-- 3.1 KB
mystrtoul.c -rw-r--r-- 6.4 KB
peephole.c -rw-r--r-- 17.1 KB
pyarena.c -rw-r--r-- 5.8 KB
pyfpe.c -rw-r--r-- 623 bytes
pymath.c -rw-r--r-- 5.3 KB
pystate.c -rw-r--r-- 17.2 KB
pystrcmp.c -rw-r--r-- 562 bytes
pystrtod.c -rw-r--r-- 13.7 KB
pythonrun.c -rw-r--r-- 46.7 KB
sigcheck.c -rw-r--r-- 529 bytes
strdup.c -rw-r--r-- 256 bytes
strtod.c -rw-r--r-- 5.1 KB
structmember.c -rw-r--r-- 8.1 KB
symtable.c -rw-r--r-- 39.7 KB
sysmodule.c -rw-r--r-- 43.8 KB
thread.c -rw-r--r-- 10.7 KB
thread_atheos.h -rw-r--r-- 6.0 KB
thread_beos.h -rw-r--r-- 6.0 KB
thread_cthread.h -rw-r--r-- 2.7 KB
thread_foobar.h -rw-r--r-- 1.9 KB
thread_lwp.h -rw-r--r-- 3.1 KB
thread_nt.h -rw-r--r-- 6.6 KB
thread_os2.h -rw-r--r-- 5.6 KB
thread_pth.h -rw-r--r-- 5.2 KB
thread_pthread.h -rw-r--r-- 12.1 KB
thread_sgi.h -rw-r--r-- 9.4 KB
thread_solaris.h -rw-r--r-- 3.0 KB
thread_wince.h -rw-r--r-- 4.0 KB
traceback.c -rw-r--r-- 6.7 KB

back to top