Skip to content
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

Map char[N] to str in Python #323

Open
danmou opened this issue Jan 26, 2022 · 0 comments
Open

Map char[N] to str in Python #323

danmou opened this issue Jan 26, 2022 · 0 comments
Assignees

Comments

@danmou
Copy link

danmou commented Jan 26, 2022

The IDL-Python type conversion has various special cases, defined here, such as mapping octet[N] to bytes. However it seems like one obvious special case is missing: char[N] to bytes. A quick test on Galactic shows that this type is currently converted to a NumPy array. Is there any reason for this or is it an oversight?

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

No branches or pull requests

2 participants