24.06.14 14:50, Victor Stinner написав(ла): > 2014-06-24 13:04 GMT+02:00 Skip Montanaro <skip at pobox.com>: >> I can't see any reason to make a backwards-incompatible change to >> Python 2 to only support Unicode. You're bound to break somebody's >> setup. Wouldn't it be better to fix bugs as Serhiy has done? > > According to the long list of issues, I don't think that it's possible > to compile and use Python stdlib when Python is compiled without > Unicode support. So I'm not sure that we can say that it's an > backward-incompatible change. Python has about 300 modules, my patches fix about 30 modules (only 8 of them cause compiling error). And that's almost all. Left only pickle, json, etree, email and unicode-specific modules (codecs, unicodedata and encodings). Besides pickle I'm not sure that others can be fixed. The fact that only small fraction of modules needs fixes means that Python without unicode support can be pretty usable. The main problem was with testing itself. Test suite depends on tempfile, which now uses io.open, which didn't work without unicode support (at least since 2.7).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4