Staging
v0.5.1
https://github.com/python/cpython
Revision 89a39461bff04b80bb4857790350e1ab30ff2df9 authored by Armin Rigo on 28 October 2004, 16:32:00 UTC, committed by Armin Rigo on 28 October 2004, 16:32:00 UTC
exposed in header files.  Fixed a few comments in these headers.

As we might have expected, writing down invariants systematically exposed a
(minor) bug.  In this case, function objects have a writeable func_code
attribute, which could be set to code objects with the wrong number of
free variables.  Calling the resulting function segfaulted the interpreter.
Added a corresponding test.
1 parent 063e1e8
History
Tip revision: 89a39461bff04b80bb4857790350e1ab30ff2df9 authored by Armin Rigo on 28 October 2004, 16:32:00 UTC
Wrote down the invariants of some common objects whose structure is
Tip revision: 89a3946
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.4 KB
LICENSE -rw-r--r-- 12.9 KB
Makefile.pre.in -rw-r--r-- 31.6 KB
README -rw-r--r-- 48.3 KB
aclocal.m4 -rw-r--r-- 2.1 KB
configure -rwxr-xr-x 572.2 KB
configure.in -rw-r--r-- 85.2 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 23.8 KB
setup.py -rw-r--r-- 51.1 KB

README

back to top