Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

handle subclassed int arguments correctly#74

Open
thseiler wants to merge 1 commit into
python-intelhex:master from
thseiler:feature/support-subclassed-int-arguments
Open

handle subclassed int arguments correctly #74
thseiler wants to merge 1 commit into
python-intelhex:master from
thseiler:feature/support-subclassed-int-arguments

Conversation

@thseiler

@thseiler thseiler commented Sep 18, 2025

Copy link
Copy Markdown

This PR switches to insinstance() for typechecking, so that setitem and getitem also work when passed a SubclassOfInt(int).

sirtoobii reacted with thumbs up emoji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /