Re: [Python-Dev] cpython (3.4): Issue #22295: Adopt 'python -m pip' as the preferred invocation

2014-09-06 Thread Nick Coghlan
On 6 Sep 2014 23:15, "Paul Moore" wrote: > > On 6 September 2014 13:47, Skip Montanaro wrote: > > Based on the comment in the second issue, it doesn't appear this will > > be resolved until 1.7 at the earliest. > > The second issue is specific to setuptools, where we have some very > unpleasant h

Re: [Python-Dev] Python docs about comparisons vs. CPython reality

2014-09-06 Thread R. David Murray
On Sat, 06 Sep 2014 13:34:37 +0200, Jan Kaliszewski wrote: > Are they bugs in the Python docs or just some CPython implementation > details that are purposely not documented? (but then, again, some of > the docs seem to be at least not precise...): You might want to read http://bugs.python.org/i

Re: [Python-Dev] cpython (3.4): Issue #22295: Adopt 'python -m pip' as the preferred invocation

2014-09-06 Thread Paul Moore
On 6 September 2014 13:47, Skip Montanaro wrote: > Based on the comment in the second issue, it doesn't appear this will > be resolved until 1.7 at the earliest. The second issue is specific to setuptools, where we have some very unpleasant hacks to deal with the setuptools/distribute mess. Havi

Re: [Python-Dev] cpython (3.4): Issue #22295: Adopt 'python -m pip' as the preferred invocation

2014-09-06 Thread Skip Montanaro
> If I then execute > > pip install --user --upgrade SomePackage > > it tries to remove the outdated more global version of SomePackage. BTW, I believe this is a known issue: https://github.com/pypa/pip/issues/1851 https://github.com/pypa/pip/issues/1122 Based on the comment in the second issue,

Re: [Python-Dev] cpython (3.4): Issue #22295: Adopt 'python -m pip' as the preferred invocation

2014-09-06 Thread Skip Montanaro
On Sat, Sep 6, 2014 at 7:27 AM, Antoine Pitrou wrote: > Why not advocate --user instead? It is simpler than messing around with > virtual > environments and will suffice for most use cases. I agree, however, --user needs to be more fully integrated into pip's behavior. For example, if I execute

Re: [Python-Dev] cpython (3.4): Issue #22295: Adopt 'python -m pip' as the preferred invocation

2014-09-06 Thread Antoine Pitrou
On Sat, 6 Sep 2014 12:40:19 +0200 (CEST) nick.coghlan wrote: > > The following command will install the latest version of a module and its > dependencies from the Python Package Index:: > > -pip install SomePackage > +python -m pip install SomePackage > + > +.. note:: > + > + For

[Python-Dev] Python docs about comparisons vs. CPython reality

2014-09-06 Thread Jan Kaliszewski
Hello, Are they bugs in the Python docs or just some CPython implementation details that are purposely not documented? (but then, again, some of the docs seem to be at least not precise...): In https://docs.python.org/3.4/reference/datamodel.html#object.__eq__ there is the statement: > There are