Message337888
Josh, I agree - but do read Armin's response. The string hack was done inside ceval.c, where we have extraordinary knowledge of context. Adding similar hacks inside Python C API functions seems to be a non-starter - they can't magically start mutating arguments based on refcounts alone. Armin's dead-simple example is compelling.
So if this is desirable at all, it would need to get hairier. |
|
Date |
User |
Action |
Args |
2019-03-14 00:00:22 | tim.peters | set | recipients:
+ tim.peters, arigo, rhettinger, serhiy.storchaka, josh.r, pablogsal, brandtbucher |
2019-03-14 00:00:22 | tim.peters | set | messageid: <1552521622.14.0.632047768361.issue36229@roundup.psfhosted.org> |
2019-03-14 00:00:22 | tim.peters | link | issue36229 messages |
2019-03-14 00:00:22 | tim.peters | create | |
|