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 belopolsky
Recipients amaury.forgeotdarc, belopolsky, jnferguson
Date 2008-04-09.01:37:21
SpamBayes Score 0.14110592
Marked as misclassified No
Message-id <d38f5330804081837k3c040b30i630c75971a7effb2@mail.gmail.com>
In-reply-to <1207704078.65.0.53495309332.issue2588@psf.upfronthosting.co.za>
Content
On Tue, Apr 8, 2008 at 9:21 PM, Justin Ferguson <report@bugs.python.org> wrote:

> ..
>  While no one seems to ever use it this way, don't forget that a good
>  alternative to asprintf() is calling sprintf() with a length of zero to
>  get the length (in compliant implementations), allocating the memory and
>  then calling it again.

Remember that PyOS_vsnprintf was introduced back in 2001 when
(according to the comments in the file) not all platforms provided c99
compliant implementations.  If you can verify that the situation has
changes for the supported platforms, I think you will have a good case
for making the wrapper c99 compliant.
History
Date User Action Args
2008-04-09 01:37:22belopolskysetspambayes_score: 0.141106 -> 0.14110592
recipients: + belopolsky, amaury.forgeotdarc, jnferguson
2008-04-09 01:37:22belopolskylinkissue2588 messages
2008-04-09 01:37:21belopolskycreate