Skip to content

Conversation

@Kuro-Rui
Copy link
Contributor

@Kuro-Rui Kuro-Rui commented Jan 6, 2023

Description of the changes

This PR changes load_module in Red.load_extension to exec_module to give support for Python 3.12

Have the changes in this PR been tested?

Yes

@Jackenmen Jackenmen added this to the 3.5.0 milestone Jan 6, 2023
@Jackenmen
Copy link
Member

We currently have some other plans for changes to the import system (related to #2446) so I'm going to mark this as Blocked for now and we will see if it's still needed once we either make those changes or decide to defer them.

@Kuro-Rui Kuro-Rui reopened this Mar 24, 2023
@github-actions github-actions bot added the Category: Core - Bot Class This is related to the `redbot.core.bot.Red` class. label Mar 24, 2023
@Kuro-Rui
Copy link
Contributor Author

Sorry, closed by accident because of conflicts 😅

@Flame442 Flame442 modified the milestones: 3.5.0, 3.5.1 Apr 13, 2023
@Kuro-Rui Kuro-Rui changed the title Fix DeprecationError in Red.load_extension Fix DeprecationError from ModuleSpec.loader.load_module in Red.load_extension Apr 26, 2023
@Kuro-Rui
Copy link
Contributor Author

Kuro-Rui commented Nov 4, 2023

Recently found a bug, apparently if you load warnings (redbot.cogs.warnings) it replaces the built-in warnings module with red's warnings cog. Will find a fix ASAP.

@Kuro-Rui
Copy link
Contributor Author

Kuro-Rui commented Nov 4, 2023

Fixed!

@Jackenmen Jackenmen modified the milestones: 3.5.6, 3.5.7 Mar 18, 2024
@Jackenmen Jackenmen modified the milestones: 3.5.9, 3.5.10 Apr 20, 2024
@Jackenmen Jackenmen modified the milestones: 3.5.14, 3.5.15 Dec 24, 2024
@Jackenmen Jackenmen modified the milestones: 3.5.21, 3.5.22 Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked Category: Core - Bot Class This is related to the `redbot.core.bot.Red` class.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants