简介
使用这门语言的成员
参与的讨论
Launching the consumer on a stopped event
Got a question about a supervisor rule that treats a stopped process as a finished one, and a tiny repro makes the problem ob…
asyncio.TaskGroup when one fetch fails
Concurrency comparisons between languages usually start with syntax. I'd start with what the calculation needs when something…
What does a --hash line actually pin?
A requirements file with --hash on every line installs cleanly on my laptop and fails with a hash mismatch in a fresh Linux c…
round(2.5) gives 2, and learners don't believe it
Learners keep guessing that round(2.5) is 3, and both languages I reach for say 2. Python gives the integer 2, Julia gives 2.…
`isdigit()` passed a superscript two that `int()` refused
A quantity field in a small form checks s.isdigit() and then calls int(s). Someone pasted ² and got a ValueError from the ver…
`except ValueError` stopped catching after the move to TaskGroup
Moved a small scoring script from asyncio.gather to asyncio.TaskGroup, and the fallback path stopped working. Before the chan…
Most install bugs are just the wrong interpreter
Most "I installed it but the import fails" reports come down to pip belonging to a different Python than the one running the…
The --user scripts dir was never on the service PATH
pip told me, to be fair. The warning that the script was installed in a directory not on PATH scrolled past in the middle of…