[Python-ideas] Re: url imports

2020-06-10 Thread J. Pic
What if you want to import a lib in two different scripts, would you have to call your import function with the given version (and permissions I suppose, if you want to follow Deno's path) every time ? IMHO, being able to set the permissions of an imported library like Deno does could be

[Python-ideas] Re: url imports

2020-06-10 Thread Caleb Donovick
> i.e. instead of > `pip install package` > and > `import package` > and > `pip freeze > requirements.txt` > for every import, I am unclear on what you mean by "for every import". I have never once done this and I maintain half a dozen packages. Do people really not know what the requirements of

[Python-ideas] Re: url imports

2020-06-10 Thread Brett Cannon
Do note that is not as easy as it seems as you would have to figure out how to manage dependencies appropriately, especially if you are going to support using different versions at the same time. Otherwise you could write your own function today to see if you can get a proof-of-concept working as