[Python-Dev] Pre-PEP: Allow Empty Subscript List Without Parentheses (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jun 12 02:30:26 CEST 2006
- Previous message: [Python-Dev] Pre-PEP: Allow Empty Subscript List Without Parentheses
- Next message: [Python-Dev] Pre-PEP: Allow Empty Subscript List Without Parentheses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.)
-- Greg
- Previous message: [Python-Dev] Pre-PEP: Allow Empty Subscript List Without Parentheses
- Next message: [Python-Dev] Pre-PEP: Allow Empty Subscript List Without Parentheses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]