comparison Python/pythonrun.c @ 1415:06570429f062 legacy-trunk

* import.c (get_module): pass .py filename to parse_file, not .pyc filename! * funcobject.c (func_repr): don't call getstringvalue(None) for anonymous functions. * bltinmodule.c: removed lambda (which is now a built-in function); removed implied lambda for string arg to filter/map/reduce. * Grammar, graminit.[ch], compile.[ch]: replaced lambda as built-in function by lambda as grammar entity: instead of "lambda('x: x+1')" you write "lambda x: x+1". * Xtmodule.c (checkargdict): return 0, not NULL, for error.
author Guido van Rossum <guido@python.org>
date Tue, 30 Nov 1993 13:40:46 +0000
parents c914b10bf2ed
children 1f4a86dbcd79
comparison
equal deleted inserted replaced
1414:2852edb4fffe 1415:06570429f062