design
design copied to clipboard
Map char[N] to str in Python
trafficstars
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?