Message140284
> But if you set raw memory to let's say b'\0\0\0\1',
> when you look at the c_int value afterwards, won't it
> be different on little endian and big endian machines?
A big endian structure is supposed to read and write memory in the... big endian order, not in the host endian. |
|
Date |
User |
Action |
Args |
2011-07-13 16:26:27 | vstinner | set | recipients:
+ vstinner, theller, terry.reedy, amaury.forgeotdarc, castironpi, Alexander.Belopolsky, vladris |
2011-07-13 16:26:27 | vstinner | set | messageid: <1310574387.89.0.586574142872.issue4376@psf.upfronthosting.co.za> |
2011-07-13 16:26:27 | vstinner | link | issue4376 messages |
2011-07-13 16:26:27 | vstinner | create | |
|