Message125336
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. |
|
Date |
User |
Action |
Args |
2011-01-04 16:14:43 | pitrou | set | recipients:
+ pitrou, gvanrossum, georg.brandl, rhettinger, benjamin.peterson, jmillikin |
2011-01-04 16:14:43 | pitrou | set | messageid: <1294157683.61.0.580559861397.issue5945@psf.upfronthosting.co.za> |
2011-01-04 16:14:41 | pitrou | link | issue5945 messages |
2011-01-04 16:14:41 | pitrou | create | |
|