lock statements without explicit curly braces #8252
Replies: 2 comments
-
IMO, lock (and also try except statements) are critical elements and I'd prefer to keep it as clear as possible, where the lock starts and ends (and what's inside of a try except statement). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Duplicate of #2451. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like propose
lock
statements without explicit curly braces similar tousing
statements without explicit curly braces. This might help to reduce the amount of indentation when working with locks.Example:
would become
while the lock gets release at the end of the current block.
Beta Was this translation helpful? Give feedback.
All reactions