[Python-Dev] Re: Should PEP 8 be updated for Python 3 only?

2021年8月25日 19:08:22 -0700

On 8/25/2021 6:48 PM, Steve Holden wrote:
I suspect it's the same motivation that makes us comment out a block of code rather than deleting it, even though we know the VCS will let us retirive it whenever we want. If I'm wrong it won't be fatal. Or surprising ;-)
Kind regards,
Steve
On Wed, Aug 25, 2021 at 8:53 PM Eric V. Smith <[email protected] <mailto:[email protected]>> wrote:
 I think we’re better off removing them. 2.7 is completely
 unsupported by us.
 Why do you think they should still be kept?
 --
 Eric
 > On Aug 25, 2021, at 1:32 PM, Mike Miller <[email protected]
 <mailto:[email protected]>> wrote:
 >
 > 
 > How about moving Python 2 notes into a section at the bottom?
I initially thought of this also, for +- the reason Steve gives. But PEP 8 still specifically applies to the stdlib and we only edit 3.6+. So I agree with Eric. We could add (perhaps at the end of the first paragraph) something like "(Since the 2.x stdlib is frozen, all 2.x-specific guidelines were removed in Sept 2021.)" Anyone interested could then check git log for the last commit before then. And everyone would know that what follows is for 3.x.
--
Terry Jan Reedy
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/HGHRMW7ZCFDN2Q6I7HFOI3UY5JG5F44J/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to