| Store | Cart

[Python-Dev] attributes of Python code objects

From: Xavier de Gaye <xdeg...@gmail.com>
Sun, 26 Feb 2017 11:19:36 +0100
In PR 218 [1], INADA Naoki wrote:
 > I think attributes of Python's code object is implementation detail, even> though PyPy follows.> But it's not big problem until there are some Python implementation> having different code implementation.

Python's code object attributes are described in the Data Model [2] section of
the documentation.  1) Is this description normative (to be followed by all the
implementations of the Python language)?  2) Is the description of co_lnotab
in [3] normative ?

Xavier

[1] https://github.com/python/cpython/pull/218
[2] https://docs.python.org/3/reference/datamodel.html
[3] https://github.com/python/cpython/blob/master/Objects/lnotab_notes.txt
_______________________________________________
Python-Dev mailing list
Pyth...@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/python-dev-ml%40activestate.com

Recent Messages in this Thread
Xavier de Gaye Feb 26, 2017 10:19 am
Brett Cannon Feb 26, 2017 08:44 pm
Nick Coghlan Feb 27, 2017 07:24 am
Messages in this thread