design icon indicating copy to clipboard operation
design copied to clipboard

Map char[N] to str in Python

Open danmou opened this issue 3 years ago • 0 comments
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?

danmou avatar Jan 26 '22 16:01 danmou