On Tue, Nov 7, 2017 at 9:27 PM, Guido van Rossum wrote:
> On Mon, Nov 6, 2017 at 10:36 PM, Stéfane Fermigier
> wrote:
>
>>
>>
>> On Tue, Nov 7, 2017 at 2:58 AM, Guido van Rossum
>> wrote:
>>
>>> On Mon, Nov 6, 2017 at 2:34 AM, Stéfane
On 11/07/2017 03:12 PM, Soni L. wrote:
exec("def one(x):\n [r] = x\n return r") # who says python doesn't have
one-liners?
(ofc, some would argue you should use:
one = (lambda x: (lambda y: y)(*x))
Most would argue that
def one(x):
[r] = x
return r
is the appropriate code.
--
On 06/11/17 22:53, Ivan Pozdeev via Python-ideas wrote:
You can't. Windows versions don't create versioned executables. Got
bitten with this myself.
You either use py -x.y -mpip or you can directly use pip.exe, pepx.exe
or pipx.y.exe.
...Maybe they should?
(This is python-ideas, after all