Michael Hudson <mwh at python.net> writes: > Guido van Rossum <guido at python.org> writes: >> BTW, for the special case of multi-line argument lists, it is already >> fixed. > > So it is. I guess the other situations that are worth fixing are long > container -- list, tuple, dict -- literals. My brain is a bit too > fried to think if a more general solution is feasible, but I will > point out that since SET_LINENO went away, inserting superfluous calls > to com_set_lineno doesn't result in superfluous bytecodes, so perhaps > that could just be added to com_node or something. Brain still fried, so someone else will have to tell me what's wrong with: http://python.org/sf/850789 which as sketched above calls com_set_lineno in every invocation of com_node and removes all the other calls. Cheers, mh -- Ability to type on a computer terminal is no guarantee of sanity, intelligence, or common sense. -- Gene Spafford's Axiom #2 of Usenet
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4