Author vstinner
Recipients amaury.forgeotdarc, pitrou, python-dev, terry.reedy, vstinner
Date 2011-04-22.23:44:50
SpamBayes Score 0.00165641
Marked as misclassified No
Message-id <1303515894.17.0.279506757113.issue11619@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2011-04-22 23:44:54vstinnersetrecipients: + vstinner, terry.reedy, amaury.forgeotdarc, pitrou, python-dev
2011-04-22 23:44:54vstinnersetmessageid: <1303515894.17.0.279506757113.issue11619@psf.upfronthosting.co.za>
2011-04-22 23:44:53vstinnerlinkissue11619 messages
2011-04-22 23:44:53vstinnercreate