mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Access checks now work, at least for instance data (not for methods
yet). The class is now passed to eval_code and stored in the current frame. It is also stored in instance method objects. An "unbound" instance method is now returned when a function is retrieved through "classname.funcname", which when called passes the class to eval_code.
This commit is contained in:
parent
25831652fd
commit
81daa32c15
14 changed files with 655 additions and 150 deletions
|
@ -24,4 +24,5 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
/* Interface to execute compiled code */
|
||||
|
||||
object *eval_code PROTO((codeobject *, object *, object *, object *));
|
||||
object *eval_code
|
||||
PROTO((codeobject *, object *, object *, object *, object *));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue