On Thu, Feb 2, 2012 at 10:44 AM, Tim Delaney
<[email protected]> wrote:
>> 3) Should it be an exception, or just inherit from object?
>>   Is it worth worrying about somebody trying to raise it, or
>>   raise from it?
>
> If it's not actually an exception, we get prevention of instantiation for
> free. My feeling is just make it a singleton object.

Yeah, a new Ellipsis/None style singleton probably makes more sense
than an exception instance.

Cheers,
Nick.

-- 
Nick Coghlan   |   [email protected]   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to