[Python-bugs-list] [ python-Bugs-490939 ] <string>.join(generator) crash bug

noreply@sourceforge.net noreply@sourceforge.net
Sun, 09 Dec 2001 14:33:48 -0800


Bugs item #490939, was opened at 2001-12-09 14:09
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=490939&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Sami Hangaslammi (shang)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: <string>.join(generator) crash bug

Initial Comment:
Reproduced on Windows XP (Python 2.2b1) and Redhat 
7.1 (Python 2.2b1). Bug didn't manifest with Python 
2.1 (WinNT4) or Python 2.2a2 (RH7.1).

Some generators crash the interpreter when used with 
<string>.join(generator). The same generators work 
fine when used with for-loops or with the build-in 
function list.

I couldn't create a more simple generator that would 
cause the interpreter to crash, so I'll attach the 
whole script (longish).

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-09 14:33

Message:
Logged In: YES 
user_id=6380

I think I *just* fixed this. Can you try a recent CVS?
tupleobject.c 2.62.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=490939&group_id=5470