-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
def truncate(barrier, b, *ignore):
barrier.wait()
try: b.truncate(0)
except: BufferError # ignore exported buffer
should be
def truncate(barrier, b, *ignore):
barrier.wait()
try: b.truncate(0)
except BufferError: pass # ignore exported buffer
instead.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
uhx and cmaloney
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error