Re: [Python-ideas] Any chance on (slowly) deprecating `eval` and `exec` as builtins?

2017-11-09 Thread Michel Desmoulin
Le 07/11/2017 à 22:39, אלעזר a écrit : > > > בתאריך יום ג׳, 7 בנוב׳ 2017, 22:59, מאת Chris Angelico > ‏mailto:[email protected]>>: > > > -1 on hiding eval/exec; these features exist in many languages, and > they're identically dangerous everywhere. Basically, use eval only > with t

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-09 Thread Michel Desmoulin
Le 06/11/2017 à 23:48, Chris Barker a écrit : > On Mon, Nov 6, 2017 at 9:52 AM, Michel Desmoulin > mailto:[email protected]>> wrote: > > I know and you still: > > - have to use py -m on windows, python3 linux, python in virtualenv... > > > can't you use python3 -m pip install

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-09 Thread Michel Desmoulin
> > I.e., Install under the "Python 3.6" start menu an additional > "Python command prompt", which will > start cmd.exe with an appropriate PATH so that python and pip > run without further prefix. > > That way, the installer still doesn't need to mess with global PATH and > you can > easily ha

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-09 Thread Michel Desmoulin
> Isn't pip installed by default on Windows and OSX? On Linux some > distribution will probably do something unexpected and mess up your > grand plan. Some installers download pip, which won't work if you don't have an internet connection or a proxy setup. But my point is, all this should be u

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-09 Thread Michel Desmoulin
> > there can be multiple python2 or 3s too... > > at least with: > > python? -m pip install > > you will get the pip that matches the python you use... Not on windows. You have the py command. My all point is that each of the specific issues I mentioned are A and B but not C propositions. It

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-09 Thread Michel Desmoulin
Le 07/11/2017 à 22:26, Paul Moore a écrit : > On 7 November 2017 at 20:38, Chris Barker wrote: >> On Tue, Nov 7, 2017 at 5:04 AM, Thomas Jollans wrote: >>> >>> As Ivan said earlier, perhaps the Windows installers should provide a >>> "python3" executable, so "python3 -m pip" works everywhere. >

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-09 Thread Michel Desmoulin
> Which is why we advise getting into a virtual environment ASAP, such > that the only platform specific thing folks necessarily need to learn > to get started is how to get to that first working virtual > environment. > You can't start by teaching virtualenv. I tried. It doesn't work. And it's

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-09 Thread Michel Desmoulin
Le 07/11/2017 à 14:08, Paul Moore a écrit : > On 7 November 2017 at 12:44, Nick Coghlan wrote: >>> - make sure the system path is correctly set >> >> Recent python.org Windows installers do this automatically, but there >> are unfortunately still lots of ways for things to go wrong. > > I belie

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-09 Thread Michel Desmoulin
Le 07/11/2017 à 14:06, אלעזר a écrit : > On Tue, Nov 7, 2017 at 2:45 PM Nick Coghlan > wrote: > > On 7 November 2017 at 03:52, Michel Desmoulin > mailto:[email protected]>> wrote: > > > And assume that stuff in any tutorial you make they know this

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-09 Thread Nick Coghlan
On 10 November 2017 at 16:55, Michel Desmoulin wrote: > ensurepip may depend of youself having an internet connection when you > install it. And without a proxy. And it's not used on debian flavours. No, ensurepip doesn't depend on internet access (by design - it's the main reason why CPython bun