mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-05-02 06:36:20 -04:00
improve thread_raise() so that the new tests pass
1. If thread is not currently accepting exceptions, queue it and raise if and when it does start accepting them. This fixes problem of thread_raise exceptions being ignored when raised just before the target thread starts accepting exceptions. 2. Avoid problems caused by raising multiple exceptions in the same thread in quick succession by ensuring that only one is actually raised for a given `with` block. This type of occurrence had been putting brozzler into a borked/frozen state.
This commit is contained in:
parent
d514eaec15
commit
31dc6a2d97
2 changed files with 85 additions and 90 deletions
2
setup.py
2
setup.py
|
@ -32,7 +32,7 @@ def find_package_data(package):
|
|||
|
||||
setuptools.setup(
|
||||
name='brozzler',
|
||||
version='1.1b11.dev247',
|
||||
version='1.1b11.dev248',
|
||||
description='Distributed web crawling with browsers',
|
||||
url='https://github.com/internetarchive/brozzler',
|
||||
author='Noah Levitt',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue