Skip to content

Fix for: to_dict() raises "Object of type range is not JSON serializable" for some svd files#176

Merged
posborne merged 1 commit intocmsis-svd:masterfrom
ckudera:master
Oct 6, 2023
Merged

Fix for: to_dict() raises "Object of type range is not JSON serializable" for some svd files#176
posborne merged 1 commit intocmsis-svd:masterfrom
ckudera:master

Conversation

@ckudera
Copy link
Copy Markdown
Member

@ckudera ckudera commented Jul 17, 2023

fixes #175 and adds a test

@posborne
Copy link
Copy Markdown
Collaborator

posborne commented Oct 6, 2023

Thanks for the change, this is probably a result of the original impl having an assumption based on how range() worked with python2 where xrange() is what behaved with the generator behavior like range() does today.

@posborne
Copy link
Copy Markdown
Collaborator

posborne commented Oct 6, 2023

Going to bypass CI since we're dropping the failing version. Other changes upstream will regress this particular test but that can be fixed as part of #180.

@posborne posborne merged commit a278d93 into cmsis-svd:master Oct 6, 2023
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.

to_dict() raises "Object of type range is not JSON serializable" for some svd files

2 participants