python data types are pretty far detached from the hardware. they are all dynamic objects. I don't think python has memory unions.

Reply to this note

Please Login to reply.

Discussion

I must have been thinking of Golang's structs w/ unsafe pointers.

Although Python 3 is getting closer:

https://docs.python.org/3/library/struct.html