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

noreply@sourceforge.net noreply@sourceforge.net
Sun, 09 Dec 2001 14:09:40 -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: Open
Resolution: None
Priority: 5
Submitted By: Sami Hangaslammi (shang)
Assigned to: Nobody/Anonymous (nobody)
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).

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

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