Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

oh yeah, if you run this script with different python versions, you will experience mysterious failures probably.

in some limited testing I did, I was able to serialize a function on 64-bit Linux and have it execute on 32-bit Windows. I even went crazy and wrote using ctypes against the Win32 API on Linux and sent a string to be loads()ed by code on Windows... and that worked.

(this isn't really python being awesome as much as bytecode languages working as designed... but as far as I know this is all working by happy co-incidence, unlike say Java, where the bytecode is designed to be cross-platform...)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: