Re: [Python-ideas] Add an UML class diagram to the collections.abc module documentation

2018-01-05 Thread Brett Cannon
At this point the conversation should shift to https://bugs.python.org/issue32471 . On Fri, 5 Jan 2018 at 08:51 Yahya Abou 'Imran via Python-ideas < python-ideas@python.org> wrote: > Hi everybody. > > I would like to make a recap: > > It seems that we all agree that it's something nice to have. N

Re: [Python-ideas] Add an UML class diagram to the collections.abc module documentation

2018-01-05 Thread Yahya Abou 'Imran via Python-ideas
Hi everybody. I would like to make a recap: It seems that we all agree that it's something nice to have. Now, we are wondering about the tools or the methodology to use them. As I said, if somebody want to give a try, I'm not against it. But what are we doing now? I've already open an issue, I

Re: [Python-ideas] Syntax to import modules before running command from the command line

2018-01-05 Thread Paul Moore
On 5 January 2018 at 08:12, Nick Coghlan wrote: > However, the issue then is that "python -M numpy" would just be a less > flexible alternative to a command like "python -C 'import numpy as > np'". For quick one-liners don't underestimate the value of avoiding punctuation: # No punctuation a

Re: [Python-ideas] Syntax to import modules before running command from the command line

2018-01-05 Thread Nick Coghlan
On 5 January 2018 at 16:28, Steve Barnes wrote: > Currently invoking `python -c "some;separated;set of commands;"` will, > if you need to use any library functions, require one or more import > somelib; sections in the execution string. This results in rather > complex "one liners". > > On the oth