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 nbm
Recipients christian.heimes, exarkun, georg.brandl, giampaolo.rodola, gregory.p.smith, nbm, smurfix
Date 2008-05-10.13:38:14
SpamBayes Score 0.0782651
Marked as misclassified No
Message-id <1210426697.43.0.159883773195.issue2722@psf.upfronthosting.co.za>
In-reply-to
Content
This affects OS X too.

I'm attaching two patches - one uses malloc to build a bigger string if
the existing implementation returns ERANGE, and the other one uses
malloc from the start.  This was done on the theory that stack memory
use would be better/more efficient.  However, based on testing, there's
no real difference - 16.8usec vs. 17usec - on a rarely-used function.
History
Date User Action Args
2008-05-10 13:38:18nbmsetspambayes_score: 0.0782651 -> 0.0782651
recipients: + nbm, georg.brandl, gregory.p.smith, exarkun, giampaolo.rodola, christian.heimes, smurfix
2008-05-10 13:38:17nbmsetspambayes_score: 0.0782651 -> 0.0782651
messageid: <1210426697.43.0.159883773195.issue2722@psf.upfronthosting.co.za>
2008-05-10 13:38:16nbmlinkissue2722 messages
2008-05-10 13:38:15nbmcreate