Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

As for the line number for class, I have not heard anything about this. I think 
there is no large technical difficulty, but there is a little need. The first 
line number of the code object is needed first at all for tracing and 
debugging. Function has attached code object for executing, thus the line 
number is available for function. But the code object that creates a class is 
no longer needed after the class is created. Attaching the line number to the 
class looks like attaching the line number of the "[]" expression to the list 
created by it.

----------

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

Reply via email to