James Stroud wrote:

> Yes, but I was speaking more consistency than convenience (see above for 
> what I mean by consistency).

why would having access to a type object for exit/quit help you do 
proper syntax coloring, btw?  if you want to generate a syntax table, 
wouldn't it be better to use things like

     issubclass(obj, Exception)

and

     callable(obj)

etc. ?

(__builtins__ is an implementation detail, btw; if you want a list of 
the builtins, import __builtin__ (no plural) and do dir on that).

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to