Q about tail recursion
Moshe Zadka
moshez at math.huji.ac.il
Sun Feb 27 03:41:49 EST 2000
More information about the Python-list mailing list
Sun Feb 27 03:41:49 EST 2000
- Previous message (by thread): Q about tail recursion
- Next message (by thread): Q about tail recursion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 27 Feb 2000, Tim Peters wrote: > And if a def is sometimes meant to return a value and > sometimes not, redesign the code before you drive yourself insane <wink>. I've thought about writing a small utility to warn me about such functions, which should be easy enough: either all or none of "RETURN_VALUE" opcodes should be preceded by LOAD_CONST of None. Would such a scheme work? -- Moshe Zadka <mzadka at geocities.com>. INTERNET: Learn what you know. Share what you don't.
- Previous message (by thread): Q about tail recursion
- Next message (by thread): Q about tail recursion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list