python,ipv6,link-local,scope-id
I recommend using the same structures as the Python socket module in all those cases where this makes any sense. Even if using your native library means the Python socket module isn't going to be used, it can still be beneficial, if some data structures are compatible between the two....