10000 typing upgrade to 3.13.2 by arihant2math · Pull Request #5590 · RustPython/RustPython · GitHub
[go: up one dir, main page]

Skip to content

typing upgrade to 3.13.2 #5590

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

Merged
merged 23 commits into from
Apr 27, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
compile fix
  • Loading branch information
arihant2math committed Apr 18, 2025
commit 8a41e959b4a6294ce0171f54124100a46bd63aa7
7 changes: 4 additions & 3 deletions vm/src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1268,9 +1268,10 @@ impl ExecutingFrame<'_> {
}
bytecode::Instruction::ParamSpec => {
let param_spec_name = self.pop_value();
let param_spec: PyObjectRef = _typing::make_paramspec(param_spec_name.clone(), None)
.into_ref(&vm.ctx)
.into();
let param_spec: PyObjectRef =
_typing::make_paramspec(param_spec_name.clone())
.into_ref(&vm.ctx)
.into();
self.push_value(param_spec);
Ok(None)
}
Expand Down
2 changes: 1 addition & 1 deletion vm/src/stdlib/typing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub(crate) mod _typing {
Ok(vm.ctx.none())
}
}

#[pygetset(magic)]
fn name(&self) -> PyObjectRef {
self.name.clone()
Expand Down
0