At 11:23 AM 6/18/2006 -0700, Guido van Rossum wrote: >I'm not in favor of abusing this to generate a computed goto, and I >don't see a need for that -- if we decide to add that (either as >syntax or as an automatic optimization) I see no problem adding a new >bytecode.
Me either -- I suggest simply adding a JUMP_TOP -- but I wanted to point out that people wouldn't need to add a new opcode in order to experiment with possible "switch" syntaxes. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com