Skip to content

Conversation

@moreal
Copy link
Contributor

@moreal moreal commented Apr 14, 2024

This pull request continues from #5225 PR. In that PR, I missed to downcast value to PyType type when evaluating both_module value. So cargo run -- --install-pip get-pip was still failed in the same reason.

This pull request downcasts value to PyRef<PyType> when value is module type. Also it checks value is PyType first, once.

This pull request doesn't resolve an issue, get-pip doesn't work, completely. After this pull request, it should bump Lib/shutil to Python 3.12 version's.

@moreal moreal mentioned this pull request Apr 14, 2024
Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@youknowone youknowone merged commit 959e7c1 into RustPython:main Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants