STINNER Victor <victor.stin...@haypocalc.com> added the comment:

Another huge patch to support Unicode filenames: parser_unicode.patch


 Doc/c-api/exceptions.rst |   26 +++++++++++---
 Include/ast.h            |    5 ++
 Include/compile.h        |   15 +++++++-
 Include/parsetok.h       |   42 ++++++++++++++++++-----
 Include/pyerrors.h       |    7 +++
 Include/pythonrun.h      |   16 ++++++++
 Include/symtable.h       |    6 ++-
 Include/warnings.h       |    8 ++++
 Modules/parsermodule.c   |   49 +++++++++++++++++----------
 Modules/symtablemodule.c |   10 +++--
 Parser/parsetok.c        |   82 +++++++++++++++++++++++++++++++++++++--------
 Python/_warnings.c       |   31 +++++++++++------
 Python/ast.c             |   40 ++++++++++++----------
 Python/compile.c         |   69 +++++++++++++++++++++-----------------
 Python/errors.c          |   57 ++++++++++++++++++++++---------
 Python/future.c          |   27 +++++++++++---
 Python/import.c          |   20 +++--------
 Python/pythonrun.c       |   85 +++++++++++++++++++++++++++++++++++++----------
 Python/symtable.c        |   73 +++++++++++++++++++++++++++-------------
 19 files changed, 480 insertions(+), 188 deletions(-)

It creates new functions of the following functions which are undocumented:
 - PyAST_FromNode
 - PyFuture_FromAST
 - PyAST_Compile
 - PyParser_ParseFileFlagsEx
 - PyParser_ParseStringFlagsFilenameEx
 - PyErr_ProgramText
 - PyParser_ASTFromString
 - PyParser_ASTFromFile
 - PySymtable_Build

We might remove these functions, but they are part of the public API (but they 
are undocumented).

----------
Added file: http://bugs.python.org/file21759/parser_unicode.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11619>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to