[Python-Dev] MAKE_FUNCTION simplification (original) (raw)

Victor Stinner victor.stinner at gmail.com
Thu Apr 14 11:36:10 EDT 2016


2016-04-14 17:27 GMT+02:00 Guido van Rossum <guido at python.org>:

Great analysis! What might stand in the way of adoption is concern for bytecode manipulation libraries that would have to be changed. (...) There's also talk of switching to wordcode, in a different thread.

I agree that breaking backward compatibility just for MAKE_FUNCTION is not worth. But if we accept the wordcode change, IMHO it's ok to take this as an opportunity to also modify MAKE_FUNCTION.

Maybe the idea would be easier to introduce there? (Bytecode libraries would have to change anyways, so the additional concern for this change would be minimal.)

Exactly ;-)

Victor



More information about the Python-Dev mailing list