Announcement

Collapse
No announcement yet.

Python 3.10 Released With Many Improvements

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    RahulSundaram
    Fedora Contributor

  • RahulSundaram
    replied
    Originally posted by bison View Post
    And still no named constants, as far as I can tell.
    you can use https://docs.python.org/3/library/ty...l#typing.Final and use a static checker like mypy

    Leave a comment:

  • bison
    Senior Member

  • bison
    replied
    And still no named constants, as far as I can tell.

    Leave a comment:

  • uid313
    Senior Member

  • uid313
    replied
    I really love the new way of type hinting unions with like "number | int".

    I really love the pattern matching in Rust, but I am not at all excited about it in Python, doesn't seem very useful in Python and other languages.

    I like Python, but the the new compare-and-assign operator is weird, no other language that I know off have it, and Python is more targeted at non-developers who need to code something not against developers so then it is better to keep the language simple instead of adding syntax for corner cases and shortcuts that end up making the code more difficult to understand and reason about and makes it more difficult for new comers to learn the language.

    Leave a comment:

  • onlyLinuxLuvUBack
    Senior Member

  • onlyLinuxLuvUBack
    replied
    Originally posted by bachchain View Post
    At this rate, python might eventually become a language that I don't completely hate
    it's called nim.

    Leave a comment:

  • timrichardson
    Senior Member

  • timrichardson
    replied
    Originally posted by bachchain View Post
    At this rate, python might eventually become a language that I don't completely hate
    I suppose this is the project's objective, so it is good to learn of progress.

    Leave a comment:

  • bachchain
    Senior Member

  • bachchain
    replied
    Structural Pattern Matching
    At this rate, python might eventually become a language that I don't completely hate

    Leave a comment:

  • phoronix
    Administrator

  • phoronix
    started a topic Python 3.10 Released With Many Improvements

    Python 3.10 Released With Many Improvements

    Phoronix: Python 3.10 Released With Many Improvements

    Python 3.10 is out as the latest major update for this widely-used programming language's official implementation...

    https://www.phoronix.com/scan.php?pa...-3.10-Released
Working...
X