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 neologix
Recipients Thomas.Smith, dmalcolm, doko, ezio.melotti, liang, neologix, pitrou, tim.peters, vstinner
Date 2010-04-20.13:46:59
SpamBayes Score 6.3391496e-07
Marked as misclassified No
Message-id <1271771220.8.0.392283554955.issue7332@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is highlighted with recursive imports:
a module which imports another module, which imports another module, etc. PyMarshal_ReadLastObjectFromFile is not the only function to use stack-allocated buffers, there are also load_source_module, load_package, import_module_level, which use char buf[MAXPATHLEN+1]: with a MAXPATHLEN to 1024, you lose 2 or 3K every time you do a recursive import.
And, as has been said, it might very well happen that new threads get a reduced stack size.
History
Date User Action Args
2010-04-20 13:47:01neologixsetrecipients: + neologix, tim.peters, doko, pitrou, vstinner, ezio.melotti, dmalcolm, liang, Thomas.Smith
2010-04-20 13:47:00neologixsetmessageid: <1271771220.8.0.392283554955.issue7332@psf.upfronthosting.co.za>
2010-04-20 13:46:59neologixlinkissue7332 messages
2010-04-20 13:46:59neologixcreate