Re: How to do a controlled exec compiled and dynamic-load files?

Ken Manheimer (klm@NIST.GOV)
Wed, 25 Jan 1995 17:30:16 -0500 (EST)

On Wed, 25 Jan 1995, Steven D. Majewski wrote:

> [Slightly arcane, but clear, method to exec .pyc file contents.]

Intense, but cool. I'll give it a try - looks like i'll be in business
for handling everything but dynamic-load files. And come to think of it!
It probably wouldn't make any difference in the vast (vast!) majority of
dynamic-load cases, whether or not i have the __modpath__ set in the exec
environment. So i guess i can let that go for dynamic loads, but leave a
note for whoever (hi guido:) winds up taking the prototype to an actual
implementation...

Thanks, steve!

Ken
ken.manheimer@nist.gov, 301 975-3539