[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Stefano Taschini
Stefano Taschini added the comment: Understood and agreed. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the patch. I did the library patch without monkey-patching. If there are further issues with this feature, please submit new bug reports. I won't consider the many test failures due to usage of Unicode literals in the test cases as bugs, as workin

[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7aff4423172 by Martin v. Löwis in branch '2.7': Issue #8767: Restore building with --disable-unicode. http://hg.python.org/cpython/rev/d7aff4423172 -- nosy: +python-dev ___ Python tracker

[issue8767] Configure: Cannot disable unicode

2012-04-30 Thread Stefano Taschini
Stefano Taschini added the comment: Here we go. -- Added file: http://bugs.python.org/file25419/issue8767_stdlib.patch ___ Python tracker ___

[issue8767] Configure: Cannot disable unicode

2012-04-30 Thread Stefano Taschini
Changes by Stefano Taschini : Added file: http://bugs.python.org/file25418/issue8767_interpreter.patch ___ Python tracker ___ ___ Python-bugs-l

[issue8767] Configure: Cannot disable unicode

2012-04-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: > it might be better to split the issue (and the patch) into two: one for the > autoconf and interpreter, and one for the stdlib. Please do that. Splitting the patch could be enough, no need to split the issue. -- _

[issue8767] Configure: Cannot disable unicode

2012-04-30 Thread Stefano Taschini
Stefano Taschini added the comment: Martin, That was exactly my first approach. What made me change my mind is that i) it is also fairly hacky (one might rightfully object that it is the isinstance(x, unicode) tests that should be changed) ii) it is now a hack spread over a dozen file

[issue8767] Configure: Cannot disable unicode

2012-04-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8767] Configure: Cannot disable unicode

2012-04-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: I find the injection of a fake unicode class too hacky. Instead, I suggest that each module does try: _unicode = unicode except NameError: # no unicode support in this build class _unicode: pass and then have the isinstance checks look fo

[issue8767] Configure: Cannot disable unicode

2012-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8767] Configure: Cannot disable unicode

2012-04-27 Thread Stefano Taschini
Stefano Taschini added the comment: Here's the patch. It has four goals: 1. Allow ./configure --disable-unicode to work; 2. Have the naked interpreter running with no unicode support; 3. Be able to compile most of the stdlib; 4. Be able to run the test suite. The one-line modifi

[issue8767] Configure: Cannot disable unicode

2012-04-26 Thread R. David Murray
R. David Murray added the comment: Reopening per this python-dev thread where MvL said that not being able to build 2.7 without unicode is a bug (but someone would need to care enough to contribute a patch to fix it). -- nosy: +r.david.murray priority: normal -> low stage: -> needs p

[issue8767] Configure: Cannot disable unicode

2012-04-26 Thread Stefano Taschini
Changes by Stefano Taschini : -- nosy: +taschini ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8767] Configure: Cannot disable unicode

2010-05-19 Thread Charles Solar
Changes by Charles Solar : Removed file: http://bugs.python.org/file17403/config.log ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8767] Configure: Cannot disable unicode

2010-05-19 Thread Charles Solar
Charles Solar added the comment: Seems as though python 2.7 should not support --disable-unicode so this ticket is invalid. I just googled python disable unicode, but it seems that the decision to never disable unicode is recent. Closing -- status: open -> closed ___

[issue8767] Configure: Cannot disable unicode

2010-05-19 Thread Charles Solar
New submission from Charles Solar : I am compiling python on AIX 5.3. The normal configure and make works, except it fails to compile the unicodedata module. The assembler reports a bunch of these errors: Error: value of 0001268b too large for field of 2 bytes at 006d Th