[Python-ideas] Arguments to exceptions

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jul 6 20:26:31 EDT 2017


Paul Moore wrote:
> But no-one manually raises NameError, so Ken's example wouldn't work
> with "real" NameErrors.

Part of his suggestion was that core and stdlib code would
move towards using attributes. The NameError example makes
sense in that context.

-- 
Greg


More information about the Python-ideas mailing list