[Python-Dev] Re: Request to postpone some Python 3.9 incompatible changes to Python 3.10

2020-03-04 Thread Victor Stinner
Hi,

I proposed a second change to restore the "U" open() mode (universal newlines):
https://github.com/python/cpython/pull/18767

Again, it's only kept in Python 3.9 to ease migration from Python 2,
but will be removed in Python 3.10.

By the way, I also added a new "You should check for
DeprecationWarning in your code" section to "What's New In Python 3.9"
document, to strongly advice users to check for deprecation warnings
in their code:
https://docs.python.org/dev/whatsnew/3.9.html#you-should-check-for-deprecationwarning-in-your-code

Victor

Le mar. 18 févr. 2020 à 12:37, Victor Stinner  a écrit :
>
> Hi,
>
> I created an issue:
>
> "Keep deprecated features in Python 3.9 to ease migration from Python
> 2.7, but remove in Python 3.10"
> https://bugs.python.org/issue39674
>
> And proposed a first pull request to add again collections.Mapping:
>
> https://github.com/python/cpython/pull/18545
>
> Victor
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/KT4B2C3EFEB6MXG55OHGCKN7CRVKI4SX/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: PEP 614 accepted

2020-03-04 Thread Bhavani Ravi
Congratulations!

I am new here, I want to understand what happens after a PEP gets accepted.
Do we have the workflow documented somewhere?

Regards
Bhavani Ravi :)
bhavaniravi.com 


On Wed, Mar 4, 2020 at 2:59 AM Victor Stinner  wrote:

> Le mar. 3 mars 2020 à 20:30, Abdur-Rahmaan Janhangeer
>  a écrit :
> > Just for learning purposes, why was this improvement not included at the
> beginning? (I missed the original thread)
>
> It's explained in the second paragraph of the PEP:
> https://www.python.org/dev/peps/pep-0614/#motivation
>
> Victor
> --
> Night gathers, and now my watch begins. It shall not end until my death.
> ___
> Python-Dev mailing list -- python-dev@python.org
> To unsubscribe send an email to python-dev-le...@python.org
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-dev@python.org/message/CSUF3YHSDSQEZ7BEKLPTNGIPFDE23P7F/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/C7MBZFXMWLSAH6J5SNLMYZECA6VXF6QX/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: PEP 614 accepted

2020-03-04 Thread Brandt Bucher
Welcome Bhavani!

This is only my second PEP, but I'm sure somebody will correct me if I'm wrong! 
Basically, the next steps are:

- Mark the PEP as "Accepted": 
https://github.com/python/peps/commit/841188a45f17f0252267f016d7b2f11ac27c5aa1
- Review and merge the implementation/tests: 
https://github.com/python/cpython/pull/18570
- Add documentation: (in progress, sometime today)
- Mark the PEP as "Final": (last step)

PEP 1 (the meta-PEP), outlines the PEP lifecycle quite well:

https://www.python.org/dev/peps/pep-0001/#pep-review-resolution

Brandt
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/Y3BVAS6MU22GTJHSETKLJFJYJJQFGHVT/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] [RELEASE] Python 3.7.7rc1 is now available for testing

2020-03-04 Thread Ned Deily
Details here:

https://discuss.python.org/t/python-3-7-7rc1-is-now-available-for-testing/3638

https://www.python.org/downloads/release/python-377rc1/

--
  Ned Deily
  n...@python.org -- []
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/NHPFHNHLYH5GGMP2YFHROKFF3255Q4RV/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: VS Code extension for Python.asdl

2020-03-04 Thread Brett Cannon
Guido van Rossum wrote:
> How easy are extensions like this to make? We might want to have one for
> the PEG grammar (if it goes through).

I don't think it's very hard. For instance, 
https://github.com/brettcannon/vscode-zephyr-asdl is what it takes to add 
syntax highlighting for ASDL. It pretty much is writing regexes to do accurate 
capturing of what you want to highlight and assigning semantic meaning.

And if there is already an extension that highlights that file (or even 
Grammar) then if I ever get around to creating a python-dev extension it can 
associate the file appropriately even without a file extension (i.e. the 
extension says `Grammar/Grammar` is of type "EBNF").

And I will say I have a bunch of ideas on a python-dev extension for VS Code 
(most of which is configuration and thus not complicated; integrating Buildbot 
status is actually the only thing that would require a lot of coding), but as 
with most things it requires having the time to do it. :)

> On Tue, Mar 3, 2020 at 6:44 PM Brett Cannon br...@python.org wrote:
> > https://marketplace.visualstudio.com/items?itemName=brettcannon.zephyr-asdl
> > Basically syntax highlighting and automatic bracket matching for those
> > that ever have to work with Python.asdl. If the number of direct installs
> > of this extension breaks into double digits I will be a bit shocked. ;)
> > 
> > Python-Dev mailing list -- python-dev@python.org
> > To unsubscribe send an email to python-dev-le...@python.org
> > https://mail.python.org/mailman3/lists/python-dev.python.org/
> > Message archived at
> > https://mail.python.org/archives/list/python-dev@python.org/message/ZPJN6NJP...
> > Code of Conduct: http://python.org/psf/codeofconduct/
> > -- 
> --Guido van Rossum (python.org/~guido)
> Pronouns: he/him **(why is my pronoun here?)
> http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/FBUOVB554OXBLMGYBJE75UHJKFHLNWYO/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: [RELEASE] Python 3.7.7rc1 is now available for testing

2020-03-04 Thread Ned Deily
On Mar 4, 2020, at 17:17, Jonathan Goble  wrote:
> On Wed, Mar 4, 2020 at 1:02 PM Ned Deily  wrote:
> Details here:
> 
>> https://discuss.python.org/t/python-3-7-7rc1-is-now-available-for-testing/3638
>> 
>> "Assuming no critical problems are found prior to 2020-02-10..."

> I would like to know how you expect people to travel back in time to report 
> problems. :P

python3.7 -m pip install guidos_time_machine

If, for some reason that doesn't work, let's wait until 2020-03-10!

--
  Ned Deily
  n...@python.org -- []
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/SQTR7PXQIWDQRQ72K3U2TE5OVFVOF7QU/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: [RELEASE] Python 3.7.7rc1 is now available for testing

2020-03-04 Thread Ned Deily
On Mar 4, 2020, at 23:39, Jonathan Goble  wrote:
>> On Wed, Mar 4, 2020 at 10:05 PM Ned Deily  wrote:
>> On Mar 4, 2020, at 17:17, Jonathan Goble  wrote:
>> > On Wed, Mar 4, 2020 at 1:02 PM Ned Deily  wrote:
>> > Details here:
>> >> https://discuss.python.org/t/python-3-7-7rc1-is-now-available-for-testing/3638
>> >> "Assuming no critical problems are found prior to 2020-02-10..."
>> > I would like to know how you expect people to travel back in time to 
>> > report problems. :P
>> 
>> python3.7 -m pip install guidos_time_machine
>> 
>> If, for some reason that doesn't work, let's wait until 2020-03-10!
> 
> Well, it works now! (if you substitute dashes for the underscores)
> 
> https://pypi.org/project/guidos-time-machine/
> 
> Brand new package uploaded by Guido 36 minutes ago.

Python is great for just-in-time agile development, especially in future 
tenths. 

  --
Ned Deily
n...@python.org -- []

___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/ALDLTYGG5PG2XVDVPDTJIPYPHVPGNGIV/
Code of Conduct: http://python.org/psf/codeofconduct/