Staging
v0.5.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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 3.7 KB
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 38.1 KB
README -rw-r--r-- 55.6 KB
configure -rwxr-xr-x 658.0 KB
configure.in -rw-r--r-- 103.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 28.6 KB
setup.py -rw-r--r-- 80.5 KB

README

back to top