Skip to content

implement PyObject_Type and PyObject_TypeCheck#5091

Merged
youknowone merged 2 commits into
RustPython:mainfrom
dannasman:add_PyObject_Type_PyObject_TypeCheck
Oct 17, 2023
Merged

implement PyObject_Type and PyObject_TypeCheck#5091
youknowone merged 2 commits into
RustPython:mainfrom
dannasman:add_PyObject_Type_PyObject_TypeCheck

Conversation

@dannasman

Copy link
Copy Markdown
Contributor

Hi!

Here are proposed implementations for PyObject_Type and PyObject_TypeCheck related to issue (#3244 ).

@youknowone youknowone left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I felt like obj.type() already is PyObject_Type. Maybe not due to return type.

Thank you!

@youknowone youknowone merged commit 0e72ba8 into RustPython:main Oct 17, 2023
This was referenced Oct 18, 2023
@dannasman dannasman deleted the add_PyObject_Type_PyObject_TypeCheck branch October 20, 2023 11:37
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