Re: [Python-ideas] PEP 8 update on line length

2019-02-21 Thread Lele Gaifax
Christopher Barker writes: > On Wed, Feb 20, 2019 at 11:51 PM Lele Gaifax wrote: > >> if ((condition1 >>and condition2 >>and condition3)): >> do_something() >> > > ouch! ehy not jsut do: > > if (conditio

Re: [Python-ideas] PEP 8 update on line length

2019-02-20 Thread Lele Gaifax
difference between the continued condition elements and the succeeding suite: if ((condition1 and condition2 and condition3)): do_something() ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi

Re: [Python-ideas] Option of running shell/console commands inside the REPL

2019-02-05 Thread Lele Gaifax
Lele Gaifax writes: > Steven D'Aprano writes: > >> One readline feature To be exact, it's not a feature of the readline library: see https://bugs.python.org/issue8 (sigh, my GH fork of cpython has been recreated so some refs are broken). ciao, lele. -- nickname

Re: [Python-ideas] Option of running shell/console commands inside the REPL

2019-02-05 Thread Lele Gaifax
es copied from bash, and that being GPL was considered unfair to be relicensed under current Python license. Maybe sooner or later I will try to repackage it as a standalone extension. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò

Re: [Python-ideas] Option of running shell/console commands inside the REPL

2019-02-01 Thread Lele Gaifax
Further magic comes with https://pypi.org/project/xonsh/ ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929

Re: [Python-ideas] [Python-Dev] What's the status of PEP 505: None-aware operators?

2017-11-29 Thread Lele Gaifax
eyword. That sounds awkward... what about timeout else local_timeout else global_timeout instead? ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it |

Re: [Python-ideas] Language proposal: variable assignment in functional context

2017-06-21 Thread Lele Gaifax
t clashes with the ordinary "context manager" syntax. It's a pity "exec" is now a plain function, instead of a keyword as it was in Py2, as that could allow exec: y = b + 2 with: # or even "in:" b = a + 1 ciao, lele. -- nickname: Lele Gaifax | Quando vivrò d