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 tim.peters
Recipients amaury.forgeotdarc, mbandy, pitrou, tim.peters
Date 2010-02-25.22:36:30
SpamBayes Score 5.175984e-06
Marked as misclassified No
Message-id <1267137392.58.0.228568527438.issue8020@psf.upfronthosting.co.za>
In-reply-to
Content
Just noting there are ways to trick the macro into reading a thing once.  For example, embed something like a

((x = arenas[(POOL)->arenaindex].address) || 1)

clause early on & refer to x later (where x is some file-scope new variable).

obmalloc is not intended to be thread-safe _period_, but I agree the current behavior in the case described is obnoxious enough that if it's easy to worm around it, fine.
History
Date User Action Args
2010-02-25 22:36:32tim.peterssetrecipients: + tim.peters, amaury.forgeotdarc, pitrou, mbandy
2010-02-25 22:36:32tim.peterssetmessageid: <1267137392.58.0.228568527438.issue8020@psf.upfronthosting.co.za>
2010-02-25 22:36:31tim.peterslinkissue8020 messages
2010-02-25 22:36:31tim.peterscreate