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 dhduvall
Recipients dhduvall
Date 2009-07-20.22:54:43
SpamBayes Score 2.3110005e-09
Marked as misclassified No
Message-id <1248130486.1.0.677109329447.issue6529@psf.upfronthosting.co.za>
In-reply-to
Content
In tracking down

        6861990 getgrnam_r() str2group() function makes decisions based
on return value before it's set

(viewable on bugs.opensolaris.org), I noted that the pwd and grp modules
don't use the MT-safe interfaces to the password and group name service
tables.  The _r() interfaces have been around for a long time, are
standard, and should be used if at all possible.  That said, I can't
imagine it's terribly likely that people will go to the lengths
necessary to actually put multiple calls in flight at the same time in
CPython, but should it ever become easy to put this code into concurrent
threads, it'll likely fall over.
History
Date User Action Args
2009-07-20 22:54:46dhduvallsetrecipients: + dhduvall
2009-07-20 22:54:46dhduvallsetmessageid: <1248130486.1.0.677109329447.issue6529@psf.upfronthosting.co.za>
2009-07-20 22:54:44dhduvalllinkissue6529 messages
2009-07-20 22:54:43dhduvallcreate