summaryrefslogtreecommitdiffstats
path: root/Modules/ossaudiodev.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2003-06-16 20:19:49 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2003-06-16 20:19:49 (GMT)
commitf00368f9edb4842ef668f4fcfbdcf2f34e3c6226 (patch)
tree64ae00281f467ea6346a31421c0291aacaf01fc2 /Modules/ossaudiodev.c
parenta1ad5f658c6408c6a80fc648cb8d0fe23b77ed89 (diff)
downloadcpython-f00368f9edb4842ef668f4fcfbdcf2f34e3c6226.zip
cpython-f00368f9edb4842ef668f4fcfbdcf2f34e3c6226.tar.gz
cpython-f00368f9edb4842ef668f4fcfbdcf2f34e3c6226.tar.bz2
Remove many blanket try/except clauses.
SF bug [ 751276 ] cPickle doesn't raise error, pickle does (recursiondepth) Most of the calls to PyErr_Clear() were intended to catch & clear an attribute error and try something different. Guard all those cases with a PyErr_ExceptionMatches() and fail if some other error occurred. The other error is likely a bug in the user code. This is basically the C equivalent of changing "except:" to "except AttributeError:"
Diffstat (limited to 'Modules/ossaudiodev.c')
0 files changed, 0 insertions, 0 deletions