You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pyport.h includes antiquated UTF handling for FreeBSD #59567
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2013-10-13.18:24:39.552>created_at=<Date2012-07-15.21:19:21.794>labels= ['ctypes', 'expert-unicode']
title='pyport.h includes antiquated UTF handling for FreeBSD'updated_at=<Date2013-10-13.18:24:39.551>user='https://bugs.python.org/JohnSchneider'
Revision 36793 introduced a libc wrapper for FreeBSD 5.x which addressed some UTF issues. Unfortunately, this causes C compilation errors for certain ports.
Also reference issues 10910, 1455641
This change is no longer applicable for FreeBSD 9. I'm not sure what version of FreeBSD made it not longer applicable, but there were reports of it still being necessary for FreebSD 7. FreeBSD 6 - 8 should be tested with this test script:
------------------------
#!/usr/bin/env python
Activity
JohnSchneider commentedon Jul 15, 2012
Revision 36793 introduced a libc wrapper for FreeBSD 5.x which addressed some UTF issues. Unfortunately, this causes C compilation errors for certain ports.
Also reference issues 10910, 1455641
This change is no longer applicable for FreeBSD 9. I'm not sure what version of FreeBSD made it not longer applicable, but there were reports of it still being necessary for FreebSD 7. FreeBSD 6 - 8 should be tested with this test script:
------------------------
#!/usr/bin/env python
assert libc.isspace(0xa0) == 0
------------------------
I've also attached a patch for python 2.7.3.
skrah commentedon Jan 17, 2013
Does this apply to Python 3.3 as well? I don't think we're going to
fix this in 2.7.
birkenfeld commentedon Oct 13, 2013
Closing due to lack of feedback.