|
|
Subscribe / Log in / New account

Corner cases and exception types

Corner cases and exception types

[Development] Posted Aug 13, 2019 21:13 UTC (Tue) by jake

Some unanticipated corner cases with Python's new "walrus" operator—described in our Python 3.8 overview—have cropped up recently. The problematic uses of the operator will be turned into errors before the final release, but just what exception should be raised came into question. It seems that the exception specified in the PEP for the operator may not really be the best choice, as a recent discussion hashed out.

Full Story (comments: 11)


Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds