pep 336: Make None Callable

Chris Cioffi evenprimes at gmail.com
Fri Nov 5 09:56:12 EST 2004


Ouch.  Ok...

<lame face saving attempt>At least _most_ of those are classes as
opposed to primitives...</lame face saving attempt>

Chris


On Thu, 04 Nov 2004 20:14:51 -0600, Benji York <benji at benjiyork.com> wrote:
> Chris Cioffi wrote:
> > Even when we type it: None.  it's the only builtin that is
> > capitalized.
> 
> Hmm.
> 
> >>> print '\n'.join([name for name in dir(__builtins__) if name[0].isupper()])
> ArithmeticError
> AssertionError
> AttributeError
> DeprecationWarning
> EOFError
> Ellipsis
> EnvironmentError
> Exception
> False
> FloatingPointError
> FutureWarning
> IOError
> ImportError
> IndentationError
> IndexError
> KeyError
> KeyboardInterrupt
> LookupError
> MemoryError
> NameError
> None
> NotImplemented
> NotImplementedError
> OSError
> OverflowError
> OverflowWarning
> PendingDeprecationWarning
> ReferenceError
> RuntimeError
> RuntimeWarning
> StandardError
> StopIteration
> SyntaxError
> SyntaxWarning
> SystemError
> SystemExit
> TabError
> True
> TypeError
> UnboundLocalError
> UnicodeDecodeError
> UnicodeEncodeError
> UnicodeError
> UnicodeTranslateError
> UserWarning
> ValueError
> Warning
> WindowsError
> ZeroDivisionError
> --
> Benji York
> benji at benjiyork.com
> 
> 


-- 
<a href="http://spreadfirefox.com/community/?q=affiliates&id=0&t=1">Get
Firefox!</a>



More information about the Python-list mailing list