-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Many references to unsupported Python versions in the stdlib docs #92417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
…an be used in all supported Python versions
…upported Python versions python#92417
…rences Given that 2.7 has now been end-of-life for two and a half years, I don't think we need such a detailed explanation here anymore of the differences between Python 2 and Python 3. python#92417
…an be used in all supported Python versions (pythonGH-92418) (cherry picked from commit e5b4bd4) Co-authored-by: Alex Waygood <[email protected]>
…ed Python versions (GH-92419)
…upported Python versions (pythonGH-92419) (cherry picked from commit f4e317b) Co-authored-by: Alex Waygood <[email protected]>
…upported Python versions (pythonGH-92419) (cherry picked from commit f4e317b) Co-authored-by: Alex Waygood <[email protected]>
…n versions (pythonGH-92422) (cherry picked from commit bc098cf) Co-authored-by: Alex Waygood <[email protected]>
…n versions (pythonGH-92422) (cherry picked from commit bc098cf) Co-authored-by: Alex Waygood <[email protected]>
…n versions (pythonGH-92422) (cherry picked from commit bc098cf) Co-authored-by: Alex Waygood <[email protected]>
…onGH-92544) (cherry picked from commit 639b62c) Co-authored-by: Alex Waygood <[email protected]>
…onGH-92544) (cherry picked from commit 639b62c) Co-authored-by: Alex Waygood <[email protected]>
…uctor methods (GH-92421) Co-authored-by: Ezio Melotti <[email protected]>
…constructor methods (pythonGH-92421) Co-authored-by: Ezio Melotti <[email protected]> (cherry picked from commit 090df84) Co-authored-by: Alex Waygood <[email protected]>
…constructor methods (pythonGH-92421) Co-authored-by: Ezio Melotti <[email protected]> (cherry picked from commit 090df84) Co-authored-by: Alex Waygood <[email protected]>
…Python <3.5 (pythonGH-92538) (cherry picked from commit 84b8600) Co-authored-by: Alex Waygood <[email protected]>
…Python <3.5 (pythonGH-92538) (cherry picked from commit 84b8600) Co-authored-by: Alex Waygood <[email protected]>
…uctor methods (GH-92421) (GH-92970) Co-authored-by: Ezio Melotti <[email protected]> (cherry picked from commit 090df84) Co-authored-by: Alex Waygood <[email protected]>
…uctor methods (GH-92421) (GH-92971) Co-authored-by: Ezio Melotti <[email protected]> (cherry picked from commit 090df84) Co-authored-by: Alex Waygood <[email protected]>
…thon versions (pythonGH-92424) Co-authored-by: CAM Gerlach <[email protected]> (cherry picked from commit 70aa1b9) Co-authored-by: Alex Waygood <[email protected]>
…ersions (GH-92424) Co-authored-by: CAM Gerlach <[email protected]>
… <3.5 (GH-92538) (GH-92973) (cherry picked from commit 84b8600) Co-authored-by: Alex Waygood <[email protected]>
I merged everything that was linked here. If all's done, this can be closed. |
Thank you for the reviews! This is now mostly done, but I think there's a few others left to do, so I'd rather keep it open for now. (I've been busy with other stuff lately.) |
… <3.5 (GH-92538) (GH-92972) (cherry picked from commit 84b8600) Co-authored-by: Alex Waygood <[email protected]>
…ersions (GH-92424) (GH-92979) Co-authored-by: CAM Gerlach <[email protected]> (cherry picked from commit 70aa1b9) Co-authored-by: Alex Waygood <[email protected]>
…an be used in all supported Python versions (pythonGH-92418) (cherry picked from commit e5b4bd4) Co-authored-by: Alex Waygood <[email protected]>
…differences (pythonGH-92423) (pythonGH-92474) Given that 2.7 has now been end-of-life for two and a half years, I don't think we need such a detailed explanation here anymore of the differences between Python 2 and Python 3. (cherry picked from commit 8efda1e) Co-authored-by: Alex Waygood <[email protected]> Automerge-Triggered-By: GH:serhiy-storchaka
… Python versions (pythonGH-92422) (pythonGH-92466) (cherry picked from commit bc098cf) Co-authored-by: Alex Waygood <[email protected]> Automerge-Triggered-By: GH:serhiy-storchaka
…ython <3.2 (pythonGH-92425) (cherry picked from commit 318c4e9) Co-authored-by: Alex Waygood <[email protected]>
…upported Python versions (pythonGH-92419) (cherry picked from commit f4e317b) Co-authored-by: Alex Waygood <[email protected]>
This is basically done at this point, and I ran out of energy to finish the remaining bits that are left to do. |
Documentation
There are currently many places in the stdlib docs where there are needless comments about how to maintain compatibility with Python versions that are now end-of-life. Many of these can now be removed, to improve brevity and clarity in the documentation.
I plan to submit a number of PRs to fix these.
PRs:
typing
docs:from __future__ import annotations
can be used in all supported Python versions #92418asyncio
docs:asyncio.run()
is available on all supported Python versions #92419doctest
docs: remove references to Python <3.6 #92420fractions
,decimal
: Improve docs for alternative constructor methods #92421json
docs:dict
is ordered on all supported Python versions #92422stdtypes
docs: delete discussion of Python 2 differences #92423importlib
docs: remove references to unsupported Python versions #92424logging
docs: Remove warning that only applies to Python <3.2 #92425subprocess
docs: remove note on compatibility with Python <3.5 #92538unittest.mock
docs: remove references to Python <2.6 #92539zlib
docs,binascii
docs: remove Python 2 compatibility notes #92543socket
docs: remove references to Python <3.3 #92544Backports:
typing
docs:from __future__ import annotations
can be used in all supported Python versions (GH-92418) #92459typing
docs:from __future__ import annotations
can be used in all supported Python versions (GH-92418) #92460typing
docs:from __future__ import annotations
can be used in all supported Python versions (GH-92418) #92461asyncio
docs:asyncio.run()
is available on all supported Python versions (GH-92419) #92462asyncio
docs:asyncio.run()
is available on all supported Python versions (GH-92419) #92463asyncio
docs:asyncio.run()
is available on all supported Python versions (GH-92419) #92491doctest
docs: remove references to Python <3.6 (GH-92420) #92467doctest
docs: remove references to Python <3.6 (GH-92420) #92468doctest
docs: remove references to Python <3.6 (GH-92420) #92492json
docs:dict
is ordered on all supported Python versions (GH-92422) #92464json
docs:dict
is ordered on all supported Python versions (GH-92422) #92465json
docs:dict
is ordered on all supported Python versions (GH-92422) #92466stdtypes
docs: delete discussion of Python 2 differences (GH-92423) #92472stdtypes
docs: delete discussion of Python 2 differences (GH-92423) #92473stdtypes
docs: delete discussion of Python 2 differences (GH-92423) #92474logging
docs: Remove warning that only applies to Python <3.2 (GH-92425) #92485logging
docs: Remove warning that only applies to Python <3.2 (GH-92425) #92486logging
docs: Remove warning that only applies to Python <3.2 (GH-92425) #92487unittest.mock
docs: remove references to Python <2.6 (GH-92539) #92606zlib
docs,binascii
docs: remove Python 2 compatibility notes (GH-92543) #92607The text was updated successfully, but these errors were encountered: