Message132140
Thanks for the updated patch.
-t = getattr(types, "CodeType", None)
-if t is not None:
- d[t] = _copy_immutable
+d[types.CodeType] = _copy_immutable
What was the use case for this again? The defunct restricted mode, another VM or something else? IOW, are we sure this change isn’t going to break something?
+ def _copy_with_copy_method(x):
+ return x.copy()
+ d[PyStringMap] = _copy_with_copy_method # for Jython
Could even just be d[PyStringMap] = PyStringMap.copy |
|
Date |
User |
Action |
Args |
2011-03-25 19:21:33 | eric.araujo | set | recipients:
+ eric.araujo, ncoghlan, belopolsky, pitrou, benjamin.peterson, daniel.urban, brandon-rhodes |
2011-03-25 19:21:33 | eric.araujo | set | messageid: <1301080893.11.0.790387190078.issue11572@psf.upfronthosting.co.za> |
2011-03-25 19:21:32 | eric.araujo | link | issue11572 messages |
2011-03-25 19:21:32 | eric.araujo | create | |
|