Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork773
Commitafc201a
committed
Fix PathFinder.find_module AttributeError for Python 3.12
PathFinder.find_module() has been deprecated since Python 3.4 in favor offind_spec(), and it's finally removed in Python 3.12. This line willthrow an AttributeError which makes pymode completely unusable withpython 3.12.It was a hacky workaround introduced in#1028. Maybe we can completelyremove this workaround because it's 4 years ago and the minimumsupported python version is now 3.6+.1 parent57384b9 commitafc201a
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 |
| |
11 | 17 |
| |
12 | 18 |
| |
|
0 commit comments
Comments
(0)