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.

Author kristjan.jonsson
Recipients ezio.melotti, kristjan.jonsson, pitrou, progrper, rhettinger, terry.reedy
Date 2012-04-15.14:43:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334501010.33.0.36249445893.issue14507@psf.upfronthosting.co.za>
In-reply-to
Content
a = map(add, a, b) also crashes this.
 a = chain(a, b) also.
If, by "provisions" you speak of sys.max_recursion_depth, that is only invoked when executing "python" code.  What's happening here is just simple c recursion trough function pointers, ending in stack overflow, at least on Windows:


>	python33_d.dll!chain_next(chainobject * lz)  Line 1811 + 0x6 bytes	C
 	python33_d.dll!PyIter_Next(_object * iter)  Line 2741 + 0xf bytes	C
 	python33_d.dll!chain_next(chainobject * lz)  Line 1823 + 0xc bytes	C
 	python33_d.dll!PyIter_Next(_object * iter)  Line 2741 + 0xf bytes	C
 	python33_d.dll!chain_next(chainobject * lz)  Line 1823 + 0xc bytes	C
 	python33_d.dll!PyIter_Next(_object * iter)  Line 2741 + 0xf bytes	C
History
Date User Action Args
2012-04-15 14:43:30kristjan.jonssonsetrecipients: + kristjan.jonsson, rhettinger, terry.reedy, pitrou, ezio.melotti, progrper
2012-04-15 14:43:30kristjan.jonssonsetmessageid: <1334501010.33.0.36249445893.issue14507@psf.upfronthosting.co.za>
2012-04-15 14:43:29kristjan.jonssonlinkissue14507 messages
2012-04-15 14:43:29kristjan.jonssoncreate