summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-07-18 20:47:31 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-07-18 20:47:31 (GMT)
commit3dac559299100c135fded9bb22536dbb1379a9bc (patch)
tree3a026da48e984aaf08e47be1bc3f93f625be6f0a /Doc/ref
parentcdab3bf7eb0810fcda21be065868f3da330779a1 (diff)
downloadcpython-3dac559299100c135fded9bb22536dbb1379a9bc.zip
cpython-3dac559299100c135fded9bb22536dbb1379a9bc.tar.gz
cpython-3dac559299100c135fded9bb22536dbb1379a9bc.tar.bz2
SF bug #442520: test_struct fails on SPARC.
The ob_sval member of a string object isn't necessarily aligned to better than a native long, so the new "q" and "Q" struct codes can't get away w/ casting tricks on platforms where LONG_LONG requires stricter-than-long alignment. After I thought of a few elaborate workarounds, Guido bashed me over the head with the obvious memcpy approach, herewith implemented.
Diffstat (limited to 'Doc/ref')
0 files changed, 0 insertions, 0 deletions