1336 error loading shapefile

@Kartones I think you've already CR'd this at #1143, but wanted to be sure you had read this Python change. A little spammy, but useful for future reference ;)