chore: add 3.12 to supported lists #1135
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Python 3.12 is now stable 馃殌. The optimisations are amazing but there's not all too much to benefit from otherwise this time round. Nearly all of the deprecations do not affect us, and there are only module removals (
asynchat
,asyncore
,imp
,distutils
).The
get_event_loop
changes may need some refactoring for both the examples,Client
andWebhook
s, as that will eventually not create a new loop implicitly (slightly irritating but makes sense).datetime.datetime.utcnow
anddatetime.utcfromtimestamp
have also been deprecated. This has been solved in #1000 with theDTZ
set of rules.audioop
will be removed in 3.13 too, which is used partially inplayer.py
.The only removals for 3.14 are some deprecations in 3.13 of course.
Don't forget to check the porting section too for behaviour changes in 3.12 for your own bots such as
randrange
.