summaryrefslogtreecommitdiff
path: root/Lib/string.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-09-16 16:41:57 +0000
committerRaymond Hettinger <python@rcn.com>2004-09-16 16:41:57 +0000
commitcfc31926774f876323e64cb13a26de0d7061be4c (patch)
tree5cebbafb0e8ddd4b43047a44830e3c66c6ff5c13 /Lib/string.py
parent6543b45b0c0adfd8a91ad64997ffe507e9482b0c (diff)
downloadcpython-git-cfc31926774f876323e64cb13a26de0d7061be4c.tar.gz
SF bug #1014215: Unspecific errors with metaclass
High level error message was stomping useful detailed messages from lower level routines. The new approach is to augment string error messages returned by the low level routines. The provides both high and low level information. If the exception value is not a string, no changes are made. To see the improved messages in action, type: import random class R(random): pass class B(bool): pass
Diffstat (limited to 'Lib/string.py')
0 files changed, 0 insertions, 0 deletions