;) I completely understand what Ellipsis object and its short syntax (...) is. And for me 'raise from Ellipsis' or 'raise from ...', or even using the Ellipsis object internally instead of special __NoContext__ object is godawful.
Why do we want to use some completely unrelated singleton in the exception contexts? Is the policy of "think before adding a new builtin object" really worth it in this concrete case? On 2012-02-03, at 1:01 PM, Ethan Furman wrote: > Yury Selivanov wrote: >> I got it, and I think it's fine to use explicit __cause__ reset, >> using Ellipsis, or even some __NoException__ special object if we decide to >> introduce one. >> I'm against allowing 'from ...' syntax. > > Well, ... /is/ Ellipsis -- no way to tell them apart by them time this part > of the code sees it. > > ~Ethan~ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com