Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1192)

Unified Diff: cgen/templates/default/delete_name

Issue 14757: INCA: Inline Caching meets Quickening in Python 3.3
Patch Set: Created 1 year, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cgen/templates/default/delete_global ('k') | cgen/templates/default/delete_subscr » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cgen/templates/default/delete_name Thu Apr 26 11:08:47 2012 -0700
@@ -0,0 +1,13 @@
+
+ TARGET(DELETE_NAME)
+ w = GETITEM(names, oparg);
+ if ((x = f->f_locals) != NULL) {
+ if ((err = PyObject_DelItem(x, w)) != 0)
+ format_exc_check_arg(PyExc_NameError,
+ NAME_ERROR_MSG,
+ w);
+ goto on_error;;
+ }
+ PyErr_Format(PyExc_SystemError,
+ "no locals when deleting %R", w);
+ goto on_error;;
« no previous file with comments | « cgen/templates/default/delete_global ('k') | cgen/templates/default/delete_subscr » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7