You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python/cpython#89240
Any use of mp.Pool with a number of workers greater than 60 fails
on Windows machines.
Twofold solution is introduced:
- add option for users to explicitly change number of workers
through -w/--workers, this is similar to solution used in black
- add limitation in the code for Windows machines
Co-Authored-By: Blank Spruce <[email protected]>
Copy file name to clipboardexpand all lines: CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Changelog
2
2
3
+
## [0.11.0] 2024-10-11
4
+
### Added
5
+
- Number of workers spawned for formatting multiple files can be changed with `-w/--workers`. By default it will be number of CPUs available in the system but limited to 60 for Windows machines due to [this](https://github.com/python/cpython/issues/89240).
6
+
3
7
## [0.10.0] 2023-12-22
4
8
### Added
5
9
- configuration schema that can be used with yaml LSP server, see: [JSON Schema](https://json-schema.org/) and #12
0 commit comments