Fix wrongly allocated space for TableauWChar
Implement get_or_create_tabledef in py