Deutsch English Français Italiano |
<mailman.110.1739303187.2912.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail From: Hugo van Kemenade <hugo@python.org> Newsgroups: comp.lang.python Subject: Python 3.14.0 alpha 5 Date: Tue, 11 Feb 2025 21:46:13 +0200 Lines: 110 Message-ID: <mailman.110.1739303187.2912.python-list@python.org> References: <CANKMJBOBUcu6iGNO-kiHO1JXxmrxSuYgw4snKpmuE7yhg1oBuw@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de EeA88ajjdGZtKPBEUi6XYwtjt8JF4bt89XTldMgqQ+pw== Cancel-Lock: sha1:oXVR0xKHClI10pZ8f1DJZ9ESp98= sha256:oGKizTl7ZWrc73qglbDL0LGSdKIetB7VhJGiVSVz5v8= Return-Path: <hugo@python.org> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=python.org; s=200901; t=1739303185; bh=7ASerThAXFi2Yft7x7Lc8oFwEP352pw9FlobOM5ELa8=; h=From:Date:Subject:To:From; b=JBkZtCCOhXguPtitmK/JZtD/PKP/MtF4c4hJS//4rcis+szCgjAH3oMGcMe/Vqc6p dhR/xavtc5bDpHRu4mzknfSNOIqDd3S9InGKZUgi4DU65brNGsTqDPwWQlJu8G1Kzn babsOT4AM8gGGQzPpgAhJEXEC7QwEnx40kQT0X6g= X-Forwarded-Encrypted: i=1; AJvYcCXcgy4tYXuRznQkrUWf359RhCVhpGJzUw4N5ZUfl6SLl923FXZLz5mteImj/rVMqUv0Ok3cE2sZL6UNdg==@python.org X-Gm-Message-State: AOJu0YyR/mACm1/zZgie8dX/6l5SAW6sZefoTfRd7P6RV2U188pfZOiP fLbzaiCV1qfYDf9+e8ZLaJ8kez+bhHBepeR8PMkL0Sg+JsYwRWTBjlijRjIr1SSmhc/5UyJZ6Un 0lzj4DtFVXvXHR8/rZWh5eSeVetY= X-Google-Smtp-Source: AGHT+IH5EuNy91uWdIwxrCljbOM84Q6EdJlciBzIc7iR/DXi7KzkxSUwbBumENgNmquY+uAZ+Fp/1qJii8sBdNeTCIs= X-Received: by 2002:a05:6870:a689:b0:2ad:cd1e:f9d3 with SMTP id 586e51a60fabf-2b8d6879732mr180997fac.8.1739303184256; Tue, 11 Feb 2025 11:46:24 -0800 (PST) X-Gmail-Original-Message-ID: <CANKMJBOBUcu6iGNO-kiHO1JXxmrxSuYgw4snKpmuE7yhg1oBuw@mail.gmail.com> X-Gm-Features: AWEUYZltfkpmtHKbCrAhRd-TEPRw8es_lY_bwHF1M8Ae3ocBzTB74jMVHAFsap8 X-Content-Filtered-By: Mailman/MimeDel 2.1.39 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language <python-list.python.org> List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> List-Archive: <https://mail.python.org/pipermail/python-list/> List-Post: <mailto:python-list@python.org> List-Help: <mailto:python-list-request@python.org?subject=help> List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> X-Mailman-Original-Message-ID: <CANKMJBOBUcu6iGNO-kiHO1JXxmrxSuYgw4snKpmuE7yhg1oBuw@mail.gmail.com> Bytes: 7078 Here comes the antepenultimate alpha. https://www.python.org/downloads/release/python-3140a5/ This is an early developer preview of Python 3.14. Major new features of the 3.14 series, compared to 3.13: Python 3.14 is still in development. This release, 3.14.0a5, is the fifth 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 - A new type of interpreter. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source. - Python removals and deprecations - 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 the penultimate alpha, 3.14.0a6, currently scheduled for 2025-03-14. 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! 2025-01-29 marked the start of a new lunar year, the Year of the Snake =F0= =9F=90=8D (and the Year of Python?). For centuries, =CF=80 was often approximated as 3 in China. Some time betwe= en the years 1 and 5 CE, astronomer, librarian, mathematician and politician Liu Xin (=E5=8A=89=E6=AD=86) calculated =CF=80 as 3.154. Around 130 CE, mathematician, astronomer, and geographer Zhang Heng (=E5=BC= =B5=E8=A1=A1, 78=E2=80=93139) compared the celestial circle with the diameter of the eart= h as 736:232 to get 3.1724. He also came up with a formula for the ratio between a cube and inscribed sphere as 8:5, implying the ratio of a square=E2=80=99= s area to an inscribed circle is =E2=88=9A8:=E2=88=9A5. From this, he calculated = =CF=80 as =E2=88=9A10 (~3.162). Third century mathematician Liu Hui (=E5=88=98=E5=BE=BD) came up with an al= gorithm for calculating =CF=80 iteratively: calculate the area of a polygon inscribed i= n a circle, then as the number of sides of the polygon is increased, the area becomes closer to that of the circle, from which you can approximate =CF=80= .. This algorithm is similar to the method used by Archimedes in the 3rd century BCE and Ludolph van Ceulen in the 16th century CE (see 3.14.0a2 release notes), but Archimedes only went up to a 96-sided polygon (96-gon). Liu Hui went up to a 192-gon to approximate =CF=80 as 157/50 (3.14) and lat= er a 3072-gon for 3.14159. Liu Hu wrote a commentary on the book The Nine Chapters on the Mathematical Art which included his =CF=80 approximations. In the fifth century, astronomer, inventor, mathematician, politician, and writer Zu Chongzhi (=E7=A5=96=E6=B2=96=E4=B9=8B, 429=E2=80=93500) used Liu = Hui=E2=80=99s algorithm to inscribe a 12,288-gon to compute =CF=80 between 3.1415926 and 3.1415927, correct to se= ven decimal places. This was more accurate than Hellenistic calculations and wouldn=E2=80=99t be improved upon for 900 years. Happy Year of the Snake! 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 remarkably snowless Helsinki, Your release team, Hugo van Kemenade Ned Deily Steve Dower =C5=81ukasz Langa