mathspp
  • Blog
    • Pydon'ts
    • Problems
    • TIL
    • Twitter threads
  • Books
  • Talks
  • Trainings
    • Advanced iteration
    • Python for scripting and automation
    • Rust for Python developers
  • Courses
  • About
Link blog

PEP 791 – math.integer — submodule for integer-specific mathematics functions | peps.python.org

on 12-11-2025 00:26

I liked reading this PEP because I'm a big fan of trying to have things as organised as possible and the introduction of a module math.integer looks like it makes sense. I also found it funny how they're mentioning the possibility of adding a function fibonacci to this module, which would render the interview question “Please implement a Fibonacci function in Python” completely moot.

Previous link Next link

As seen on Cookie Clicker's News Ticker.

mathspp
  • Blog
    • Pydon'ts
    • Problems
    • TIL
    • Twitter threads
  • Books
  • Talks
  • Trainings
    • Advanced iteration
    • Python for scripting and automation
    • Rust for Python developers
  • Courses
  • About