[Python-checkins] python/dist/src/Python newcompile.c, 1.1.2.82, 1.1.2.83

arigo at users.sourceforge.net arigo at users.sourceforge.net
Sun Mar 21 14:43:26 EST 2004


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8215
Modified Files:
 Tag: ast-branch
	newcompile.c 
Log Message:
Report a bug.
Index: newcompile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/newcompile.c,v
retrieving revision 1.1.2.82
retrieving revision 1.1.2.83
diff -C2 -d -r1.1.2.82 -r1.1.2.83
*** newcompile.c	21 Mar 2004 19:34:11 -0000	1.1.2.82
--- newcompile.c	21 Mar 2004 19:43:23 -0000	1.1.2.83
***************
*** 22,25 ****
--- 22,26 ----
 #: exec generally still has problems
 #: test_errno fails because stackdepth() isn't implemented (assert'ed)
+ #: do something about memory management!
 
 Inappropriate Exceptions:
***************
*** 585,589 ****
 		if (newsize <= 0) {
 			PyErr_NoMemory();
! 			return 0;
 		}
 		b->b_ialloc <<= 1;
--- 586,590 ----
 		if (newsize <= 0) {
 			PyErr_NoMemory();
! 			return -1;
 		}
 		b->b_ialloc <<= 1;


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /