[Python-checkins] python/dist/src/Include compile.h,2.40,2.41

mwh at users.sourceforge.net mwh at users.sourceforge.net
Thu Feb 12 10:28:28 EST 2004


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19895/Include

Modified Files:
	compile.h 
Log Message:
This is my patch #876198 plus a NEWS entry and a header frob.

Remove the ability to use (from C) arbitrary objects supporting the
read buffer interface as the co_code member of code objects.


Index: compile.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/compile.h,v
retrieving revision 2.40
retrieving revision 2.41
diff -C2 -d -r2.40 -r2.41
*** compile.h	5 Feb 2003 23:12:56 -0000	2.40
--- compile.h	12 Feb 2004 15:28:26 -0000	2.41
***************
*** 82,90 ****
  #define FUTURE_DIVISION "division"
  
- /* for internal use only */
- #define _PyCode_GETCODEPTR(co, pp) \
- 	((*(co)->co_code->ob_type->tp_as_buffer->bf_getreadbuffer) \
- 	 ((co)->co_code, 0, (void **)(pp)))
- 
  #ifdef __cplusplus
  }
--- 82,85 ----




More information about the Python-checkins mailing list