[RELEASE] Python 3.13.0 beta 1 released

2024-05-08 Thread Thomas Wouters via Python-list
a feature you find important is missing
from this list, let Thomas know .)

For more details on the changes to Python 3.13, see What’s new in Python
3.13 <https://docs.python.org/3.13/whatsnew/3.13.html>. The next
pre-release of Python 3.13 will be 3.13.0b2, currently scheduled for
2024-05-28.
<https://discuss.python.org/t/python-3-13-0b1-now-available/52891#more-resources-5>More
resources

   - Online Documentation <https://docs.python.org/3.13/>
   - PEP 719 <https://peps.python.org/pep-0719/>, 3.13 Release Schedule
   - Report bugs at Issues · python/cpython · GitHub
   <https://github.com/python/cpython/issues>.
   - Help fund Python directly
   <https://www.python.org/psf/donations/python-dev/> (or via GitHub
   Sponsors <https://github.com/sponsors/python>), and support the Python
   community <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-13-0b1-now-available/52891#enjoy-the-new-releases-6>Enjoy
the new releases

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 organization contributions to the Python
Software Foundation.

Regards from droopy Amsterdam,

Your release team,
Thomas Wouters @thomas <https://discuss.python.org/u/thomas>
Łukasz Langa @ambv <https://discuss.python.org/u/ambv>
Ned Deily @nad <https://discuss.python.org/u/nad>
Steve Dower @steve.dower <https://discuss.python.org/u/steve.dower>
-- 
https://mail.python.org/mailman/listinfo/python-list


[RELEASE] Python 3.12.3 and 3.13.0a6 released

2024-04-09 Thread Thomas Wouters via Python-list
*It’s time to eclipse the Python 3.11.9 release with two releases*, one of
which is the *very last alpha release of Python 3.13*:
<https://discuss.python.org/t/python-3-12-3-and-3-13-0a6-released/50601#python-3123-1>Python
3.12.3

300+ of the finest commits went into this latest maintenance release of the
latest Python version, the most stablest, securest, bugfreeest we could
make it.
https://www.python.org/downloads/release/python-3123/
<https://discuss.python.org/t/python-3-12-3-and-3-13-0a6-released/50601#python-3130a6-2>Python
3.13.0a6

What’s that? The last alpha release? Just one more month until feature
freeze! Get your features done, get your bugs fixed, let’s get 3.13.0 ready
for people to actually use! Until then, let’s test with alpha 6. The
highlights of 3.13 you ask? Well:

   - In the interactive interpreter, exception tracebacks are now colorized
   by default
   <https://docs.python.org/dev/whatsnew/3.13.html#improved-error-messages>.
   - A preliminary, *experimental* JIT was added
   <https://docs.python.org/dev/whatsnew/3.13.html#experimental-jit-compiler>,
   providing the ground work for significant performance improvements.
   - The (cyclic) garbage collector is now incremental
   
<https://docs.python.org/dev/whatsnew/3.13.html#incremental-garbage-collection>,
   which should mean shorter pauses for collection in programs with a lot of
   objects.
   - Docstrings now have their leading indentation stripped
   <https://docs.python.org/dev/whatsnew/3.13.html#other-language-changes>,
   reducing memory use and the size of .pyc files. (Most tools handling
   docstrings already strip leading indentation.)
   - The dbm module <https://docs.python.org/dev/library/dbm.html> has a
   new dbm.sqlite3 backend
   <https://docs.python.org/dev/whatsnew/3.13.html#id1> that is used by
   default when creating new files.
   - PEP 594 (Removing dead batteries from the standard library)
   <https://peps.python.org/pep-0594/> scheduled removals of many
   deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr,
   mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau,
   telnetlib, uu, xdrlib, lib2to3.
   - Many other removals
   <https://docs.python.org/dev/whatsnew/3.13.html#removed> of deprecated
   classes, functions and methods in various standard library modules.
   - New deprecations
   <https://docs.python.org/dev/whatsnew/3.13.html#deprecated>, most of
   which are scheduled for removal from Python 3.15 or 3.16.
   - C API removals <https://docs.python.org/dev/whatsnew/3.13.html#id10>
   and deprecations <https://docs.python.org/dev/whatsnew/3.13.html#id9>.
   (Some removals present in alpha 1 were reverted in alpha 2, as the removals
   were deemed too disruptive at this time.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know . It’s getting to be
really important now!)
https://www.python.org/downloads/release/python-3130a6/
<https://discuss.python.org/t/python-3-12-3-and-3-13-0a6-released/50601#we-hope-you-enjoy-the-new-releases-3>We
hope you enjoy the new releases!

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 contributions to the Python Software
Foundation <https://www.python.org/psf-landing/> or CPython itself
<https://github.com/sponsors/python>.

Thomas “can you tell I haven’t had coffee today” Wouters
on behalf of your release team,

Ned Deily
Steve Dower
Pablo Galindo Salgado
Łukasz Langa
-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[RELEASE] Python 3.13.0a5 is now available

2024-03-12 Thread Thomas Wouters via Python-list
We’re getting closer and closer… Alpha 5 is here.
https://www.python.org/downloads/release/python-3130a5/

*This is an early developer preview of Python 3.13*
Major new features of the 3.13 series, compared to 3.12

