[Python-Dev] Re: Is it possible to view tokenizer output?

2022-05-31 Thread Victor Stinner
You should maybe move the code out of the stdlib (to tests?) if it should not be used. Otherwise, someone somehow will start to rely on it, and then complain when it breaks :-) Victor On Mon, May 30, 2022 at 6:51 PM Pablo Galindo Salgado wrote: > > Is on the main branch but as I mentioned is **e

[Python-Dev] [RELEASE] The second Python 3.11 beta (3.11.0b2) is available

2022-05-31 Thread Pablo Galindo Salgado
Does anyone want bug fixes? Because we have 164 new commits fixing different things, from code to documentation. If you have reported some issue after 3.11.0b1, you should check if is fixed and if not, make sure you tell us so we can take a look. We still have two more betas to go so help us to mak

[Python-Dev] Re: PEP 689 – Unstable C API tier (was: Semi-stable C API tier)

2022-05-31 Thread Antoine Pitrou
On Mon, 30 May 2022 12:53:57 -0700 Guido van Rossum wrote: > I would love to see header files used for this -- while I know there is a > long tradition of feature-flags that must be #defined by the user before > #including a header in order to affect what the header exports (or not!), > 30 years l

[Python-Dev] Re: PEP 689 – Unstable C API tier (was: Semi-stable C API tier)

2022-05-31 Thread Sasha Kacanski
Why you don't simplify with api A,B,C and forth and then follows explanation ofr what is stable, unstable, semi... So forth On Wed, May 4, 2022, 6:10 AM Petr Viktorin wrote: > > > On 29. 04. 22 19:02, Guido van Rossum wrote: > > On Fri, Apr 29, 2022 at 10:15 AM Petr Viktorin >

[Python-Dev] Re: [RELEASE] The second Python 3.11 beta (3.11.0b2) is available

2022-05-31 Thread Pablo Galindo Salgado
You may be able to work around this issue by preventing pytest to rewrite the assert statements by adding `--assert=plain` to the command line invocation until we have beta 3 next month. On Tue, 31 May 2022 at 23:57, Jean Abou Samra wrote: > Hi, > > > Le 31/05/2022 à 15:31, Pablo Galindo Salgado

[Python-Dev] Re: [RELEASE] The second Python 3.11 beta (3.11.0b2) is available

2022-05-31 Thread Jean Abou Samra
Hi, Le 31/05/2022 à 15:31, Pablo Galindo Salgado a écrit : We **strongly encourage** maintainers of third-party Python projects to **test with 3.11** during the beta phase and report issues found to [the Python bug tracker](https://github.com/python/cpython/issues) as soon as possible. I j

[Python-Dev] Re: [RELEASE] The second Python 3.11 beta (3.11.0b2) is available

2022-05-31 Thread Jean Abou Samra
Le 01/06/2022 à 00:02, Pablo Galindo Salgado a écrit : You may be able to work around this issue by preventing pytest to rewrite the assert statements by adding `--assert=plain` to the command line invocation until we have beta 3 next month. Thank you! That did the trick. Worth mentioning in

[Python-Dev] Re: [RELEASE] The second Python 3.11 beta (3.11.0b2) is available

2022-05-31 Thread Pablo Galindo Salgado
I have added a small note in the release announcements. Thanks for raising this with us! On Wed, 1 Jun 2022 at 00:13, Jean Abou Samra wrote: > > > Le 01/06/2022 à 00:02, Pablo Galindo Salgado a écrit : > > You may be able to work around this issue by preventing pytest to > > rewrite the assert s

[Python-Dev] Re: [RELEASE] The second Python 3.11 beta (3.11.0b2) is available

2022-05-31 Thread Miro Hrončok
On 01. 06. 22 0:02, Pablo Galindo Salgado wrote: You may be able to work around this issue by preventing pytest to rewrite the assert statements by adding `--assert=plain` to the command line invocation until we have beta 3 next month. That's possibly dozens---if not hundreds---of CI setups th

[Python-Dev] Re: [RELEASE] The second Python 3.11 beta (3.11.0b2) is available

2022-05-31 Thread Pablo Galindo Salgado
> Wouldn't it be more practical to bite the bullet and release b3 immediately with this fix? I sympathize with the sentiment and I am sorry that this is not practical but I am not fully convinced about the balance. Beta 3 is in one month and spinning an entire release is a multi-hour process for a

[Python-Dev] Re: [RELEASE] The second Python 3.11 beta (3.11.0b2) is available

2022-05-31 Thread Pablo Galindo Salgado
Just for the heads up: I have sent an email to the release team and we are considering the proposal. Thanks for raising this with us. On Tue, 31 May 2022 at 23:39, Pablo Galindo Salgado wrote: > > Wouldn't it be more practical to bite the bullet and release b3 > immediately with this fix? > > I

[Python-Dev] Re: [RELEASE] The second Python 3.11 beta (3.11.0b2) is available

2022-05-31 Thread Miro Hrončok
On 01. 06. 22 0:39, Pablo Galindo Salgado wrote: > Wouldn't it be more practical to bite the bullet and release b3 immediately with this fix? I sympathize with the sentiment and I am sorry that this is not practical but I am not fully convinced about the balance. Beta 3 is in one month and sp