SV: Python Productivity over C++
David Bolen
db3l at fitlinxx.com
Thu Jun 15 18:26:36 EDT 2000
More information about the Python-list mailing list
Thu Jun 15 18:26:36 EDT 2000
- Previous message (by thread): Python Productivity over C++
- Next message (by thread): Why is Python a memory hog?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Steve Tregidgo <smst at bigfoot.com> writes: > David Bolen wrote: > > > [much of `verify_class' snipped] > > > > except AttributeError, TypeError: > > print "Method %s not supported" % curmethod > > Note that this code won't pick up the TypeError -- to do that, make a > slight change: > > except (AttributeError, TypeError): Argh - thanks - I shouldn't have let that slip by - I decided to use the separate error for the type mismatch at the very end, and didn't explicitly test that case. -- -- David -- /-----------------------------------------------------------------------\ \ David Bolen \ E-mail: db3l at fitlinxx.com / | FitLinxx, Inc. \ Phone: (203) 708-5192 | / 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \ \-----------------------------------------------------------------------/
- Previous message (by thread): Python Productivity over C++
- Next message (by thread): Why is Python a memory hog?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list