Commit e091a56
committed
Fix attribute selection for
The `doBuiltinTypeType` specialization only applies for non-type-slot attributes. Previously it was
assumed that all type slots have underscore names, however, "mro" also exists and needs to be checked for.
This is now implemented in the `isNotTypeSlot()` helper function.doBuiltinTypeType specialization in PyObjectLookupAttrNode.1 parent 585c0e5 commit e091a56
File tree
1 file changed
+10
-9
lines changed- graalpython/com.oracle.graal.python/src/com/oracle/graal/python/lib
1 file changed
+10
-9
lines changedLines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
121 | 130 | | |
122 | 131 | | |
123 | 132 | | |
| |||
166 | 175 | | |
167 | 176 | | |
168 | 177 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | | - | |
| 182 | + | |
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| |||
0 commit comments