Chris Laplante

Results 12 comments of Chris Laplante

Somewhat unrelated but maybe this will help someone. In my particular case I had a module on-disk with a number of submodules. I only wanted to import a subset of...

> Can you expand on your use case for this? I wonder what the right api for this will be, because I really don't want to have functions with that...

> Couldn't you just modify `sys.argv` directly and put in there whatever you want before running that code? Good point. I guess I'd just inject `sys.argv = ["whatever"]` before running?

Still, I don't think it'd be a bad idea to implement this at least partially? One thing that is annoying about the workaround above is that it changes line numbers...

Looks like that works, thanks! I still think there are use cases for implementing a `run_ex`, don't you? What you gave above certainly works but feels like a hack, especially...

> For the sake of throwing ideas into the ring, I'd be happy to hear proposals of what an implementation of a builder pattern would look like for this. I've...

> Hi! I am sorry for late response. I hadn't thought of using `include_bytes!` for this purpose before. That sounds reasonable to me. Could you please make a PR for...

Very timely, thank you. I just started looking at PyOxidizer this week and thought I was going crazy when I couldn't get the persistent build to work.

Commenting back to say that this patch worked fine for me. Thanks! @indygreg would love to see this get merged.

> Based on my observations, I see that if xiltimer is disabled and I try it, it works. I am checking why with xiltimer enabled, it might fail. Here's a...