Guido van Rossum <gu...@python.org> added the comment:

Serhiy:
> I propose an opposite change -- take data known at compile time (name, 
> qualname and annotations).

I'm confused by your phrase "take data" -- do you mean remove these? Or wht do 
you propose we do with them?

> It will make the code for creating new function smaller and faster.

Smaller, maybe. Measurably faster? Can you demonstrate that with a patch?

> It is what we want to achieve -- reducing import time, but additionally it 
> will reduce time of creating local functions.

I don't think the creation time of local functions is burdensome. (Creating a 
class is much more so.)

Oh, what do you mean exactly by "local functions" -- is that any function, or 
only a function nested inside another function?

----------

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

Reply via email to