-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Incorrect exception message in Barrier.__init__ #129403
Copy link
Copy link
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixeseasystdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixeseasystdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
Yes. As you see 0.5 is below 0.
To solve this problem, adding this sentence is viable.
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Linked PRs
ValueErrormessages inasyncio.Barrierandthreading.Barrier(GH-129419) #129468ValueErrormessages inasyncio.Barrierandthreading.Barrier(GH-129419) #129469