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 pitrou
Recipients benjamin.peterson, georg.brandl, gvanrossum, jmillikin, pitrou, rhettinger
Date 2011-01-04.16:14:41
SpamBayes Score 0.00010392131
Marked as misclassified No
Message-id <1294157683.61.0.580559861397.issue5945@psf.upfronthosting.co.za>
In-reply-to
Content
Modules/posixmodule.c: uses PyMapping_Size(), PyMapping_Keys() and PyMapping_Values() to parse an environment mapping (for execve() and friends).

PyFrame_New(): validates the "locals" argument in pydebug mode (only used for module-level code).
Note that functions in frameobject.c have "assert(PyDict_Check(dict))" where "dict" is that same locals argument (copied into f_locals)...

PC/_subprocess.c: uses PyMapping_Size(), PyMapping_Keys() and PyMapping_Values() to parse an environment mapping (for CreateProcessW()).

Python/btninmodule.c: validates the "locals" argument to eval().


There are also a couple of places where the PyMapping API (such PyMapping_Keys()) is used (e.g. _json), but without calling PyMapping_Check first.
History
Date User Action Args
2011-01-04 16:14:43pitrousetrecipients: + pitrou, gvanrossum, georg.brandl, rhettinger, benjamin.peterson, jmillikin
2011-01-04 16:14:43pitrousetmessageid: <1294157683.61.0.580559861397.issue5945@psf.upfronthosting.co.za>
2011-01-04 16:14:41pitroulinkissue5945 messages
2011-01-04 16:14:41pitroucreate