ironpython3 icon indicating copy to clipboard operation
ironpython3 copied to clipboard

Add create_builtin and exec_builtin to _imp

Open slozier opened this issue 3 years ago • 1 comments
trafficstars

CPython 3.5 adds _imp.create_builtin and _imp.exec_builtin. https://github.com/IronLanguages/ironpython3/pull/1427 adds stubs for these methods.

slozier avatar May 01 '22 01:05 slozier

It also adds _imp.create_dynamic and _imp.exec_dynamic which seem to be the decomposed _imp.load_dynamic from 3.4.

But ipy 3.4 doesn't even have _imp.load_dynamic. I think it would make sense to implement load_dynamic on the 3.4 (currently master) branch in terms of private create_dynamic and exec_dynamic and swap private for public on merge with 3.6.

BCSharp avatar May 23 '22 22:05 BCSharp