• Re: Python 3.14.0 alpha 4 is out

    From Gilmeh Serda@21:1/5 to Hugo van Kemenade on Sun Jan 19 21:00:27 2025
    On Tue, 14 Jan 2025 18:35:54 +0200, Hugo van Kemenade wrote:

    Greek letters

    Apparently you can also use other characters:

    ẞ='ss'

    'ss'

    Good! I have a keyboard full of Unicode using AltGr and letters and combinations with the shift key, plus the Ctrl-Shift-u + code thing if something should be missing.

    --
    Gilmeh

    The tree of research must from time to time be refreshed with the blood of
    bean counters. -- Alan Kay

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Gilmeh Serda on Sun Jan 19 22:24:10 2025
    On Sun, 19 Jan 2025 21:00:27 GMT, Gilmeh Serda wrote:

    Apparently you can also use other characters:

    ẞ='ss'

    'ss'

    That’s been true since Python 3.0.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hugo van Kemenade@21:1/5 to All on Tue Jan 14 18:35:54 2025
    Hello, three dot fourteen dot zero alpha four!

    https://www.python.org/downloads/release/python-3140a4/

    This is an early developer preview of Python 3.14.

    Python 3.14 is still in development. This release, 3.14.0a4, is the fourth
    of seven planned alpha releases.

    Alpha releases are intended to make it easier to test the current state of
    new features and bug fixes and to test the release process.

    During the alpha phase, features may be added up until the start of the
    beta phase (2025-05-06) and, if necessary, may be modified or deleted up
    until the release candidate phase (2025-07-22). Please keep in mind that
    this is a preview release and its use is not recommended for production environments.

    Many new features for Python 3.14 are still being planned and written.
    Among the new major new features and changes so far:

    * PEP 649: deferred evaluation of annotations
    * PEP 741: Python configuration C API
    * PEP 761: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.
    * Improved error messages
    * Removals of old deprecations, and new deprecations, many scheduled for removal from Python 3.16
    * C API removals and deprecations
    * (Hey, fellow core developer, if a feature you find important is missing
    from this list, let Hugo know.)

    The next pre-release of Python 3.14 will be 3.14.0a5, currently scheduled
    for 2025-02-11.

    More resources:

    * Online documentation: https://docs.python.org/3.14/
    * PEP 745, 3.14 Release Schedule: https://peps.python.org/pep-0745/
    * Report bugs at https://github.com/python/cpython/issues
    * Help fund Python and its community: https://www.python.org/psf/donations/

    And now for something completely different

    In Python, you can use Greek letters as constants. For example:

    ```
    from math import pi as π

    def circumference(radius: float) -> float:
    return 2 * π * radius

    print(circumference(6378.137)) # 40075.016685578485
    ```

    Enjoy the new release.

    Thanks to all of the many volunteers who help make Python Development and
    these releases possible! Please consider supporting our efforts by
    volunteering yourself or through organisation contributions to the Python Software Foundation.

    Regards from a slushy, slippery Helsinki,

    Your release team,
    Hugo van Kemenade
    Ned Deily
    Steve Dower
    Łukasz Langa

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)