On Wed, Jun 2, 2021 at 10:40 AM Steven D'Aprano <[email protected]> wrote: > > On Tue, Jun 01, 2021 at 04:30:25PM -0400, Steele Farnsworth wrote: > > > This was proposed in 2014 and was rejected: > > https://www.python.org/dev/peps/pep-0463/ > > No, that's a proposal for a Python *expression* that can be imbedded in > another expression. > > Shreyan's proposal here is just to allow fitting both the try and except > one-line statements on the same line.
I can understand the confusion though, given that the parallel constructs cited for justification are all expressions. ChrisA _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/GIPX7C4YCCUMQVP5J3ISJ3RYMZV7FA3K/ Code of Conduct: http://python.org/psf/codeofconduct/
