[Python-Dev] Re: PEP 467 feedback from the Steering Council

2021-08-03 Thread Ethan Furman
On 8/3/21 1:19 PM, Barry Warsaw wrote: > Can you provide some rationale for why you prefer bchr() over .fromint()? - `bchr` directly corresponds with `chr` - `str` has no `fromint` - `bytearray(bchr(int))` is roughly the same as `bytearray.fromint(int)`, but `bchr(int)` for a bytes object

[Python-Dev] Re: PEP 467 feedback from the Steering Council

2021-08-03 Thread Barry Warsaw
Thanks for responding Ethan. > On Aug 3, 2021, at 10:48, Ethan Furman wrote: > > I would rather keep `bchr` and lose the `.fromint()` methods. > > To get bytes: > > some_var = bchr(65) > vs > some_var = bytes.fromint(65) > > and for bytearrays > > some_var = bytearray(bchr(65)) > vs >

[Python-Dev] Re: PEP 467 feedback from the Steering Council

2021-08-03 Thread Ethan Furman
On 7/29/21 3:46 PM, Barry Warsaw wrote: > We’re generally very favorable for adding to Python 3.11 the features and APIs described > in the PEP. We have some requests for changes that we’d like you to consider. > > * The Python-Version in the PEP needs to target Python 3.11 of course. Done.

[Python-Dev] [RELEASE] Python 3.10.0rc1 is available

2021-08-03 Thread Pablo Galindo Salgado
Python 3.10.0 is almost ready. This release, 3.10.0rc1, is the penultimate release preview. You can get it here: https://www.python.org/downloads/release/python-3100rc1/ *This is the first release candidate of Python 3.10* This release, **3.10.0rc1**, is the penultimate release preview.

[Python-Dev] Re: Windows buildbots may be broken

2021-08-03 Thread Jason R. Coombs
That command causes a re-initialization of all of the files in the working copy. I got the recipe from here. There are more details in the comment I linked originally and the subsequent response. From: Senthil Kumaran

[Python-Dev] Re: Windows buildbots may be broken

2021-08-03 Thread Oleg Broytman
On Tue, Aug 03, 2021 at 06:29:43AM -0700, Senthil Kumaran wrote: > On Fri, Jul 30, 2021 at 02:28:08PM +, Jason R. Coombs wrote: > > > If you run such a buildbot, please consider running this command on > > your repo to bypass the issue: > > > > git rm -r :/ ; git checkout HEAD -- :/ > > >

[Python-Dev] Re: Windows buildbots may be broken

2021-08-03 Thread Senthil Kumaran
On Fri, Jul 30, 2021 at 02:28:08PM +, Jason R. Coombs wrote: > If you run such a buildbot, please consider running this command on > your repo to bypass the issue: > > git rm -r :/ ; git checkout HEAD -- :/ > > You may want to consider adding this command after every update to the > repo to