[Python-Dev] [Python-checkins] cpython: Issue #19512: Add PyRun_InteractiveOneObject() function (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Fri Nov 8 00:50:35 CET 2013
- Previous message: [Python-Dev] [Python-checkins] cpython: Issue #19512: Add PyRun_InteractiveOneObject() function
- Next message: [Python-Dev] [Python-checkins] cpython: Issue #19512: Add PyRun_InteractiveOneObject() function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 8 Nov 2013 09:45, "Victor Stinner" <victor.stinner at gmail.com> wrote:
Hi, [PyRunInteractiveOneObject()] 2013/11/8 Nick Coghlan <ncoghlan at gmail.com>: > New C APIs should either be documented or have an underscore prefix. I created the issue #19518 to add documentation (but also to add even more functions :-)). > Also, if they're part of the stable ABI, they need a version guard. As most PyRunxxx() functions, the function is declared in a "#ifndef PyLIMITEDAPI" block. It means that it is not part of the stable ABI, is that correct?
Yeah, that's fine - I'm just replying on my phone at the moment, so checking the broader file context is a pain :)
Cheers, Nick.
> Wishlist item: an automated ABI checker that can diff the exported symbols > against a reference list (Could ctypes or cffi be used for that?) Yeah, it would be nice to have a tool to list changes on the stable ABI :-) * * * For a previous issue, I also added various other functions like PyParserASTFromStringObject() or PyParserASTFromFileObject(). As PyRunInteractiveOneObject(), they are declared in a "#ifndef PyLIMITEDAPI" block in pythonrun.h. These new functions are not documented, because PyParserAST*() functions are not documented. http://bugs.python.org/issue11619 http://hg.python.org/cpython/rev/df2fdd42b375 The patch parserunicode.patch was attached to the issue during 2 years. First I didn't want to commit it becaues it added too many new functions. But I pushed by change because some Windows users like using the full Unicode range in the name of their scripts and modules! If it's not too late, I would appreciate a review of the stable ABI of this changeset. Victor
Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131108/5c30bfde/attachment.html>
- Previous message: [Python-Dev] [Python-checkins] cpython: Issue #19512: Add PyRun_InteractiveOneObject() function
- Next message: [Python-Dev] [Python-checkins] cpython: Issue #19512: Add PyRun_InteractiveOneObject() function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]