[Python-checkins] python/dist/src/Include ast.h, 1.1.2.2, 1.1.2.3 pythonrun.h, 2.49.2.5, 2.49.2.6

nascheme at users.sourceforge.net nascheme at users.sourceforge.net
Sat Mar 20 16:28:24 EST 2004


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

Modified Files:
      Tag: ast-branch
	ast.h pythonrun.h 
Log Message:
Handle encoding_decl nodes.  The source encoding is still
not used when parsing strings.


Index: ast.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Attic/ast.h,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** ast.h	30 Aug 2002 19:59:55 -0000	1.1.2.2
--- ast.h	20 Mar 2004 21:28:22 -0000	1.1.2.3
***************
*** 5,9 ****
  #endif
  
! extern DL_IMPORT(mod_ty) PyAST_FromNode(const node *);
  
  #ifdef __cplusplus
--- 5,9 ----
  #endif
  
! extern DL_IMPORT(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags);
  
  #ifdef __cplusplus

Index: pythonrun.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythonrun.h,v
retrieving revision 2.49.2.5
retrieving revision 2.49.2.6
diff -C2 -d -r2.49.2.5 -r2.49.2.6
*** pythonrun.h	26 Jul 2003 00:32:10 -0000	2.49.2.5
--- pythonrun.h	20 Mar 2004 21:28:22 -0000	2.49.2.6
***************
*** 37,43 ****
  
  PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(const char *, const char *, 
! 						int, int);
  PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *, int, 
! 					      char *, char *, int, int *);
  #define PyParser_SimpleParserString(S, B) \
          PyParser_SimplerParserStringFlags(S, B, 0)
--- 37,44 ----
  
  PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(const char *, const char *, 
! 						 int, PyCompilerFlags *flags);
  PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *, int, 
! 					       char *, char *,
!                                                PyCompilerFlags *, int *);
  #define PyParser_SimpleParserString(S, B) \
          PyParser_SimplerParserStringFlags(S, B, 0)




More information about the Python-checkins mailing list