As the subject line says, as Guido's delegate, I'm accepting Benjamin's PEP 415 with the current reference implementation. This PEP changes the implementation of the new "raise exc from None" syntax to eliminate the use of Ellipsis as a "not set" sentinel value in favour of a separate "__suppress_context__" attribute on exceptions. This new flag defaults to False, but is implicitly set to True whenever a value is assigned to __cause__ (regardless of whether that happens via direct assignment , the new syntax or the C API). The question of how the builtin and standard library exception display routines should handle the cause where both __cause__ and __context__ are set and __suppress_context__ has been explicitly set to False will be decided independently of the PEP acceptance (see http://bugs.python.org/issue14805). Regards, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4