If you use #mypy, make sure you're on latest. In the last year, mypy has gotten >1.8x faster and has learnt many new tricks
Shantanu
@hauntsaninja.bsky.social
@OpenAI since 2020. CPython core dev, making Python typing better hauntsaninja.github.io
wrote a little tool called git_bayesect. it's like git bisect, but can track down non-deterministic bugs using bayesian inference
late to this github drama but github.com/mozilla/bedr...
Tos copy updates (fix #16016) (#16018) · mozilla/bedrock@d459add
* ToS copy updates (fix #16016) * Apply suggestions from code review - copy change Co-authored-by: maureenlholland <maureen@silverorange.com> --------- Co-authored-by: maureenlholland <...
github.com
happy 6th birthday to gpt-2! 🍰 better language models really did have implications
tail calls with newer compiler calling conventions might make the Python interpreter 10% faster (up to 40% faster on specific benchmarks). github.com/faster-cpyth...
Tail-calling interpreter · Issue #642 · faster-cpython/ideas
An alternative dispatch mechanism to switch or computed gotos is to use tail calls. In a tail calling interpreter, dispatch is implemented as a tail call to the next instruction. For example: the C...
github.com
here's how to trick the python interpreter into giving you a great debugging experience in generated code: hauntsaninja.github.io/generated_br...
Breakpoints in generated Python code
hauntsaninja.github.io