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
Copy file name to clipboardExpand all lines: docs/Secure-Coding-Guide-for-Python/CWE-664/CWE-665/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The `TheadPoolExecutor` provides an interface to a thread pool and resources whi
19
19
The `noncompliant01.py` code is simulating the spawning of processes with the different access rights.
20
20
The `Session(object)` class simulates access control via `User(Enum)thread` defining a `User` object to be either `GUEST = 1` (default) or `ADMIN = 2`. The `set_user()` method changes access level and `set_user_as_guest()` is to reset access.
21
21
22
-
In `SessionPool()` we spawn tasks and access control in following order:
22
+
In `SessionPool()` we spawn tasks and access control in the following order:
0 commit comments