[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] mintlib wide character overhaul
On 02/22/13 16:00, Jeffrey Armstrong wrote:
On Fri, 22 Feb 2013, Alan Hourihane wrote:
Yes, I'm certainly interested in this, but I'm also interested in how
you've tested the new code. Have you run the new widechar support
against any test suite, rather than just compiling it against Python
3.3.0 ?
Alan,
All I've done is build against Python 3.3, which seems to be working
now. I agree that some actual unit tests would be useful. I'll have a
look at what tests musl provides for the code.
Hi Jeff,
I took a closer look and it seems that more of mintlib needs an overhaul
with this. There's a bunch of stdio/ code that needs adjustment for wide
character support, so just adding these functions probably isn't enough
to support what we're looking for.
In the latest glibc's we have stdio-common/ and libio/ which need to be
merged with the existing stdio/ directory in the mintlib, given that
mintlib is based off of glibc in this area. I'd even go as far as
replicating the directory structure and then it should be easy enough to
pull in the other locale/ and wcsmbs/ and wctype/ directories to get
wide char and full unicode support, obviously including additional
include file adjustments.
This isn't a small task though, but glibc does have unit tests for this
stuff. So as a first hit, it'd be worth dragging those tests over and
just running them to see where we're at.
Is this something you can tackle Jeff ?
Thanks,
Alan.