Python 3.13 is still in development. This release, 3.13.0a5, is the fifth
of six 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 (2024-05-07) and, if necessary, may be modified or deleted up
until the release candidate phase (2024-07-30). 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.13 are still being planned and written. Work
continues apace on both the work to remove the Global Interpeter Lock
<https://peps.python.org/pep-0703/>, and to improve Python performance. The
most notable changes so far:

   - In the interactive interpreter, exception tracebacks are now colorized
   by default
   <https://docs.python.org/dev/whatsnew/3.13.html#improved-error-messages>.
   - A preliminary, *experimental* JIT was added
   <https://docs.python.org/dev/whatsnew/3.13.html#experimental-jit-compiler>,
   providing the ground work for significant performance improvements.
   - Docstrings now have their leading indentation stripped
   <https://docs.python.org/dev/whatsnew/3.13.html#other-language-changes>,
   reducing memory use and the size of .pyc files. (Most tools handling
   docstrings already strip leading indentation.)
   - The dbm module <https://docs.python.org/dev/library/dbm.html> has a
   new dbm.sqlite3 backend
   <https://docs.python.org/dev/whatsnew/3.13.html#id1> that is used by
   default when creating new files.
   - PEP 594 (Removing dead batteries from the standard library)
   <https://peps.python.org/pep-0594/> scheduled removals of many
   deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr,
   mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau,
   telnetlib, uu, xdrlib, lib2to3.
   - Many other removals
   <https://docs.python.org/dev/whatsnew/3.13.html#removed> of deprecated
   classes, functions and methods in various standard library modules.
   - New deprecations
   <https://docs.python.org/dev/whatsnew/3.13.html#deprecated>, most of
   which are scheduled for removal from Python 3.15 or 3.16.
   - C API removals <https://docs.python.org/dev/whatsnew/3.13.html#id10>
   and deprecations <https://docs.python.org/dev/whatsnew/3.13.html#id9>.
   (Some removals present in alpha 1 have been reverted in alpha 2, as the
   removals were deemed too disruptive at this time.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

The next pre-release of Python 3.13 will be 3.13.0a6, currently scheduled
for 2024-04-09.
<https://discuss.python.org/t/python-3-13-0-alpha-5/48341#more-resources-2>More
resources

   - Online Documentation <https://docs.python.org/3.13/>
   - PEP 719 <https://www.python.org/dev/peps/pep-0719/>, 3.13 Release
   Schedule
   - Report bugs at Issues · python/cpython · GitHub
   <https://github.com/python/cpython/issues>.
   - Help fund Python directly
   <https://www.python.org/psf/donations/python-dev/> (or via GitHub
   Sponsors <https://github.com/sponsors/python>), and support the Python
   community <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-13-0-alpha-5/48341#enjoy-the-new-releases-3>Enjoy
the new releases

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 organization contributions to the Python
Software Foundation.

Regards from wet and chilly Amsterdam,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa
-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[RELEASE] Python 3.13.0a4 is now available

2024-02-15 Thread Thomas Wouters via Python-list
It’s time for Python 3.13.0 alpha 4 (now with SPDX SBOM OMG!):

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

*This is an early developer preview of Python 3.13*
<https://discuss.python.org/t/python-3-13-alpha-4/46042#major-new-features-of-the-313-series-compared-to-312-1>Major
new features of the 3.13 series, compared to 3.12

Python 3.13 is still in development. This release, 3.13.0a4, is the fourth
of six 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 (2024-05-07) and, if necessary, may be modified or deleted up
until the release candidate phase (2024-07-30). 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.13 are still being planned and written. Work
continues apace on both the work to remove the Global Interpeter Lock
<https://peps.python.org/pep-0703/>, and to improve Python performance. The
most notable changes so far:

   - In the interactive interpreter, exception tracebacks are now colorized
   by default
   <https://docs.python.org/dev/whatsnew/3.13.html#improved-error-messages>.
   - A preliminary, *experimental* JIT was added
   <https://docs.python.org/dev/whatsnew/3.13.html#experimental-jit-compiler>,
   providing the ground work for significant performance improvements.
   - Docstrings now have their leading indentation stripped
   <https://docs.python.org/dev/whatsnew/3.13.html#other-language-changes>,
   reducing memory use and the size of .pyc files. (Most tools handling
   docstrings already strip leading indentation.)
   - PEP 594 (Removing dead batteries from the standard library)
   <https://peps.python.org/pep-0594/> scheduled removals of many
   deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr,
   mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau,
   telnetlib, uu, xdrlib, lib2to3.
   - Many other removals
   <https://docs.python.org/dev/whatsnew/3.13.html#removed> of deprecated
   classes, functions and methods in various standard library modules.
   - New deprecations
   <https://docs.python.org/dev/whatsnew/3.13.html#deprecated>, most of
   which are scheduled for removal from Python 3.15 or 3.16.
   - C API removals <https://docs.python.org/dev/whatsnew/3.13.html#id10>
   and deprecations <https://docs.python.org/dev/whatsnew/3.13.html#id9>.
   (Some removals present in alpha 1 have been reverted in alpha 2, as the
   removals were deemed too disruptive at this time.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

The next pre-release of Python 3.13 will be 3.13.0a5, currently scheduled
for 2023-03-12.
<https://discuss.python.org/t/python-3-13-alpha-4/46042#more-resources-2>More
resources

   - Online Documentation <https://docs.python.org/3.13/>
   - PEP 719 <https://www.python.org/dev/peps/pep-0719/>, 3.13 Release
   Schedule
   - Report bugs at https://github.com/python/cpython/issues.
   - Help fund Python directly
   <https://www.python.org/psf/donations/python-dev/> (or via GitHub
   Sponsors <https://github.com/sponsors/python>), and support the Python
   community <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-13-alpha-4/46042#enjoy-the-new-releases-3>Enjoy
the new releases

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 organization contributions to the Python
Software Foundation.

Regards from dusky Amsterdam,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa
-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[RELEASE] Python 3.12.2 and 3.11.8 now available.

2024-02-07 Thread Thomas Wouters via Python-list
*Python 3.12.2 and 3.11.8 are here! *In addition to all the usual bugfixes,
these releases contain a small security fix: hidden .pth files are no
longer automatically read and executed
<https://docs.python.org/release/3.12.2/whatsnew/changelog.html#security>
as part of Python startup. (New releases of 3.8, 3.9 and 3.10 containing
the same fix are expected next week.)
<https://discuss.python.org/t/python-3-12-2-and-3-11-8-released/45268#python-3122-2>Python
3.12.2

https://www.python.org/downloads/release/python-3122/

Python 3.12’s second bugfix release. In addition to the mentioned security
fix and the usual slew of bug fixes, build changes and documentation
updates (more than 350 commits), this is also the first release to include
a Software Bill-of-Materials for the source packages
<https://discuss.python.org/t/create-and-distribute-software-bill-of-materials-sbom-for-python-artifacts/39293>
(Python-3.12.2.tgz and Python-3.12.2.tar.xz). Full changelog
<https://docs.python.org/release/3.12.2/whatsnew/changelog.html>.
<https://discuss.python.org/t/python-3-12-2-and-3-11-8-released/45268#python-3118-3>Python
3.11.8

https://www.python.org/downloads/release/python-3118/

More than 300 commits of bug fixes, build changes and documentation
updates. Full changelog
<https://docs.python.org/release/3.11.8/whatsnew/changelog.html>.
<https://discuss.python.org/t/python-3-12-2-and-3-11-8-released/45268#we-hope-you-enjoy-the-new-releases-4>We
hope you enjoy the new releases!

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 contributions to the Python Software
Foundation <https://www.python.org/psf-landing/> or CPython itself
<https://github.com/sponsors/python>.

Thomas Wouters @thomas <https://discuss.python.org/u/thomas>
on behalf of your release team,

Ned Deily
Steve Dower
Pablo Galindo Salgado
Łukasz Langa
-- 
https://mail.python.org/mailman/listinfo/python-list


Python 3.13.0a3 is now available.

2024-01-17 Thread Thomas Wouters via Python-list
We silently skipped releasing in December (it was too close to the
holidays, a lot of people were away) so by date you may have been expecting
alpha 4, but instead it’s alpha 3:
https://www.python.org/downloads/release/python-3130a3/

*This is an early developer preview of Python 3.13*
<https://discuss.python.org/t/python-3-13-alpha-3/43437#major-new-features-of-the-313-series-compared-to-312-1>Major
new features of the 3.13 series, compared to 3.12

Python 3.13 is still in development. This release, 3.13.0a3, is the third
of six 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 (2024-05-07) and, if necessary, may be modified or deleted up
until the release candidate phase (2024-07-30). 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.13 are still being planned and written. Work
continues apace on both the work to remove the Global Interpeter Lock
<https://peps.python.org/pep-0703/>, and to improve Python performance. The
most notable changes so far:

   - In the interactive interpreter, exception tracebacks are now colorized
   by default
   <https://docs.python.org/dev/whatsnew/3.13.html#improved-error-messages>.
   - Docstrings now have their leading indentation stripped
   <https://docs.python.org/dev/whatsnew/3.13.html#other-language-changes>,
   reducing memory use and the size of .pyc files. (Most tools handling
   docstrings already strip leading indentation.)
   - PEP 594 (Removing dead batteries from the standard library)
   <https://peps.python.org/pep-0594/> scheduled removals of many
   deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr,
   mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau,
   telnetlib, uu, xdrlib, lib2to3.
   - Many other removals
   <https://docs.python.org/dev/whatsnew/3.13.html#removed> of deprecated
   classes, functions and methods in various standard library modules.
   - New deprecations
   <https://docs.python.org/dev/whatsnew/3.13.html#deprecated>, most of
   which are scheduled for removal from Python 3.15 or 3.16.
   - C API removals <https://docs.python.org/dev/whatsnew/3.13.html#id10>
   and deprecations <https://docs.python.org/dev/whatsnew/3.13.html#id9>.
   (Some removals present in alpha 1 have been reverted in alpha 2, as the
   removals were deemed too disruptive at this time.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

The next pre-release of Python 3.13 will be 3.13.0a4, currently scheduled
for 2023-02-13.
<https://discuss.python.org/t/python-3-13-alpha-3/43437#more-resources-2>More
resources

   - Online Documentation <https://docs.python.org/3.13/>
   - PEP 719 <https://www.python.org/dev/peps/pep-0719/>, 3.13 Release
   Schedule
   - Report bugs at Issues · python/cpython · GitHub
   <https://github.com/python/cpython/issues>.
   - Help fund Python and its community
   <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-13-alpha-3/43437#enjoy-the-new-releases-3>Enjoy
the new releases

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 organization contributions to the Python
Software Foundation.

Regards from snowy Amsterdam,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa
-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] Python 3.12.1 is now available

2023-12-07 Thread Thomas Wouters
Python 3.12.1 is now available.

https://www.python.org/downloads/release/python-3121/
This is the first maintenance release of Python 3.12

Python 3.12 is the newest major release of the Python programming language,
and it contains many new features and optimizations. 3.12.1 is the latest
maintenance release, containing more than 400 bugfixes, build improvements
and documentation changes since 3.12.0.
<https://discuss.python.org/t/python-3-12-1-now-available/40603#major-new-features-of-the-312-series-compared-to-311-2>Major
new features of the 3.12 series, compared to 3.11
<https://discuss.python.org/t/python-3-12-1-now-available/40603#new-features-3>New
features

   - More flexible f-string parsing
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-701-syntactic-formalization-of-f-strings>,
   allowing many things previously disallowed (PEP 701
   <https://peps.python.org/pep-0701/>).
   - Support for the buffer protocol
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-688-making-the-buffer-protocol-accessible-in-python>
   in Python code (PEP 688 <https://peps.python.org/pep-0688/>).
   - A new debugging/profiling API
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-669-low-impact-monitoring-for-cpython>
   (PEP 669 <https://peps.python.org/pep-0669/>).
   - Support for isolated subinterpreters
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-684-a-per-interpreter-gil>
   with separate Global Interpreter Locks (PEP 684
   <https://peps.python.org/pep-0684>).
   - Even more improved error messages
   <https://docs.python.org/3.12/whatsnew/3.12.html#improved-error-messages>.
   More exceptions potentially caused by typos now make suggestions to the
   user.
   - Support for the Linux perf profiler
   <https://docs.python.org/3.12/howto/perf_profiling.html> to report
   Python function names in traces.
   - Many large and small performance improvements
   <https://docs.python.org/3.12/whatsnew/3.12.html#optimizations> (like PEP
   709 <https://peps.python.org/pep-0709/> and support for the BOLT binary
   optimizer), delivering an estimated 5% overall performance improvement.

<https://discuss.python.org/t/python-3-12-1-now-available/40603#type-annotations-4>Type
annotations

   - New type annotation syntax
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-695-type-parameter-syntax>
   for generic classes (PEP 695 <https://peps.python.org/pep-0695/>).
   - New override decorator
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-698-override-decorator-for-static-typing>
   for methods (PEP 698 <https://peps.python.org/pep-0698>).

<https://discuss.python.org/t/python-3-12-1-now-available/40603#deprecations-5>
Deprecations

   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623/>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594/> and PEP 632
   <https://peps.python.org/pep-0632/>. The setuptools package continues to
   provide the distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods <https://docs.python.org/3.12/whatsnew/3.12.html#removed> have
   been removed.
   - Invalid backslash escape sequences in strings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>.
<https://discuss.python.org/t/python-3-12-1-now-available/40603#more-resources-6>More
resources

   - Online Documentation <https://docs.python.org/3.12/>.
   - PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
   Release Schedule.
   - Report bugs via GitHub Issues
   <https://github.com/python/cpython/issues>.
   - Help fund Python directly
   <https://www.python.org/psf/donations/python-dev/> or via GitHub Sponsors
   <https://github.com/sponsors/python>, and support the Python community
   <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-12-1-now-available/40603#we-hope-you-enjoy-the-new-releases-7>We
hope you enjoy the new releases!

Thanks to all of the many volunteers who help make Python Development and
these releases possible! Please consider supporting our ef

Python 3.12.1 is now available

2023-12-07 Thread Thomas Wouters via Python-list
Python 3.12.1 is now available.

https://www.python.org/downloads/release/python-3121/
This is the first maintenance release of Python 3.12

Python 3.12 is the newest major release of the Python programming language,
and it contains many new features and optimizations. 3.12.1 is the latest
maintenance release, containing more than 400 bugfixes, build improvements
and documentation changes since 3.12.0.
<https://discuss.python.org/t/python-3-12-1-now-available/40603#major-new-features-of-the-312-series-compared-to-311-2>Major
new features of the 3.12 series, compared to 3.11
<https://discuss.python.org/t/python-3-12-1-now-available/40603#new-features-3>New
features

   - More flexible f-string parsing
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-701-syntactic-formalization-of-f-strings>,
   allowing many things previously disallowed (PEP 701
   <https://peps.python.org/pep-0701/>).
   - Support for the buffer protocol
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-688-making-the-buffer-protocol-accessible-in-python>
   in Python code (PEP 688 <https://peps.python.org/pep-0688/>).
   - A new debugging/profiling API
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-669-low-impact-monitoring-for-cpython>
   (PEP 669 <https://peps.python.org/pep-0669/>).
   - Support for isolated subinterpreters
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-684-a-per-interpreter-gil>
   with separate Global Interpreter Locks (PEP 684
   <https://peps.python.org/pep-0684>).
   - Even more improved error messages
   <https://docs.python.org/3.12/whatsnew/3.12.html#improved-error-messages>.
   More exceptions potentially caused by typos now make suggestions to the
   user.
   - Support for the Linux perf profiler
   <https://docs.python.org/3.12/howto/perf_profiling.html> to report
   Python function names in traces.
   - Many large and small performance improvements
   <https://docs.python.org/3.12/whatsnew/3.12.html#optimizations> (like PEP
   709 <https://peps.python.org/pep-0709/> and support for the BOLT binary
   optimizer), delivering an estimated 5% overall performance improvement.

<https://discuss.python.org/t/python-3-12-1-now-available/40603#type-annotations-4>Type
annotations

   - New type annotation syntax
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-695-type-parameter-syntax>
   for generic classes (PEP 695 <https://peps.python.org/pep-0695/>).
   - New override decorator
   
<https://docs.python.org/3.12/whatsnew/3.12.html#pep-698-override-decorator-for-static-typing>
   for methods (PEP 698 <https://peps.python.org/pep-0698>).

<https://discuss.python.org/t/python-3-12-1-now-available/40603#deprecations-5>
Deprecations

   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623/>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594/> and PEP 632
   <https://peps.python.org/pep-0632/>. The setuptools package continues to
   provide the distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods <https://docs.python.org/3.12/whatsnew/3.12.html#removed> have
   been removed.
   - Invalid backslash escape sequences in strings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>.
<https://discuss.python.org/t/python-3-12-1-now-available/40603#more-resources-6>More
resources

   - Online Documentation <https://docs.python.org/3.12/>.
   - PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
   Release Schedule.
   - Report bugs via GitHub Issues
   <https://github.com/python/cpython/issues>.
   - Help fund Python directly
   <https://www.python.org/psf/donations/python-dev/> or via GitHub Sponsors
   <https://github.com/sponsors/python>, and support the Python community
   <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-12-1-now-available/40603#we-hope-you-enjoy-the-new-releases-7>We
hope you enjoy the new releases!

Thanks to all of the many volunteers who help make Python Development and
these releases possible! Please consider supporting our ef

[Python-announce] Python 3.13.0 alpha 2 now available.

2023-11-22 Thread Thomas Wouters
Well, well, well, it’s time for Python 3.13.0 alpha 2!
https://www.python.org/downloads/release/python-3130a2/

*This is an early developer preview of Python 3.13*
<https://discuss.python.org/t/python-3-13-0-alpha-2/39379#major-new-features-of-the-313-series-compared-to-312-1>Major
new features of the 3.13 series, compared to 3.12

Python 3.13 is still in development. This release, 3.13.0a2 is the second
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 (2024-05-07) and, if necessary, may be modified or deleted up
until the release candidate phase (2024-07-30). 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.13 are still being planned and written. The
most notable change so far:

   - PEP 594 (Removing dead batteries from the standard library)
   <https://peps.python.org/pep-0594/> scheduled removals of many
   deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr,
   mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau,
   telnetlib, uu, xdrlib, lib2to3.
   - Many other removals
   <https://docs.python.org/dev/whatsnew/3.13.html#removed> of deprecated
   classes, functions and methods in various standard library modules.
   - New deprecations
   <https://docs.python.org/dev/whatsnew/3.13.html#deprecated>, most of
   which are scheduled for removal from Python 3.15 or 3.16.
   - C API removals <https://docs.python.org/dev/whatsnew/3.13.html#id10>
   and deprecations <https://docs.python.org/dev/whatsnew/3.13.html#id9>.
   (Some removals present in alpha 1 have been reverted in alpha 2, as the
   removals were deemed too disruptive at this time.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

The next pre-release of Python 3.13 will be 3.13.0a3, currently scheduled
for 2023-12-19.
<https://discuss.python.org/t/python-3-13-0-alpha-2/39379#more-resources-2>More
resources

   - Online Documentation <https://docs.python.org/3.13/>
   - PEP 719 <https://www.python.org/dev/peps/pep-0719/>, 3.13 Release
   Schedule
   - Report bugs at https://github.com/python/cpython/issues .
   - Help fund Python and its community
   <https://discuss.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-13-0-alpha-2/39379#enjoy-the-new-releases-3>Enjoy
the new releases

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 organization contributions to the Python
Software Foundation.

Regards from chilly Amsterdam,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Python 3.13.0 alpha 2 now available.

2023-11-22 Thread Thomas Wouters via Python-list
Well, well, well, it’s time for Python 3.13.0 alpha 2!
https://www.python.org/downloads/release/python-3130a2/

*This is an early developer preview of Python 3.13*
<https://discuss.python.org/t/python-3-13-0-alpha-2/39379#major-new-features-of-the-313-series-compared-to-312-1>Major
new features of the 3.13 series, compared to 3.12

Python 3.13 is still in development. This release, 3.13.0a2 is the second
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 (2024-05-07) and, if necessary, may be modified or deleted up
until the release candidate phase (2024-07-30). 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.13 are still being planned and written. The
most notable change so far:

   - PEP 594 (Removing dead batteries from the standard library)
   <https://peps.python.org/pep-0594/> scheduled removals of many
   deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr,
   mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau,
   telnetlib, uu, xdrlib, lib2to3.
   - Many other removals
   <https://docs.python.org/dev/whatsnew/3.13.html#removed> of deprecated
   classes, functions and methods in various standard library modules.
   - New deprecations
   <https://docs.python.org/dev/whatsnew/3.13.html#deprecated>, most of
   which are scheduled for removal from Python 3.15 or 3.16.
   - C API removals <https://docs.python.org/dev/whatsnew/3.13.html#id10>
   and deprecations <https://docs.python.org/dev/whatsnew/3.13.html#id9>.
   (Some removals present in alpha 1 have been reverted in alpha 2, as the
   removals were deemed too disruptive at this time.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

The next pre-release of Python 3.13 will be 3.13.0a3, currently scheduled
for 2023-12-19.
<https://discuss.python.org/t/python-3-13-0-alpha-2/39379#more-resources-2>More
resources

   - Online Documentation <https://docs.python.org/3.13/>
   - PEP 719 <https://www.python.org/dev/peps/pep-0719/>, 3.13 Release
   Schedule
   - Report bugs at https://github.com/python/cpython/issues .
   - Help fund Python and its community
   <https://discuss.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-13-0-alpha-2/39379#enjoy-the-new-releases-3>Enjoy
the new releases

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 organization contributions to the Python
Software Foundation.

Regards from chilly Amsterdam,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] Python 3.13.0 alpha 1 now available.

2023-10-13 Thread Thomas Wouters
It’s not a very exciting release (yet), but it’s time for the first alpha
of Python 3.13 anyway!

https://www.python.org/downloads/release/python-3130a1/

*This is an early developer preview of Python 3.13*
<https://discuss.python.org/t/python-3-13-0-alpha-1/36109#major-new-features-of-the-313-series-compared-to-312-1>Major
new features of the 3.13 series, compared to 3.12

Python 3.13 is still in development. This release, 3.13.0a1 is the first 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 (2024-05-07) and, if necessary, may be modified or deleted up
until the release candidate phase (2024-07-30). 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.13 are still being planned and written. The
most notable change so far are new deprecations
<https://docs.python.org/dev/whatsnew/3.13.html#deprecated>, most of which
are scheduled for removal from Python 3.15 or 3.16

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

The next pre-release of Python 3.13 will be 3.13.0a2, currently scheduled
for 2023-11-21.
<https://discuss.python.org/t/python-3-13-0-alpha-1/36109#more-resources-2>More
resources

   - Online Documentation <https://docs.python.org/3.13/>
   - PEP 719 <https://www.python.org/dev/peps/pep-0719/>, 3.13 Release
   Schedule
   - Report bugs at https://github.com/python/cpython/issues.
   - Help fund Python and its community
   <https://discuss.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-13-0-alpha-1/36109#enjoy-the-new-releases-3>Enjoy
the new releases

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 organization contributions to the Python
Software Foundation.

Regards from lovely Czechia,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Python 3.13.0 alpha 1 now available.

2023-10-13 Thread Thomas Wouters via Python-list
It’s not a very exciting release (yet), but it’s time for the first alpha
of Python 3.13 anyway!

https://www.python.org/downloads/release/python-3130a1/

*This is an early developer preview of Python 3.13*
<https://discuss.python.org/t/python-3-13-0-alpha-1/36109#major-new-features-of-the-313-series-compared-to-312-1>Major
new features of the 3.13 series, compared to 3.12

Python 3.13 is still in development. This release, 3.13.0a1 is the first 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 (2024-05-07) and, if necessary, may be modified or deleted up
until the release candidate phase (2024-07-30). 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.13 are still being planned and written. The
most notable change so far are new deprecations
<https://docs.python.org/dev/whatsnew/3.13.html#deprecated>, most of which
are scheduled for removal from Python 3.15 or 3.16

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

The next pre-release of Python 3.13 will be 3.13.0a2, currently scheduled
for 2023-11-21.
<https://discuss.python.org/t/python-3-13-0-alpha-1/36109#more-resources-2>More
resources

   - Online Documentation <https://docs.python.org/3.13/>
   - PEP 719 <https://www.python.org/dev/peps/pep-0719/>, 3.13 Release
   Schedule
   - Report bugs at https://github.com/python/cpython/issues.
   - Help fund Python and its community
   <https://discuss.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-13-0-alpha-1/36109#enjoy-the-new-releases-3>Enjoy
the new releases

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 organization contributions to the Python
Software Foundation.

Regards from lovely Czechia,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] Python 3.12.0 (final) now available.

2023-10-02 Thread Thomas Wouters
hare our food
Share our homes
Share our countries
Instead let us
Build a wall to keep them out
It is not okay to say
These are people just like us
A place should only belong to those who are born there
Do not be so stupid to think that
The world can be looked at another way

(now read from bottom to top)

Refugees <https://brianbilston.com/2016/03/23/refugees/>, by Brian Bilston
<https://mastodon.online/@brianbilston>.
<https://discuss.python.org/t/python-3-12-0-final-is-here/35186#we-hope-you-enjoy-the-new-releases-8>We
hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Python 3.12.0 (final) now available.

2023-10-02 Thread Thomas Wouters via Python-list
hare our food
Share our homes
Share our countries
Instead let us
Build a wall to keep them out
It is not okay to say
These are people just like us
A place should only belong to those who are born there
Do not be so stupid to think that
The world can be looked at another way

(now read from bottom to top)

Refugees <https://brianbilston.com/2016/03/23/refugees/>, by Brian Bilston
<https://mastodon.online/@brianbilston>.
<https://discuss.python.org/t/python-3-12-0-final-is-here/35186#we-hope-you-enjoy-the-new-releases-8>We
hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] Python 3.12.0 rc3 (final release candidate I promise!) now available

2023-09-19 Thread Thomas Wouters
ash escape sequences in strings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next scheduled
release of Python 3.12 will be 3.12.0, the *final release*, currently
scheduled for 2023-10-02.
<https://discuss.python.org/t/python-3-12-0rc2-final-release-candidate-released/33105#more-resources-8>More
resources

   - Online Documentation <https://docs.python.org/3.12/>.
   - PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
   Release Schedule.
   - Report bugs via GitHub Issues
   <https://github.com/python/cpython/issues>.
   - Help fund Python and its community
   <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-12-0rc2-final-release-candidate-released/33105#we-hope-you-enjoy-the-new-releases-9>We
hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Python 3.12.0 rc3 (final release candidate I promise!) now available

2023-09-19 Thread Thomas Wouters via Python-list
ash escape sequences in strings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next scheduled
release of Python 3.12 will be 3.12.0, the *final release*, currently
scheduled for 2023-10-02.
<https://discuss.python.org/t/python-3-12-0rc2-final-release-candidate-released/33105#more-resources-8>More
resources

   - Online Documentation <https://docs.python.org/3.12/>.
   - PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
   Release Schedule.
   - Report bugs via GitHub Issues
   <https://github.com/python/cpython/issues>.
   - Help fund Python and its community
   <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-12-0rc2-final-release-candidate-released/33105#we-hope-you-enjoy-the-new-releases-9>We
hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] Python 3.12.0 rc2 (final release candidate) now available.

2023-09-06 Thread Thomas Wouters
ing instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next scheduled
release of Python 3.12 will be 3.12.0, the *final release*, currently
scheduled for 2023-10-02.
<https://discuss.python.org/t/python-3-12-0rc2-final-release-candidate-released/33105#more-resources-8>More
resources

   - Online Documentation <https://docs.python.org/3.12/>.
   - PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
   Release Schedule.
   - Report bugs via GitHub Issues
   <https://github.com/python/cpython/issues>.
   - Help fund Python and its community
   <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-12-0rc2-final-release-candidate-released/33105#we-hope-you-enjoy-the-new-releases-9>We
hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Python 3.12.0 rc2 (final release candidate) now available.

2023-09-06 Thread Thomas Wouters via Python-list
ing instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next scheduled
release of Python 3.12 will be 3.12.0, the *final release*, currently
scheduled for 2023-10-02.
<https://discuss.python.org/t/python-3-12-0rc2-final-release-candidate-released/33105#more-resources-8>More
resources

   - Online Documentation <https://docs.python.org/3.12/>.
   - PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
   Release Schedule.
   - Report bugs via GitHub Issues
   <https://github.com/python/cpython/issues>.
   - Help fund Python and its community
   <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-12-0rc2-final-release-candidate-released/33105#we-hope-you-enjoy-the-new-releases-9>We
hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] [RELEASE] Python 3.12.0 release candidate 1 released

2023-08-06 Thread Thomas Wouters
rings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next pre-release
of Python 3.12 will be 3.12.0rc2, the *final release candidate*, currently
scheduled for 2023-09-04.
<https://discuss.python.org/t/python-3-12-0-release-candidate-1-released/31137#more-resources-8>More
resources

   - Online Documentation <https://docs.python.org/3.12/>.
   - PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
   Release Schedule.
   - Report bugs via GitHub Issues
   <https://github.com/python/cpython/issues>.
   - Help fund Python and its community
   <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-12-0-release-candidate-1-released/31137#we-hope-you-enjoy-the-new-releases-9>We
hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa
-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[RELEASE] Python 3.12.0 release candidate 1 released

2023-08-06 Thread Thomas Wouters via Python-list
rings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)

(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next pre-release
of Python 3.12 will be 3.12.0rc2, the *final release candidate*, currently
scheduled for 2023-09-04.
<https://discuss.python.org/t/python-3-12-0-release-candidate-1-released/31137#more-resources-8>More
resources

   - Online Documentation <https://docs.python.org/3.12/>.
   - PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
   Release Schedule.
   - Report bugs via GitHub Issues
   <https://github.com/python/cpython/issues>.
   - Help fund Python and its community
   <https://www.python.org/psf/donations/>.

<https://discuss.python.org/t/python-3-12-0-release-candidate-1-released/31137#we-hope-you-enjoy-the-new-releases-9>We
hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa
-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] [RELEASE] Python 3.12.0 beta 4 released

2023-07-11 Thread Thomas Wouters
Not much time left! I’ve released 3.12.0 beta 4. We’re now in the run-up to
rc1, so keep that in mind when you backport to the 3.12 branch.

https://www.python.org/downloads/release/python-3120b4/


*This is a beta preview of Python 3.12*
Python 3.12 is still in development. This release, 3.12.0b4, is the final
of four beta release previews of 3.12.

Beta release previews are intended to give the wider community the
opportunity to test new features and bug fixes and to prepare their
projects to support the new feature release.

We *strongly encourage* maintainers of third-party Python projects to *test
with 3.12* during the beta phase and report issues found to the Python bug
tracker <https://github.com/python/cpython/issues> as soon as possible.
While the release is planned to be feature complete entering the beta
phase, it is possible that features may be modified or, in rare cases,
deleted up until the start of the release candidate phase (Monday,
2023-07-31). Our goal is to have no ABI changes after this release, and as
few code changes as possible after 3.12.0rc1, the first release candidate.
To achieve that, it will be *extremely important* to get as much exposure
for 3.12 as possible during the beta phase.

Please keep in mind that this is a preview release and its use is *not
*recommended
for production environments.


*Major new features of the 3.12 series, compared to 3.11*
Some of the new major new features and changes in Python 3.12 are:


   - New type annotation syntax for generic classes (PEP 695
   <https://peps.python.org/pep-0695/>).
   - More flexible f-string parsing, allowing many things previously
   disallowed (PEP 701 <https://peps.python.org/pep-0701/>).
   - Support for the buffer protocol in Python code (PEP 688
   <https://peps.python.org/pep-0688/>).
   - Even more improved error messages. More exceptions potentially caused
   by typos now make suggestions to the user.
   - Many large and small performance improvements (like PEP 709
   <https://peps.python.org/pep-0709/>).
   - Support for the Linux perf profiler to report Python function names in
   traces.
   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623/>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594/> and PEP 632
   <https://peps.python.org/pep-0632/>. The setuptools package continues to
   provide the distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - Invalid backslash escape sequences in strings now warn with SyntaxWarning
   instead of DeprecationWarning, making them more visible. (They will
   become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)
   - (Hey, fellow core developer, if a feature you find important is
   missing from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/3.12/whatsnew/3.12.html>. The next
pre-release of Python 3.12 will be 3.12.0rc1, the *first release candidate*,
currently scheduled for 2023-07-31.


*More resources*
Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
Release Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.


*We hope you enjoy the new releases!*
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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Regards from the alternating thunderstorms and heat waves in Amsterdam,
Thomas Wouters.

Your release team,
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[RELEASE] Python 3.12.0 beta 4 released

2023-07-11 Thread Thomas Wouters via Python-list
Not much time left! I’ve released 3.12.0 beta 4. We’re now in the run-up to
rc1, so keep that in mind when you backport to the 3.12 branch.

https://www.python.org/downloads/release/python-3120b4/


*This is a beta preview of Python 3.12*
Python 3.12 is still in development. This release, 3.12.0b4, is the final
of four beta release previews of 3.12.

Beta release previews are intended to give the wider community the
opportunity to test new features and bug fixes and to prepare their
projects to support the new feature release.

We *strongly encourage* maintainers of third-party Python projects to *test
with 3.12* during the beta phase and report issues found to the Python bug
tracker <https://github.com/python/cpython/issues> as soon as possible.
While the release is planned to be feature complete entering the beta
phase, it is possible that features may be modified or, in rare cases,
deleted up until the start of the release candidate phase (Monday,
2023-07-31). Our goal is to have no ABI changes after this release, and as
few code changes as possible after 3.12.0rc1, the first release candidate.
To achieve that, it will be *extremely important* to get as much exposure
for 3.12 as possible during the beta phase.

Please keep in mind that this is a preview release and its use is *not
*recommended
for production environments.


*Major new features of the 3.12 series, compared to 3.11*
Some of the new major new features and changes in Python 3.12 are:


   - New type annotation syntax for generic classes (PEP 695
   <https://peps.python.org/pep-0695/>).
   - More flexible f-string parsing, allowing many things previously
   disallowed (PEP 701 <https://peps.python.org/pep-0701/>).
   - Support for the buffer protocol in Python code (PEP 688
   <https://peps.python.org/pep-0688/>).
   - Even more improved error messages. More exceptions potentially caused
   by typos now make suggestions to the user.
   - Many large and small performance improvements (like PEP 709
   <https://peps.python.org/pep-0709/>).
   - Support for the Linux perf profiler to report Python function names in
   traces.
   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623/>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594/> and PEP 632
   <https://peps.python.org/pep-0632/>. The setuptools package continues to
   provide the distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - Invalid backslash escape sequences in strings now warn with SyntaxWarning
   instead of DeprecationWarning, making them more visible. (They will
   become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)
   - (Hey, fellow core developer, if a feature you find important is
   missing from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What’s new in Python
3.12 <https://docs.python.org/3.12/whatsnew/3.12.html>. The next
pre-release of Python 3.12 will be 3.12.0rc1, the *first release candidate*,
currently scheduled for 2023-07-31.


*More resources*
Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
Release Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.


*We hope you enjoy the new releases!*
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 organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.

Regards from the alternating thunderstorms and heat waves in Amsterdam,
Thomas Wouters.

Your release team,
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] [RELEASE] Python 3.12.0 beta 3 released

2023-06-20 Thread Thomas Wouters
We’re getting close! 3.12.0 beta 3 has been released:

https://www.python.org/downloads/release/python-3120b3/


*This is a beta preview of Python 3.12*
Python 3.12 is still in development. This release, 3.12.0b3, is the third
of four beta release previews of 3.12.

Beta release previews are intended to give the wider community the
opportunity to test new features and bug fixes and to prepare their
projects to support the new feature release.

We *strongly encourage* maintainers of third-party Python projects to* test
with 3.12* during the beta phase and report issues found to [the Python bug
tracker (https://github.com/python/cpython/issues) as soon as possible.
While the release is planned to be feature complete entering the beta
phase, it is possible that features may be modified or, in rare cases,
deleted up until the start of the release candidate phase (Monday,
2023-07-31). Our goal is to have no ABI changes after beta 4 and as few
code changes as possible after 3.12.0rc1, the first release candidate. To
achieve that, it will be *extremely important* to get as much exposure for
3.12 as possible during the beta phase.

Please keep in mind that this is a preview release and its use is *not
*recommended
for production environments.


*Major new features of the 3.12 series, compared to 3.11*
Some of the new major new features and changes in Python 3.12 are:


   - New type annotation syntax for generic classes (PEP 695
   <https://peps.python.org/pep-0695/>).
   - More flexible f-string parsing, allowing many things previously
   disallowed (PEP 701 <https://peps.python.org/pep-0701/>).
   - Even more improved error messages. More exceptions potentially caused
   by typos now make suggestions to the user.
   - Many large and small performance improvements (like PEP 709
   <https://peps.python.org/pep-0709/>).
   - Support for the Linux perf profiler to report Python function names in
   traces.
   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623/>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594/> and PEP 632
   <https://peps.python.org/pep-0632/>. The setuptools package continues to
   provide the distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - Invalid backslash escape sequences in strings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)
   - (Hey, fellow core developer, if a feature you find important is
   missing from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What's new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next pre-release
of Python 3.12 will be 3.12.0b4, the last beta release, currently scheduled
for 2023-07-10.


*More resources*Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
Release Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.


*We hope you enjoy the new releases!*
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 organization contributions to the Python
Software Foundation.

Regards from a suddenly very stormy Amsterdam,
Thomas Wouters

Your release team,
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[RELEASE] Python 3.12.0 beta 3 released

2023-06-20 Thread Thomas Wouters via Python-list
We’re getting close! 3.12.0 beta 3 has been released:

https://www.python.org/downloads/release/python-3120b3/


*This is a beta preview of Python 3.12*
Python 3.12 is still in development. This release, 3.12.0b3, is the third
of four beta release previews of 3.12.

Beta release previews are intended to give the wider community the
opportunity to test new features and bug fixes and to prepare their
projects to support the new feature release.

We *strongly encourage* maintainers of third-party Python projects to* test
with 3.12* during the beta phase and report issues found to [the Python bug
tracker (https://github.com/python/cpython/issues) as soon as possible.
While the release is planned to be feature complete entering the beta
phase, it is possible that features may be modified or, in rare cases,
deleted up until the start of the release candidate phase (Monday,
2023-07-31). Our goal is to have no ABI changes after beta 4 and as few
code changes as possible after 3.12.0rc1, the first release candidate. To
achieve that, it will be *extremely important* to get as much exposure for
3.12 as possible during the beta phase.

Please keep in mind that this is a preview release and its use is *not
*recommended
for production environments.


*Major new features of the 3.12 series, compared to 3.11*
Some of the new major new features and changes in Python 3.12 are:


   - New type annotation syntax for generic classes (PEP 695
   <https://peps.python.org/pep-0695/>).
   - More flexible f-string parsing, allowing many things previously
   disallowed (PEP 701 <https://peps.python.org/pep-0701/>).
   - Even more improved error messages. More exceptions potentially caused
   by typos now make suggestions to the user.
   - Many large and small performance improvements (like PEP 709
   <https://peps.python.org/pep-0709/>).
   - Support for the Linux perf profiler to report Python function names in
   traces.
   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623/>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594/> and PEP 632
   <https://peps.python.org/pep-0632/>. The setuptools package continues to
   provide the distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - Invalid backslash escape sequences in strings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)
   - (Hey, fellow core developer, if a feature you find important is
   missing from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What's new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next pre-release
of Python 3.12 will be 3.12.0b4, the last beta release, currently scheduled
for 2023-07-10.


*More resources*Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
Release Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.


*We hope you enjoy the new releases!*
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 organization contributions to the Python
Software Foundation.

Regards from a suddenly very stormy Amsterdam,
Thomas Wouters

Your release team,
Ned Deily
Steve Dower
Łukasz Langa

-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] [RELEASE] Python 3.12.0 beta 1 released.

2023-05-22 Thread Thomas Wouters
ions to the Python
Software Foundation.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[RELEASE] Python 3.12.0 beta 1 released.

2023-05-22 Thread Thomas Wouters
ions to the Python
Software Foundation.

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] [RELEASE] Python 3.11.3, 3.10.11 and 3.12.0 alpha 7 released

2023-04-05 Thread Thomas Wouters
It's time for another set of Python releases! *Python 3.11.3, 3.10.11 and
3.12 alpha 7 are now available*.

Python 3.12.0 alpha 7

The final alpha release of Python 3.12! The next release will be beta 1,
which is also the feature freeze. Last chance to get your new features and
API changes into 3.12!

https://www.python.org/downloads/release/python-3120a7/


*246 new commits since 3.12.0a6.*
Python 3.11.3

More bugfixes and security fixes for the best Python version (so far).

https://www.python.org/downloads/release/python-3113/


*167 new commits since 3.11.2*
Python 3.10.11

The final regular bugfix release for Python 3.10! It is now entering
security-fix-only mode. This also means this is the last version for which
we will ship Windows and macOS installers. If you rely on these binary
releases, it's time to upgrade to Python 3.11.

https://www.python.org/downloads/release/python-31011/


*121 new commits since 3.10.10.*
We hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation.

https://www.python.org/psf/

From the release team,

Thomas Wouters @thomas
Pablo Galindo Salgado @pablogsal
Łukasz Langa @ambv
Ned Deily @nad
Steve Dower @steve.dower
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[RELEASE] Python 3.11.3, 3.10.11 and 3.12.0 alpha 7 released

2023-04-05 Thread Thomas Wouters
It's time for another set of Python releases! *Python 3.11.3, 3.10.11 and
3.12 alpha 7 are now available*.

Python 3.12.0 alpha 7

The final alpha release of Python 3.12! The next release will be beta 1,
which is also the feature freeze. Last chance to get your new features and
API changes into 3.12!

https://www.python.org/downloads/release/python-3120a7/


*246 new commits since 3.12.0a6.*
Python 3.11.3

More bugfixes and security fixes for the best Python version (so far).

https://www.python.org/downloads/release/python-3113/


*167 new commits since 3.11.2*
Python 3.10.11

The final regular bugfix release for Python 3.10! It is now entering
security-fix-only mode. This also means this is the last version for which
we will ship Windows and macOS installers. If you rely on these binary
releases, it's time to upgrade to Python 3.11.

https://www.python.org/downloads/release/python-31011/


*121 new commits since 3.10.10.*
We hope you enjoy the new releases!

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 organization contributions to the Python
Software Foundation.

https://www.python.org/psf/

From the release team,

Thomas Wouters @thomas
Pablo Galindo Salgado @pablogsal
Łukasz Langa @ambv
Ned Deily @nad
Steve Dower @steve.dower
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] Python 3.12.0 alpha 6 released

2023-03-07 Thread Thomas Wouters
I'm pleased to announce the release of Python 3.12 alpha 6.

https://www.python.org/downloads/release/python-3120a6/


*This is an early developer preview of Python 3.12.*
Major new features of the 3.12 series, compared to 3.11

Python 3.12 is still in development. This release, 3.12.0a6 is the sixth 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 (2023-05-08) and, if necessary, may be modified or deleted up
until the release candidate phase (2023-07-31). 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.12 are still being planned and written.
Among the new major new features and changes so far:


   - Even more improved error messages. More exceptions potentially caused
   by typos now make suggestions to the user.
   - Support for the Linux perf profiler to report Python function names in
   traces.
   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594> and PEP 632
   <https://peps.python.org/pep-0632>. The setuptools package (installed by
   default in virtualenvs and many other places) continues to provide the
   distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - Invalid backslash escape sequences in strings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)
   - (Hey, fellow core developer, if a feature you find important is
   missing from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What's new in Python
3.12. The next pre-release of Python 3.12 will be 3.12.0a7, currently
scheduled for 2023-04-03.

More resources

Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://peps.python.org/pep-0693>, the Python 3.12 Release
Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.

And now for something completely different

Let me not to the marriage of true minds
> Admit impediments. Love is not love
> Which alters when it alteration finds,
> Or bends with the remover to remove:
> O, no! it is an ever-fixed mark,
> That looks on tempests and is never shaken;
> It is the star to every wandering bark,
> Whose worth’s unknown, although his height be taken.
> Love’s not Time’s fool, though rosy lips and cheeks
> Within his bending sickle’s compass come;
> Love alters not with his brief hours and weeks,
> But bears it out even to the edge of doom.


> If this be error, and upon me prov’d,
> I never writ, nor no man ever lov’d.


*Sonnet 116*, by William Shakespeare.

Enjoy the new releases

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 organization contributions to the Python
Software Foundation.

Regards from unexpectedly chilly California,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Python 3.12.0 alpha 6 released

2023-03-07 Thread Thomas Wouters
I'm pleased to announce the release of Python 3.12 alpha 6.

https://www.python.org/downloads/release/python-3120a6/


*This is an early developer preview of Python 3.12.*
Major new features of the 3.12 series, compared to 3.11

Python 3.12 is still in development. This release, 3.12.0a6 is the sixth 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 (2023-05-08) and, if necessary, may be modified or deleted up
until the release candidate phase (2023-07-31). 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.12 are still being planned and written.
Among the new major new features and changes so far:


   - Even more improved error messages. More exceptions potentially caused
   by typos now make suggestions to the user.
   - Support for the Linux perf profiler to report Python function names in
   traces.
   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594> and PEP 632
   <https://peps.python.org/pep-0632>. The setuptools package (installed by
   default in virtualenvs and many other places) continues to provide the
   distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - Invalid backslash escape sequences in strings now warn with
   SyntaxWarning instead of DeprecationWarning, making them more visible.
   (They will become syntax errors in the future.)
   - The internal representation of integers has changed in preparation for
   performance enhancements. (This should not affect most users as it is an
   internal detail, but it may cause problems for Cython-generated code.)
   - (Hey, fellow core developer, if a feature you find important is
   missing from this list, let Thomas know .)

For more details on the changes to Python 3.12, see What's new in Python
3.12. The next pre-release of Python 3.12 will be 3.12.0a7, currently
scheduled for 2023-04-03.

More resources

Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://peps.python.org/pep-0693>, the Python 3.12 Release
Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.

And now for something completely different

Let me not to the marriage of true minds
> Admit impediments. Love is not love
> Which alters when it alteration finds,
> Or bends with the remover to remove:
> O, no! it is an ever-fixed mark,
> That looks on tempests and is never shaken;
> It is the star to every wandering bark,
> Whose worth’s unknown, although his height be taken.
> Love’s not Time’s fool, though rosy lips and cheeks
> Within his bending sickle’s compass come;
> Love alters not with his brief hours and weeks,
> But bears it out even to the edge of doom.


> If this be error, and upon me prov’d,
> I never writ, nor no man ever lov’d.


*Sonnet 116*, by William Shakespeare.

Enjoy the new releases

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 organization contributions to the Python
Software Foundation.

Regards from unexpectedly chilly California,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower

-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


Python 3.12.0 alpha 4 released

2023-01-10 Thread Thomas Wouters
I'm pleased to announce the release of Python 3.12 alpha 4.

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

*This is an early developer preview of Python 3.12*.

Major new features of the 3.12 series, compared to 3.11

Python 3.12 is still in development. This release, 3.12.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 (2023-05-08) and, if necessary, may be modified or deleted up
until the release candidate phase (2023-07-31). 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.12 are still being planned and written.
Among the new major new features and changes so far:

   - Even more improved error messages. More exceptions potentially caused
   by typos now make suggestions to the user.
   - Support for the Linux perf profiler to report Python function names in
   traces.
   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594/> and PEP 632
   <https://peps.python.org/pep-0632/>). The setuptools package (installed
   by default in virtualenvs and many other places) continues to provide the
   distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - (Hey,* fellow core developer*, if a feature you find important is
   missing from this list, let Thomas know .)


For more details on the changes to Python 3.12, see What's new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next pre-release
of Python 3.12 will be 3.12.0a5, currently scheduled for 2023-02-06.

More resources

Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
Release Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.

And now for something completely different

Two haikus apt, as Python's development springs ever forward.

I write, erase, rewrite
> Erase again, and then
> A poppy blooms.


Haiku by Katsushika Hokusai.

O snail
> Climb Mount Fuji,
> But slowly, slowly!


Haiku by Kobayashi Issa.

Enjoy the new releases

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 organization contributions to the Python
Software Foundation.

Regards from chilly Amsterdam,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
-- 
Thomas Wouters 
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] Python 3.12.0 alpha 4 released

2023-01-10 Thread Thomas Wouters
I'm pleased to announce the release of Python 3.12 alpha 4.

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

*This is an early developer preview of Python 3.12*.

Major new features of the 3.12 series, compared to 3.11

Python 3.12 is still in development. This release, 3.12.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 (2023-05-08) and, if necessary, may be modified or deleted up
until the release candidate phase (2023-07-31). 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.12 are still being planned and written.
Among the new major new features and changes so far:

   - Even more improved error messages. More exceptions potentially caused
   by typos now make suggestions to the user.
   - Support for the Linux perf profiler to report Python function names in
   traces.
   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594/> and PEP 632
   <https://peps.python.org/pep-0632/>). The setuptools package (installed
   by default in virtualenvs and many other places) continues to provide the
   distutils module.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - (Hey,* fellow core developer*, if a feature you find important is
   missing from this list, let Thomas know .)


For more details on the changes to Python 3.12, see What's new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next pre-release
of Python 3.12 will be 3.12.0a5, currently scheduled for 2023-02-06.

More resources

Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
Release Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.

And now for something completely different

Two haikus apt, as Python's development springs ever forward.

I write, erase, rewrite
> Erase again, and then
> A poppy blooms.


Haiku by Katsushika Hokusai.

O snail
> Climb Mount Fuji,
> But slowly, slowly!


Haiku by Kobayashi Issa.

Enjoy the new releases

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 organization contributions to the Python
Software Foundation.

Regards from chilly Amsterdam,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower
-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] Python 3.12.0 alpha 2 released

2022-11-15 Thread Thomas Wouters
I'm pleased to announce the release of Python 3.12 alpha 2.

https://www.python.org/downloads/release/python-3120a2/

*This is an early developer preview of Python 3.12*.

Major new features of the 3.12 series, compared to 3.11

Python 3.12 is still in development. This release, 3.12.0a2 is the second
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 (2023-05-08) and, if necessary, may be modified or deleted up
until the release candidate phase (2023-07-31). 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.12 are still being planned and written.
Among the new major new features and changes so far:

   - Even more improved error messages. More exceptions potentially caused
   by typos now make suggestions to the user.
   - Support for the Linux perf profiler to report Python function names in
   traces.
   - The deprecated wstr and wstr_length members of the C implementation of
   unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623>.
   - In the unittest module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated smtpd and distutils modules have been removed (see PEP
   594 <https://peps.python.org/pep-0594/> and PEP 632
   <https://peps.python.org/pep-0632/>). The setuptools package (installed
   by default in virtualenvs and many other places) continues to
provide the distutils
   module.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - (Hey, **fellow core developer,** if a feature you find important is
   missing from this list, let Thomas know .)


For more details on the changes to Python 3.12, see What's new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next pre-release
of Python 3.12 will be 3.12.0a3, currently scheduled for 2022-12-05.

More resources

Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
Release Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.

And now for something completely different

Life, believe, is not a dream
> So dark as sages say;
> Oft a little morning rain
> Foretells a pleasant day.
> Sometimes there are clouds of gloom,
> But these are transient all;
> If the shower will make the roses bloom,
> O why lament its fall?
>
> Rapidly, merrily,
> Life's sunny hours flit by,
> Gratefully, cheerily,
> Enjoy them as they fly!
>
> What though Death at times steps in
> And calls our Best away?
> What though sorrow seems to win,
> O'er hope, a heavy sway?
> Yet hope again elastic springs,
> Unconquered, though she fell;
> Still buoyant are her golden wings,
> Still strong to bear us well.
>
> Manfully, fearlessly,
> The day of trial bear,
> For gloriously, victoriously,
> Can courage quell despair!


*Life*, by Charlotte Brontë, from *Poems by Currer, Ellis, and Acton Bell*.

Charlotte wrote about the publishing under pseudonyms by her and her
sisters, Emily and Anne, in a preface to Emily's *Wuthering Heights*:

Averse to personal publicity, we veiled our own names under those of
> Currer, Ellis and Acton Bell; the ambiguous choice being dictated by a sort
> of conscientious scruple at assuming Christian names positively masculine,
> while we did not like to declare ourselves women, because – without at
> that  time suspecting that our mode of writing and thinking was not what is
> called "feminine" – we had a vague impression that authoresses are liable
> to be looked on with prejudice; we had noticed how critics sometimes use
> for their chastisement the weapon of personality, and for their reward, a
> flattery, which is not true praise.


Enjoy the new releases

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 organization contributions to the Python
Software Foundation.

Regards from chilly Amsterdam,

Your release team,
Thomas Wouters
Ned Deily
Steve Dower

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] Python 3.12.0 alpha 1 released.

2022-10-24 Thread Thomas Wouters
As Pablo released Python 3.11.0 final earlier today, now it's my turn to
release Python 3.12.0 alpha 1.


*This is an early developer preview of Python 3.12*
Major new features of the 3.12 series, compared to 3.11

Python 3.12 is still in development. This release, 3.12.0a1 is the first 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 (2023-05-08) and, if necessary, may be modified or deleted up
until the release candidate phase (2023-07-31). 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.12 are still being planned and written.
Among the new major new features and changes so far:

   - The deprecated `wstr` and `wstr_length` members of the C
   implementation of unicode objects were removed, per PEP 623
   <https://peps.python.org/pep-0623/>.
   - In the `unittest` module, a number of long deprecated methods and
   classes were removed. (They had been deprecated since Python 3.1 or 3.2).
   - The deprecated `smtpd` module has been removed.
   - A number of other old, broken and deprecated functions, classes and
   methods have been removed.
   - (Hey, **fellow core developer,** if a feature you find important
   is missing from this list, let Thomas know .)

The next pre-release of Python 3.12 will be 3.12.0a2, currently scheduled
for 2022-11-14.

More resources

   - Online Documentation <https://docs.python.org/3.12>
   - PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the 3.12 Release
   Schedule
   - Report bugs at https://github.com/python/cpython/issues.
   - Help fund Python and its community at
   https://www.python.org/psf/donations/.


And now for something completely different

This is Not the Poem that I Had Hoped to Write
<https://twitter.com/brian_bilston/status/1579378460610662401>

This is not the poem that I had hoped to write
when I sat at my desk and the page was white.
You see, there were other words that I’d had in mind,
yet this is what I leave behind.

I thought it was a poem to eradicate war;
one of such power, it would heal all the sores
of a world torn apart by conflict and schism.
But it isn’t.

Lovers, I’d imagined, would quote from it daily,
Mothers would sing it to soothe crying babies.
And whole generations would be given new hope.
Nope.

I had grand aspirations. Believe me, I tried.
Humanity examined with lessons applied.
But the right words escaped me; so often they do.
Have these in lieu.

Brian Bilston <https://twitter.com/brian_bilston>

Enjoy the new releases

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 organization contributions to the Python
Software Foundation.

Regards from dusky California,

Your release team,
Thomas Wouters @Yhg1s
Ned Deily @nad
Steve Dower @steve.dower

-- 
Thomas Wouters 
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[issue46885] Ensure PEP 663 changes are reverted from 3.11

2022-02-28 Thread Thomas Wouters


Change by Thomas Wouters :


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue46885>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46150] test_pathlib assumes "fakeuser" does not exist as user

2021-12-22 Thread Thomas Wouters


New submission from Thomas Wouters :

test_pathlib contains, in PosixPathTest.test_expanduser, a check that 
expanduser on a nonexistent user will raise RuntimeError. Leaving aside the 
question why that's a RuntimeError (which is probably too late to fix anyway), 
the test performs this check by assuming 'fakeuser' is a nonexistent user. This 
test will fail when such a user does exist. (The test already uses the pwd 
module for other reasons, so it certainly could check that first.)

--
components: Tests
messages: 409030
nosy: twouters
priority: normal
severity: normal
status: open
title: test_pathlib assumes "fakeuser" does not exist as user
versions: Python 3.10, Python 3.11, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue46150>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46083] PyUnicode_FSConverter() has confusing reference semantics

2021-12-15 Thread Thomas Wouters


New submission from Thomas Wouters :

The PyUnicode_FSConverter function has confusing reference semantics, and 
confusing documentation.

https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_FSConverter says the 
output argument "must be a PyBytesObject* which must be released when it is no 
longer used." That seems to suggest one must pass a PyBytesObject to it, and 
indeed one of the error paths assumes an object was passed 
(https://github.com/python/cpython/blob/main/Objects/unicodeobject.c#L4116-- 
'addr' is called 'result' in the docs). Not passing a valid object would result 
in trying to DECREF NULL, or garbage. However, the function doesn't actually 
use the object, and later in the function overwrites the value *without* 
DECREFing it, so passing a valid object would in fact cause a leak.

I understand the function signature is the way it is so it can be used with 
PyArg_ParseTuple's O& format, but there are reasons to call it directly (e.g. 
with METH_O functions), and it would be nice if the semantics were more clear.

--
components: C API
messages: 408604
nosy: twouters
priority: normal
severity: normal
status: open
title: PyUnicode_FSConverter() has confusing reference semantics
versions: Python 3.10, Python 3.11, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue46083>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

2021-11-16 Thread Thomas Wouters

Thomas Wouters  added the comment:

Py_CompileString() in Python 3.9 and later, using the PEG parser, appears to no 
longer honours source encoding cookies. A reduced test case:

#include "Python.h"
#include 

const char *src = (
"# -*- coding: Latin-1 -*-\n"
"'''\xc3'''\n");

int main(int argc, char **argv)
{
Py_Initialize();
PyObject *res = Py_CompileString(src, "some_path", Py_file_input);
if (res) {
fprintf(stderr, "Compile succeeded.\n");
return 0;
} else {
fprintf(stderr, "Compile failed.\n");
PyErr_Print();
return 1;
}
}

Compiling and running the resulting binary with Python 3.8 (or earlier):

% ./encoding_bug
Compile succeeded.

With 3.9 and PYTHONOLDPARSER=1:

% PYTHONOLDPARSER=1 ./encoding_bug
Compile succeeded.

With 3.9 (without the env var) or 3.10:
% ./encoding_bug
Compile failed.
  File "some_path", line 2
'''�'''
 ^
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xc3 in 
position 0: unexpected end of data

Writing the same bytes to a file and making python3.9 or python3.10 import them 
works fine, as does passing the bytes to compile():

Python 3.10.0+ (heads/3.10-dirty:7bac598819, Nov 16 2021, 20:35:12) [GCC 
8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> b = open('encoding_bug.py', 'rb').read()
>>> b
b"# -*- coding: Latin-1 -*-\n'''\xc3'''\n"
>>> import encoding_bug
>>> encoding_bug.__doc__
'Ã'
>>> co = compile(b, 'some_path', 'exec')
>>> co
 at 0x7f447e1b0c90, file "some_path", line 1>
>>> co.co_consts[0]
'Ã'


It's just Py_CompileString() that fails. I don't understand why, and I do 
believe it's a regression.

--
nosy: +gregory.p.smith

___
Python tracker 
<https://bugs.python.org/issue45822>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29941] Confusion between asserts and Py_DEBUG

2021-10-18 Thread Thomas Wouters


Change by Thomas Wouters :


--
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue29941>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45434] [C API] Clean-up the Python.h header file

2021-10-18 Thread Thomas Wouters


Thomas Wouters  added the comment:

Victor, what's the benefit of doing this work? Are there real problems this 
fixes? I'm worried about the churn in third-party extensions, examples, 
tutorials, etc, especially for audiences that upon seeing a compiler error 
won't immediately realise they need to include stdlib.h themselves. (Also, 
since Python.h sets things like _POSIX_C_SOURCE and _XOPEN_SOURCE, including 
them in the wrong order can produce even more confusing errors, or errors that 
only appear on some platforms.)

--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue45434>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2021-07-26 Thread Thomas Wouters


Thomas Wouters  added the comment:

This was fixed back in 2018, in fact.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue26153>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-07-21 Thread Thomas Wouters


Change by Thomas Wouters :


--
keywords: +patch
pull_requests: +25823
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/27278

___
Python tracker 
<https://bugs.python.org/issue44698>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-07-21 Thread Thomas Wouters


New submission from Thomas Wouters :

Objects/complexobject.c's complex_pow uses undefined behaviour, by casting a 
float of unknown magnitude to a long:

int_exponent = (long)exponent.real;

At Google we build with clang and -fsanitize=float-cast-overflow by default, 
which catches this particular kind of undefined behaviour. We didn't notice, 
however, because the only code we've come across that exercises this behaviour 
was a commented-out test in test_complex, which was uncommented in 3.8. Running 
the test, or just '1e19+1j ** 1e19', is enough to trigger the undefined 
behaviour. I'll prepare a PR to fix it.

--
assignee: twouters
messages: 397947
nosy: gregory.p.smith, twouters
priority: normal
severity: normal
status: open
title: Undefined behaviour in Objects/complexobject.c's complex_pow
type: behavior
versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue44698>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44184] crash on windows invoking flake8

2021-07-15 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 0b4704973dbef712d05bdd62349bb4244f545430 by Miss Islington (bot) 
in branch '3.9':
bpo-44184: Apply GH-26274 to the non-GC-type branch of subtype_dealloc 
(GH-27165) (GH-27175)
https://github.com/python/cpython/commit/0b4704973dbef712d05bdd62349bb4244f545430


--

___
Python tracker 
<https://bugs.python.org/issue44184>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44184] crash on windows invoking flake8

2021-07-15 Thread Thomas Wouters


Change by Thomas Wouters :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue44184>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44184] crash on windows invoking flake8

2021-07-15 Thread Thomas Wouters


Thomas Wouters  added the comment:

Fix extended to the other branch (and backported to 3.10), and both parts 
backported to 3.9. I don't think it counts as a security issue, so not 
backporting to 3.8.

--

___
Python tracker 
<https://bugs.python.org/issue44184>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44184] crash on windows invoking flake8

2021-07-15 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 6aa59c68dc7910c0675ad23c1f9d88edfb81dfcb by Miss Islington (bot) 
in branch '3.10':
bpo-44184: Apply GH-26274 to the non-GC-type branch of subtype_dealloc 
(GH-27165) (GH-27174)
https://github.com/python/cpython/commit/6aa59c68dc7910c0675ad23c1f9d88edfb81dfcb


--

___
Python tracker 
<https://bugs.python.org/issue44184>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44184] crash on windows invoking flake8

2021-07-15 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 074e7659f208051b6b973f7fdb654dd22b93aaa2 by T. Wouters in branch 
'main':
bpo-44184: Apply GH-26274 to the non-GC-type branch of subtype_dealloc 
(GH-27165)
https://github.com/python/cpython/commit/074e7659f208051b6b973f7fdb654dd22b93aaa2


--

___
Python tracker 
<https://bugs.python.org/issue44184>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44184] crash on windows invoking flake8

2021-07-15 Thread Thomas Wouters


Change by Thomas Wouters :


--
pull_requests: +25701
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/27165

___
Python tracker 
<https://bugs.python.org/issue44184>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44184] crash on windows invoking flake8

2021-07-15 Thread Thomas Wouters


Thomas Wouters  added the comment:

Reopening this issue, as there is another branch (for non-GC heaptypes) earlier 
in subtype_dealloc that I believe suffers from the same problem. Actually 
triggering the error in a test has been difficult because as far as I can tell 
it relies on garbage collection at the right time, but reading the code it 
seems clear it's problematic. I'll prepare a PR to fix it there.

I'm also reopening this issue because I believe it should've been backported to 
3.9, and possibly 3.8 (if it's considered a security problem to get python to 
read and write freed memory). I found this issue in 3.9 while debugging a 
pybind11 crash. I'll backport after the other PR is in (or rejected).

--
nosy: +twouters
resolution: fixed -> 
status: closed -> open

___
Python tracker 
<https://bugs.python.org/issue44184>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44630] Assertion failure in csv module

2021-07-13 Thread Thomas Wouters


Change by Thomas Wouters :


--
keywords: +patch
pull_requests: +25670
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/27127

___
Python tracker 
<https://bugs.python.org/issue44630>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44630] Assertion failure in csv module

2021-07-13 Thread Thomas Wouters


New submission from Thomas Wouters :

The csv module has some incorrect exception handling when dealing with dialect 
objects that are not csv.Dialect subclasses (or that otherwise raise errors 
when accessing the dialect attributes):

>>> csv.reader([], dialect=None)
python: ../../cpython/Objects/typeobject.c:3820: _PyType_Lookup: Assertion 
`!PyErr_Occurred()' failed.
Aborted

The problem is Modules/_csv.c tries to cater to dialects that lack the 
attributes it wants to access, but does so by leaving exceptions set between 
calls to PyObject_SetAttrString(). Since 3.7, that causes assertion failures. 
(I have a PR with a fix.)

--
assignee: twouters
components: Extension Modules
messages: 397446
nosy: gregory.p.smith, twouters
priority: normal
severity: normal
status: open
title: Assertion failure in csv module
type: crash
versions: Python 3.10, Python 3.11, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue44630>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42443] Provide Thread creation hook support

2020-11-23 Thread Thomas Wouters


Change by Thomas Wouters :


--
nosy: +gregory.p.smith, twouters

___
Python tracker 
<https://bugs.python.org/issue42443>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40503] PEP 615: Add zoneinfo module

2020-05-11 Thread Thomas Wouters


Thomas Wouters  added the comment:

The normal way to do this (for make/autoconf) is to add a --with-tzpath 
argument to configure.ac, and a make variable to pass it to the compilation of 
anything that needs it. You can then access it from Python code with 
sysconfig.get_config_var().

In configure.ac, AC_SUBST(TZPATH) makes configure replace @TZPATH@ in the 
Makefile with the value you set to $TZPATH in configure.ac.  You then either 
add that to the global PY_CFLAGS_NODIST, or modify the build rule for the 
module that needs it to pass it along. (See for example how 
GITTAG/GITVERSION/GITBRANCH are passed to Modules/getbuildinfo.o.)

AC_ARG_WITH() is how you add a new --with-* argument to configure. The usual 
way people do this is by copying one of the other AC_ARG_WITH blocks and 
modifying it to suit their needs. It's a mixture of m4 and shell that can be a 
bit annoying to get right, but it's pretty flexible. Run autoreconf to 
regenerate configure. You can manually check that the shell in configure makes 
sense.

Something will have to be done on the Windows side as well, but I'm not sure 
what. Adding Steve Dower for that.

--
nosy: +steve.dower

___
Python tracker 
<https://bugs.python.org/issue40503>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28367] Add more standard baud rate constants to "termios"

2020-01-04 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 7dc72b8d4f2c9d1eed20f314fd6425eab66cbc89 by T. Wouters (Anthony 
Shaw) in branch 'master':
bpo-28367: Add additional baud rates for termios (GH-13142)
https://github.com/python/cpython/commit/7dc72b8d4f2c9d1eed20f314fd6425eab66cbc89


--

___
Python tracker 
<https://bugs.python.org/issue28367>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28367] Add more standard baud rate constants to "termios"

2020-01-04 Thread Thomas Wouters


Change by Thomas Wouters :


--
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.9 -Python 3.7

___
Python tracker 
<https://bugs.python.org/issue28367>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38532] Missing decrefs in the _ctypes module

2020-01-03 Thread Thomas Wouters


Change by Thomas Wouters :


--
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue38532>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38532] Missing decrefs in the _ctypes module

2020-01-03 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset aa3efea9c5f4d25afc3fa4cfd5e6d789943893c9 by T. Wouters (Miss 
Islington (bot)) in branch '3.8':
bpo-38532: Add missing decrefs in PyCFuncPtr_FromDll() (GH-17811)
https://github.com/python/cpython/commit/aa3efea9c5f4d25afc3fa4cfd5e6d789943893c9


--

___
Python tracker 
<https://bugs.python.org/issue38532>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38532] Missing decrefs in the _ctypes module

2020-01-03 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset e02ab59fdffa0bb841182c30ef1355c89578d945 by T. Wouters (Zackery 
Spytz) in branch 'master':
bpo-38532: Add missing decrefs in PyCFuncPtr_FromDll() (GH-16857)
https://github.com/python/cpython/commit/e02ab59fdffa0bb841182c30ef1355c89578d945


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue38532>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38823] Improve stdlib module initialization error handling.

2019-11-19 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 54b32c987146123f2237f0e21b1d02b1c1ebdf6f by T. Wouters (Brandt 
Bucher) in branch 'master':
bpo-38823: Clean up refleak in fcntl module initialization. (GH-17236)
https://github.com/python/cpython/commit/54b32c987146123f2237f0e21b1d02b1c1ebdf6f


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue38823>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38392] Ensure that objects entering the GC are valid

2019-10-07 Thread Thomas Wouters


Thomas Wouters  added the comment:

I'm pretty sure you meant nascheme, not nnorwitz.

--
nosy: +nascheme, twouters -nnorwitz

___
Python tracker 
<https://bugs.python.org/issue38392>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38376] ./configure --with-assertions generates a broken build

2019-10-05 Thread Thomas Wouters


Thomas Wouters  added the comment:

The problem is _PyUnicode_CheckConsistency switched from being only defined 
when Py_DEBUG is set, to being defined unconditionally. That was a good change, 
but it made the API-compatibility hack of #defining _PyUnicode_CheckConsistency 
in Include/unicodeobject.h do the wrong thing. PR #16594.

--
stage: patch review -> 

___
Python tracker 
<https://bugs.python.org/issue38376>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38376] ./configure --with-assertions generates a broken build

2019-10-05 Thread Thomas Wouters


Change by Thomas Wouters :


--
keywords: +patch
pull_requests: +16183
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/16594

___
Python tracker 
<https://bugs.python.org/issue38376>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36046] subprocess: add user, group and extra_groups parameters

2019-09-25 Thread Thomas Wouters


Thomas Wouters  added the comment:

As mentioned in the code review for Victor's fix, it feels like the big 
conditional on the use of self._posix_spawn in Popen._execute_child should 
perhaps be pulled into _posix_spawn, or at least refactored so it's closer to 
_posix_spawn, with some explanation about what is or isn't supported by 
_posix_spawn and why.

--

___
Python tracker 
<https://bugs.python.org/issue36046>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36046] subprocess: add user, group and extra_groups parameters

2019-09-25 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset faca8553425c231d867dcabf6a69a9dd21118b6c by T. Wouters (Victor 
Stinner) in branch 'master':
bpo-36046: posix_spawn() doesn't support uid/gid (GH-16384)
https://github.com/python/cpython/commit/faca8553425c231d867dcabf6a69a9dd21118b6c


--

___
Python tracker 
<https://bugs.python.org/issue36046>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36046] support dropping privileges when running subprocesses

2019-09-13 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 693aa80a434590ea7dcd35c000209e53d01b9425 by T. Wouters (Gregory 
P. Smith) in branch 'master':
bpo-36046: Fix buildbot failures (GH-16091)
https://github.com/python/cpython/commit/693aa80a434590ea7dcd35c000209e53d01b9425


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue36046>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38075] Make random module PEP-384 compatible

2019-09-13 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 04f0bbfbedf8d2bb69b012f853de6648b1a9f27f by T. Wouters (Dino 
Viehland) in branch 'master':
bpo-38075: Port _randommodule.c to PEP-384 (GH-15798)
https://github.com/python/cpython/commit/04f0bbfbedf8d2bb69b012f853de6648b1a9f27f


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue38075>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38115] Invalid bytecode offsets in co_lnotab

2019-09-13 Thread Thomas Wouters


Thomas Wouters  added the comment:

Setting Py_SIZE of the bytes object is possible, but gross and not how you're 
supposed to operate on bytes.

I'm also not entirely convinced lnotab isn't reused in ways it shouldn't. The 
peephole optimizer already does gross things and is tied very intimately into 
the compiler and assembler structs, and any change I tried caused weird 
side-effects. I'm not comfortable making these changes without extensive 
rewrites of those bits of the code, which Mark Shannon is already working on 
for different reasons.

The current lnotab format doesn't really have the concept of 'no-op fillers', 
because zero-increment entries are used to add to previous entries. Adding the 
concept could mean breaking third-party consumers of lnotab. Of all the uses of 
lnotab that I could find, dis.findlinestarts() was the only one that didn't 
ignore the invalid entries. I think just documenting the current behaviour 
(which, just as a reminder, has been around forever, but is just more obvious 
in Python 3.8) and fixing dis.findlinestarts() is enough of a fix for the 
foreseeable future. See GH-16079.

--

___
Python tracker 
<https://bugs.python.org/issue38115>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38115] Invalid bytecode offsets in co_lnotab

2019-09-13 Thread Thomas Wouters


Change by Thomas Wouters :


--
keywords: +patch
pull_requests: +15701
pull_request: https://github.com/python/cpython/pull/16079

___
Python tracker 
<https://bugs.python.org/issue38115>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38135] Depth first search in compile.c creates wrong BB order for certain CFG.

2019-09-12 Thread Thomas Wouters


Change by Thomas Wouters :


--
pull_requests: +15672
pull_request: https://github.com/python/cpython/pull/16050

___
Python tracker 
<https://bugs.python.org/issue38135>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38115] Invalid bytecode offsets in co_lnotab

2019-09-12 Thread Thomas Wouters


Thomas Wouters  added the comment:

As mentioned in the PR (GH-15970), I don't think we should fix this bug. We 
can, but it involves replacing PyCode_Optimize() (which is public but 
undocumented, with confusing refcount effects) with a stub, and very careful 
surgery on the code of the peephole optimizer. I tried three different ways and 
I keep running into unexpected side-effects of my changes, because of how the 
optimizer is called by the compiler.

It is the case that other changes in 3.8 make this bug more apparent, but it's 
always been around (at least since lnotab was introduced). At this point I 
think the best thing to do is to document that lnotab can have invalid bytecode 
offsets, and then reconsider serious refactoring and redesign of the peephole 
optimizer if it's going to be kept around in 3.9. (Right now there's talk about 
replacing it with a more sensible CFG-based optimizer.)

--
keywords:  -patch

___
Python tracker 
<https://bugs.python.org/issue38115>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34001] LibreSSL does not tolerate setting minimum_version greater than maximum_version

2019-09-11 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset c9bc49c5f6e26a7c958307c2ac338951a7534d9a by T. Wouters (Christian 
Heimes) in branch 'master':
bpo-34001: Fix test_ssl with LibreSSL (GH-13783)
https://github.com/python/cpython/commit/c9bc49c5f6e26a7c958307c2ac338951a7534d9a


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue34001>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37885] venv: Don't produce unbound variable warning on deactivate

2019-09-11 Thread Thomas Wouters


Thomas Wouters  added the comment:

Thanks, fix merged.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue37885>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37885] venv: Don't produce unbound variable warning on deactivate

2019-09-11 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset d126fbddc960afd93ff070bc34209be256152943 by T. Wouters (Miss 
Islington (bot)) in branch '3.7':
bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15974)
https://github.com/python/cpython/commit/d126fbddc960afd93ff070bc34209be256152943


--

___
Python tracker 
<https://bugs.python.org/issue37885>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37885] venv: Don't produce unbound variable warning on deactivate

2019-09-11 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 63eefc35674ec12ab4d00af4feaf21de4cb1c91c by T. Wouters (Miss 
Islington (bot)) in branch '3.8':
bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15973)
https://github.com/python/cpython/commit/63eefc35674ec12ab4d00af4feaf21de4cb1c91c


--

___
Python tracker 
<https://bugs.python.org/issue37885>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37885] venv: Don't produce unbound variable warning on deactivate

2019-09-11 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 5209e586b7cac9a43b2c44349a26b1b0af06ead3 by T. Wouters (Daniel 
Abrahamsson) in branch 'master':
bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15330)
https://github.com/python/cpython/commit/5209e586b7cac9a43b2c44349a26b1b0af06ead3


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue37885>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38115] Invalid bytecode offsets in co_lnotab

2019-09-11 Thread Thomas Wouters


Change by Thomas Wouters :


--
pull_requests: +15603
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/15970

___
Python tracker 
<https://bugs.python.org/issue38115>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38115] Invalid bytecode offsets in co_lnotab

2019-09-11 Thread Thomas Wouters


Thomas Wouters  added the comment:

There's also a bug where the optimizer may bail out on optimizing a code object 
*after* updating the lnotab (the last 'goto exitUnchanged' in 
Python/peephole.c). That bug has existed since Python 3.6, but it's not clear 
to me how much this actually affects.

--

___
Python tracker 
<https://bugs.python.org/issue38115>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38115] Invalid bytecode offsets in co_lnotab

2019-09-11 Thread Thomas Wouters


New submission from Thomas Wouters :

The peephole optimizer in Python 2.7 and later (and probably a *lot* earlier) 
has a bug where if the optimizer entirely optimizes away the last line(s) of a 
function, the lnotab references invalid bytecode offsets:

>>> def f(cond1, cond2):
... while 1:
... return 3
... while 1:
... return 5
... return 6
... 
>>> list(dis.findlinestarts(f.__code__))
[(0, 3), (4, 5), (8, 6)]
>>> len(f.__code__.co_code)
8
>>> f.__code__.co_code[8]
Traceback (most recent call last):
  File "", line 1, in 
IndexError: index out of range

The problem is that the lnotab-readjustment in Python/peephole.c doesn't 
account for trailing NOPs in a bytecode string. I haven't been able to 
reproduce this before Python 3.8, probably because the optimizer wasn't capable 
of optimizing things aggressively enough to end a bytecode string with NOPs.

I have a fix for this bug already.

--
assignee: twouters
components: Interpreter Core
keywords: patch
messages: 351902
nosy: lukasz.langa, pablogsal, twouters
priority: release blocker
severity: normal
status: open
title: Invalid bytecode offsets in co_lnotab
type: behavior
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue38115>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37424] subprocess.run timeout does not function if shell=True and capture_output=True

2019-09-11 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 580d2782f70f8e0bed7ec20abb03d740cb83b5da by T. Wouters (Gregory 
P. Smith) in branch 'master':
bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-14490)
https://github.com/python/cpython/commit/580d2782f70f8e0bed7ec20abb03d740cb83b5da


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue37424>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28494] is_zipfile false positives

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 3f4db4a0bab073b768fae958e93288bd5d24eadd by T. Wouters (Gregory 
P. Smith) in branch 'master':
bpo-28494: Test existing zipfile working behavior. (GH-15853)
https://github.com/python/cpython/commit/3f4db4a0bab073b768fae958e93288bd5d24eadd


--

___
Python tracker 
<https://bugs.python.org/issue28494>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36253] Use after free in ctypes test suite

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset a9b6033179b64b985394ad351501089a6a94fc9d by T. Wouters (Ben 
Harper) in branch 'master':
bpo-36253: Remove use after free reference in ctypes test suite (GH-12257)
https://github.com/python/cpython/commit/a9b6033179b64b985394ad351501089a6a94fc9d


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue36253>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37619] update_one_slot() should not ignore wrapper descriptors for wrong type

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:

I don't think this should be backported to 3.7 at this point; if you disagree 
feel free to reopen the bug.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue37619>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37619] update_one_slot() should not ignore wrapper descriptors for wrong type

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset eb1bc48c74f4f8af88b5276729f9652201e46324 by T. Wouters (Miss 
Islington (bot)) in branch '3.8':
bpo-37619: update_one_slot() should not ignore wrapper descriptors for wrong 
type (GH-15838)
https://github.com/python/cpython/commit/eb1bc48c74f4f8af88b5276729f9652201e46324


--

___
Python tracker 
<https://bugs.python.org/issue37619>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37619] update_one_slot() should not ignore wrapper descriptors for wrong type

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 57ea33560662e0f20a3b0334bb20065771edf4da by T. Wouters (Jeroen 
Demeyer) in branch 'master':
bpo-37619: update_one_slot() should not ignore wrapper descriptors for wrong 
type (GH-14836)
https://github.com/python/cpython/commit/57ea33560662e0f20a3b0334bb20065771edf4da


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue37619>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38068] clean up configure logic for gettimeofday

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset f1c19031fd5f4cf6faad539e30796b42954527db by T. Wouters (Benjamin 
Peterson) in branch 'master':
bpo-38068: Clean up gettimeofday configure logic. (GH-15775)
https://github.com/python/cpython/commit/f1c19031fd5f4cf6faad539e30796b42954527db


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue38068>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38072] Make grp module PEP-384 compatible

2019-09-10 Thread Thomas Wouters


New submission from Thomas Wouters :


New changeset 40a5313edfc18173d136bb5e19495880934b7d83 by T. Wouters (Dino 
Viehland) in branch 'master':
bpo-38072: PEP-384 grpmodule (GH-15788)
https://github.com/python/cpython/commit/40a5313edfc18173d136bb5e19495880934b7d83


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue38072>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38071] Make termios PEP-384 compatible

2019-09-10 Thread Thomas Wouters


New submission from Thomas Wouters :


New changeset bd0c7a12d9e28ce74bfc16244d7694aca906838c by T. Wouters (Dino 
Viehland) in branch 'master':
bpo-38071: Make termios PEP-384 compatible (GH-15785)
https://github.com/python/cpython/commit/bd0c7a12d9e28ce74bfc16244d7694aca906838c


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue38071>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38074] Make zlib PEP-384 compatible

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset a1ffad07195b8b976f8c371a92028240946d4e76 by T. Wouters (Dino 
Viehland) in branch 'master':
bpo-38074: Make zlib extension module PEP-384 compatible (GH-15792)
https://github.com/python/cpython/commit/a1ffad07195b8b976f8c371a92028240946d4e76


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue38074>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38076] Make struct module PEP-384 compatible

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 4f384af067d05b16a554bfd976934fca9f87a1cf by T. Wouters (Dino 
Viehland) in branch 'master':
bpo-38076: Make struct module PEP-384 compatible (#15805)
https://github.com/python/cpython/commit/4f384af067d05b16a554bfd976934fca9f87a1cf


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue38076>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38083] Minor improvements in asdl_c.py and Python-ast.c

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:

This doesn't feel like a change that's worth backporting to 3.8 at this point. 
Do you agree? Is there anything left to do for this bug?

--

___
Python tracker 
<https://bugs.python.org/issue38083>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38083] Minor improvements in asdl_c.py and Python-ast.c

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 43c9731334470573209464b7f67914d386457efc by T. Wouters (Serhiy 
Storchaka) in branch 'master':
bpo-38083: Minor improvements in asdl_c.py and Python-ast.c. (GH-15824)
https://github.com/python/cpython/commit/43c9731334470573209464b7f67914d386457efc


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue38083>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33418] Memory leaks in functions

2019-09-10 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset ccaea525885e41c5f1e566bb68698847faaa82ca by T. Wouters (Victor 
Stinner) in branch '3.8':
Revert "bpo-33418: Add tp_clear for function object (GH-8058)" (GH-15826)
https://github.com/python/cpython/commit/ccaea525885e41c5f1e566bb68698847faaa82ca


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue33418>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37840] bytearray_getitem() handles negative index incorrectly

2019-09-09 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 92709a263e9cec0bc646ccc1ea051fc528800d8d by T. Wouters (Sergey 
Fedoseev) in branch 'master':
bpo-37840: Fix handling of negative indices in bytearray_getitem() (GH-15250)
https://github.com/python/cpython/commit/92709a263e9cec0bc646ccc1ea051fc528800d8d


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue37840>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36279] os.wait3() leaks some uninitialized stack when no processes exist

2019-09-09 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 682107cf458578ee6bd92b7cc6862113034a4fad by T. Wouters (Zackery 
Spytz) in branch 'master':
bpo-36279: Ensure os.wait3() rusage is initialized (GH-15111)
https://github.com/python/cpython/commit/682107cf458578ee6bd92b7cc6862113034a4fad


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue36279>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37758] unicodedata checksum-tests only test 1/17th of Unicode's codepoints

2019-09-09 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset 3cbc23aa229bc5ec04845053df78eae5f54e0497 by T. Wouters (Greg 
Price) in branch 'master':
bpo-37758: Cut always-constant conditionals on sys.maxunicode. (GH-15302)
https://github.com/python/cpython/commit/3cbc23aa229bc5ec04845053df78eae5f54e0497


--
nosy: +twouters

___
Python tracker 
<https://bugs.python.org/issue37758>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37589] Missing dependences in the Makefile

2019-09-09 Thread Thomas Wouters


Change by Thomas Wouters :


--
assignee:  -> twouters
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue37589>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37589] Missing dependences in the Makefile

2019-09-09 Thread Thomas Wouters


Change by Thomas Wouters :


--
pull_requests: +15422
pull_request: https://github.com/python/cpython/pull/15769

___
Python tracker 
<https://bugs.python.org/issue37589>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37589] Missing dependences in the Makefile

2019-09-09 Thread Thomas Wouters


Thomas Wouters  added the comment:


New changeset b4612f5d54aced5bc37f1b85bf50b4cafa2480f0 by T. Wouters in branch 
'master':
bpo-37589: Add a few missing dependencies on .h files in the Makefile. 
(GH-15757)
https://github.com/python/cpython/commit/b4612f5d54aced5bc37f1b85bf50b4cafa2480f0


--

___
Python tracker 
<https://bugs.python.org/issue37589>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37589] Missing dependences in the Makefile

2019-09-09 Thread Thomas Wouters


Change by Thomas Wouters :


--
keywords: +patch
pull_requests: +15410
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/15757

___
Python tracker 
<https://bugs.python.org/issue37589>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   >