Segmentation fault using MessageFormat.getFormats()
Created by: pilbot
Not sure if I'm using this correctly:
from icu import MessageFormat
m = MessageFormat('Hello {name}!')
m.getFormats()
Gives me a segfault. I'm trying to get all parameters out of the string.
From the ICU docs I can see that getFormatNames
would fix my problem, but isn't implemented yet.