[Python-Dev] Pre-PEP: Allow Empty Subscript List Without Parentheses
greg.ewing at canterbury.ac.nz
Mon Jun 12 02:30:26 CEST 2006
BJörn Lindqvist wrote:
> I don't know how difficult it is to get rid of the
> implicit "return None" or even if it is doable, but if it is, it
> should, IMHO, be done.
It's been proposed before, and the conclusion was that
it would cause more problems than it would solve.
(Essentially it would require returning some object
that raised an exception when anything at all was
done to it, but such an object would cause debuggers
and other introspective code to choke.)
More information about the Python-Dev