nowfound

Dev tools · July 19, 2020

Rust-like error handling in Python thanks to PEP 622

Python 3.10 alpha 0 with PEP 622 implementation. Contribute to mtasic85/cpython-3.10.0-alpha-0 development by creating an account on GitHub.

Rust-like error handling in Python thanks to PEP 622 launched on July 19, 2020 with 6 votes, #1,390 of 4,305 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 6 years on.

Does a similar job

all alternatives →
  • PA
    Python at the Speed of Rust2025 · blog.fxn.ai · ▲68

    I’m sure many of you are familiar, but there’s a treacherous gap between finding (or building) a model that works in PyTorch, and getting that deployed into your application, especially in consumer-facing applications. I’ve been very interested in solving this problem with a great developer experience. Over time, I gradually realized that the highest-impact thing to have was a way to go from existing Python code to a self-contained native binary—in other words, a Python compiler. I was already pretty familiar with a successful attempt: when Apple introduced armv8 on the iPhone 5s, they…

  • Stack Error – ergonomic error handling for Rust2025 · github.com · ▲27

    Stack Error is a pragmatic error handling library for Rust that provides helpful messages for debugging, and structured data for runtime error handling. Features: * Informative error messages: stack error messages and optionally add file/line context to your messages. This helps convey not just what went wrong, but also how it went wrong, making debugging faster. * Programmatic error handling: include optional error codes and URIs for robust runtime handling. * Library-Friendly: define custom error types easily while staying compatible with Rust’s error ecosystem. If designing good…

  • Cannoli – A compiler for a subset of Python written in Rust2018 · github.com · ▲292

    Cannoli Programming Language. Contribute to joncatanio/cannoli development by creating an account on GitHub.

  • RustPython for FreeDOS with W2c22023 · github.com · ▲34

    A Python Interpreter written in Rust. Contribute to coolcoder613eb/RustPython development by creating an account on GitHub.

  • Rust-Like Traits in Python2021 · github.com · ▲50

    Traits for Python3. Contribute to xrudelis/pytrait development by creating an account on GitHub.

  • Debugging-Friendly Tracebacks for Python2019 · github.com · ▲123

    Debugging-friendly exceptions for Python. Contribute to cknd/stackprinter development by creating an account on GitHub.

More dev tools this month

the category →
  • /dev/null▲486

    a social network for devs

    Dev tools · 3d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 23d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗

Launched alongside, July 2020

the whole month →