Skip to content

Commit 6d2e738

Browse files
committed
Bump version to 0.24.0
1 parent 3cbeb35 commit 6d2e738

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

qasync/__init__.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"Mark Harviston <[email protected]>, "
1515
"Arve Knudsen <[email protected]>",
1616
)
17-
__version__ = "0.23.0"
17+
__version__ = "0.24.0"
1818
__url__ = "https://github.com/CabbageDevelopment/qasync"
1919
__license__ = "BSD"
2020
__all__ = ["QEventLoop", "QThreadExecutor", "asyncSlot", "asyncClose"]
@@ -185,11 +185,11 @@ def __init__(self, max_workers=10, stack_size=None):
185185
if stack_size is None:
186186
# Match cpython/Python/thread_pthread.h
187187
if sys.platform.startswith("darwin"):
188-
stack_size = 16 * 2 ** 20
188+
stack_size = 16 * 2**20
189189
elif sys.platform.startswith("freebsd"):
190-
stack_size = 4 * 2 ** 20
190+
stack_size = 4 * 2**20
191191
elif sys.platform.startswith("aix"):
192-
stack_size = 2 * 2 ** 20
192+
stack_size = 2 * 2**20
193193
self.__workers = [
194194
_QThreadWorker(self.__queue, i + 1, stack_size) for i in range(max_workers)
195195
]
@@ -806,7 +806,9 @@ def wrapper(*args, **kwargs):
806806
task.add_done_callback(_error_handler)
807807
break
808808
if task is None:
809-
raise TypeError("asyncSlot was not callable from Signal. Potential signature mismatch.")
809+
raise TypeError(
810+
"asyncSlot was not callable from Signal. Potential signature mismatch."
811+
)
810812
return task
811813

812814
return wrapper

0 commit comments

Comments
 (0)