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 lemburg
Recipients alexis.d, benjamin.peterson, christian.heimes, jcea, lemburg
Date 2012-11-22.08:06:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <50ADDCE7.1020804@egenix.com>
In-reply-to <1353541261.75.0.656206042402.issue16527@psf.upfronthosting.co.za>
Content
On 22.11.2012 00:41, Alexis Daboville wrote:
> 
> A possible cause (if I understood <http://greentreesnakes.readthedocs.org/en/latest/nodes.html#If> well) is that there are no elif nodes in the AST, elif are just plain ifs which are stored recursively in the else part of the previous if.

This is likely the cause. It's possible that the Python compiler
uses too much stack space, causing the stack to underrun, if
the default recursion limit is too high.

You should be able to check this by setting the recursion limit to
a lower value:

http://docs.python.org/3/library/sys.html?highlight=setrecursion#sys.setrecursionlimit

It defaults to 1000.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Nov 22 2012)
>>> Python Projects, Consulting and Support ...   http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ...       http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/
History
Date User Action Args
2012-11-22 08:06:05lemburgsetrecipients: + lemburg, jcea, christian.heimes, benjamin.peterson, alexis.d
2012-11-22 08:06:05lemburglinkissue16527 messages
2012-11-22 08:06:04lemburgcreate