You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though #5078 has lots of changes, the core part of version update is importlib, site and ensurepip which have hard-coded python version or binary. test.support is not necessary, but usually need to be either updated or manually fixed to be compatible to new importlib.
In #5078, I tried to update importlib and resolve every following issues. site and ensurepip is done separately.
The first step is #5482, the easy part as it is. Changing CI CPython version to 3.13. It shows what behavior is changed in new version and what to prepare to cover it.
The second step is #5483. I found a few challanges in this update, but this is not the full list of them
__doc__ is changed. It now trims left whitespaces.
_opcode is added. This is _opcode.c in CPython source code. This could be temporarily ignored or replaced by python version.
match statement is now being used more and more. RustPython doesn't implement match statement yet. For 3.12, I rewrote a few match statement in standard library using if statement. 2 options. Implementing match or rewriting it without match.
Previous major version update
Though #5078 has lots of changes, the core part of version update is
importlib
,site
andensurepip
which have hard-coded python version or binary.test.support
is not necessary, but usually need to be either updated or manually fixed to be compatible to new importlib.In #5078, I tried to update importlib and resolve every following issues.
site
andensurepip
is done separately.The first step is #5482, the easy part as it is. Changing CI CPython version to 3.13. It shows what behavior is changed in new version and what to prepare to cover it.
The second step is #5483. I found a few challanges in this update, but this is not the full list of them
__doc__
is changed. It now trims left whitespaces._opcode
is added. This is_opcode.c
in CPython source code. This could be temporarily ignored or replaced by python version.match
statement is now being used more and more. RustPython doesn't implement match statement yet. For 3.12, I rewrote a few match statement in standard library using if statement. 2 options. Implementing match or rewriting it without match.The text was updated successfully, but these errors were encountered: