This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: --disable-unicode builds horked
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: doerwalter Nosy List: doerwalter, mwh
Priority: high Keywords:

Created on 2002-05-11 16:03 by mwh, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (3)
msg10727 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2002-05-11 16:03
Walter, I'm 99% sure this is your fault:

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I../Include -DHAVE_CONFIG_H  -o Objects/stringobject.o
../Objects/stringobject.c
../Objects/stringobject.c: In function `do_argstrip':
../Objects/stringobject.c:1461: warning: implicit
declaration of function `PyUnicode_FromObject'
../Objects/stringobject.c:1461: warning: initialization
makes pointer from integer without a cast
../Objects/stringobject.c:1465: warning: implicit
declaration of function `_PyUnicode_XStrip'
../Objects/stringobject.c:1465: `PyUnicodeObject'
undeclared (first use in this function)
../Objects/stringobject.c:1465: (Each undeclared
identifier is reported only once
../Objects/stringobject.c:1465: for each function it
appears in.)
../Objects/stringobject.c:1465: parse error before `)'

Please fix.
msg10728 - (view) Author: Walter Dörwald (doerwalter) * (Python committer) Date: 2002-05-13 09:18
Logged In: YES 
user_id=89016

You're 99% correct!

Fixed in stringobject 2.162 and 2.147.6.5 (for the
release22-maint branch).

The docstring for strip, lstrip and rstrip still
mention unicode. Should this be fixed too?
msg10729 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2002-05-13 09:37
Logged In: YES 
user_id=6656

My cronjob thanks you :)

I wouldn't bother fixing the docstrings, myself, so I'll
close this.

Now to get StringIO working... (currently testing patch).
History
Date User Action Args
2022-04-10 16:05:18adminsetgithub: 36591
2002-05-11 16:03:43mwhcreate