summaryrefslogtreecommitdiff
path: root/Python/traceback.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-13 17:50:00 +0000
committerGuido van Rossum <guido@python.org>2007-08-13 17:50:00 +0000
commitc9341281625071479dfee3ba85e552f18dfa3a36 (patch)
tree58bebd062f0fe8f007170c53e77a2b186117758b /Python/traceback.c
parent4c269c59287ec2f40db4c899e163ce6946742dbd (diff)
downloadcpython-git-c9341281625071479dfee3ba85e552f18dfa3a36.tar.gz
Improved patches for sndhdr and imghdr by Victor Stinner, who writes:
- fix "h[sbseek] == b'\1'" and "ratecode = ord(h[sbseek+4])" in test_voc() - avoid division by zero - use startswith method: replace h[:2] == b'BM' by h.startswith(b'BM') - use aifc.open() instead of old aifc.openfp() - use ord(b'P') instead of ord('P')
Diffstat (limited to 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions