This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Memory alignment fix on SPARC
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: atler_, nnorwitz
Priority: normal Keywords: patch

Created on 2006-05-14 13:33 by atler_, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-sparc_fix.patch atler_, 2006-05-14 13:33
Messages (2)
msg50244 - (view) Author: Jan Palus (atler_) Date: 2006-05-14 13:33
test_codecscallback fails on sparc becasue of line (in
Objects/unicodeobject.c):

*p = *(Py_UNICODE *)s;

which may break memory alignment rules. Attached patch
fixes the problem by using memcpy instead.
msg50245 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-05-15 07:22
Logged In: YES 
user_id=33168

Thanks!

Committed revision 46001.
Committed revision 46002.
History
Date User Action Args
2022-04-11 14:56:17adminsetgithub: 43355
2006-05-14 13:33:12atler_create