Alex Martelli wrote: > [[ I meant -- but didn't say out loud!-) -- "without changing the current > bytecode-level logic". The change I proposed and experimented with > for strings' is... methods is localized to stringobject.c and requires > changing nothing except the details of string objects' implementation ]] Then I probably don't understand what you are suggesting. What would LOAD_ATTR do if the object is a string, the attribute is "isdigit", and you were allowed to assume that the result won't depend on factors that may change over time? Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4