summaryrefslogtreecommitdiffstats
path: root/PC/config.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-09-15 20:25:57 (GMT)
committerGuido van Rossum <guido@python.org>1998-09-15 20:25:57 (GMT)
commit743d17e3aa77b84a57531cd74e1daba87132f807 (patch)
tree92e69b315a0b005773cd9025fb09f104f16dc216 /PC/config.h
parent0c92000b7a679f1c8add378bb36c6c08efe6f6eb (diff)
downloadcpython-743d17e3aa77b84a57531cd74e1daba87132f807.zip
cpython-743d17e3aa77b84a57531cd74e1daba87132f807.tar.gz
cpython-743d17e3aa77b84a57531cd74e1daba87132f807.tar.bz2
In load_inst(), when instantiating an instance the old way (i.e. when
there's an __getinitargs__() method), if a TypeError occurs, catch and reraise it but add info to the error about the class name being instantiated. This makes debugging a lot easier if __getinitargs__() returns something bogus (e.g. a string instead of a singleton tuple).
Diffstat (limited to 'PC/config.h')
0 files changed, 0 insertions, 0 deletions