New submission from John Schneider <j...@jschneider.com>:

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

from ctypes import *

cdll.LoadLibrary("libc.so.7")
libc = CDLL("libc.so.7")

assert libc.isspace(0xa0) == 0
------------------------

I've also attached a patch for python 2.7.3.

----------
components: Unicode, ctypes
files: patch-pyport.h
messages: 165550
nosy: JohnSchneider, ezio.melotti
priority: normal
severity: normal
status: open
title: pyport.h includes antiquated UTF handling for FreeBSD
versions: Python 2.7
Added file: http://bugs.python.org/file26388/patch-pyport.h

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15362>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to