[issue8525] Display exceptions' subclasses in help()

2018-07-14 Thread Rob Cliffe
Rob Cliffe added the comment: On 14/07/2018 13:44, Nick Coghlan wrote: > Nick Coghlan added the comment: > > Reviewing the builtins in 3.7, I get the following results for builtin > objects that have defined subclasses immediately after interpreter startup: > > =

[issue8525] Display exception's subclasses in help()

2010-12-03 Thread Rob Cliffe
Rob Cliffe added the comment: Originally I only had built-in classes in mind (with Exceptions being IMO the most obvious example of a built-in class hierarchy that it is useful to find your way around). But if the idea can be extended to other classes, well, great. Rob Cliffe

[issue8525] Small enhancement to help()

2010-11-22 Thread Rob Cliffe
Rob Cliffe added the comment: I would not be at all surprised if my patch could be simplified (in fact I'd be surprised if it couldn't). However, I did try out your version on Python 2.5 specifically, and it did not work for me. Trying it out on help(Exception), the relevant

[issue8525] Small enhancement to help()

2010-11-22 Thread Rob Cliffe
Rob Cliffe added the comment: Thanks for your work. Glad if I have made a contribution to Python, however small. Rob Cliffe On 22/11/2010 00:26, Éric Araujo wrote: > Éric Araujo added the comment: > > Thank you. I uploaded your patch to Rietveld and reviewed it

[issue8525] Small enhancement to help()

2010-04-24 Thread Rob Cliffe
New submission from Rob Cliffe : help() on an exception class lists the method resolution order, which is in effect the class inheritance hierarchy. E.g. help(ArithmeticError) lists ArithmeticError, StandardError, Exception, BaseException, __builtin__.object. It struck me it would help to