On Jul 16, 2019, at 10:20, Abdur-Rahmaan Janhangeer <arj.pyt...@gmail.com> 
wrote:
> 
> I must make a C or pure Python demo?

You can definitely implement this in pure Python. It doesn’t need C for 
performance reasons, it’s not going to be bootstrapped into the start sequence, 
it doesn’t need access to C-only APIs, etc.

And keep it simple. You don’t need to do anything clever to compute the set of 
modules at install time or runtime, just hardcore them. You can probably just 
take the lazy import example from PEP 562 and change __all__ to be a list of 
all of the names you think should be included.

That’s more than enough for people to play with it, and for you to show off 
useful examples that other people can run.

If you decide to upload it to PyPI (which I think you probably should at some 
point), you’ll need to figure out how to handle providing the right stdlib for 
the user’s Python version (and implementation, platform, etc., if that’s the 
way the discussion goes). But I’d put that off for an 0.2 version, and get the 
0.1 version done and uploaded to github or whatever first.

_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/BY5GLSERMDL4WK5EM4C7DGOFXYDIU6W2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to