Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list)
Rustom Mody
rustompmody at gmail.com
Fri Apr 4 06:24:14 EDT 2014
On Friday, April 4, 2014 3:23:31 PM UTC+5:30, Steven D'Aprano wrote:
> On Thu, 03 Apr 2014 11:38:13 -0500, Mark H Harris wrote:
>
> > On 4/1/14 5:33 PM, Terry Reedy wrote:
> >
> > hi Terry, hope you are well today, despite gmane difficulties;
> >
> >> If you narrowly meant "The python interpreter only starting using
> >> unicode as the default text class in 3.0", then you are, in that narrow
> >> sense, correct.
> >
> > Yes. When I speak of 'python' I am almost always speaking about the
> > interpreter.
>
>
>
> Which interpreter? PyPy, Numba, Nuitka, or perhaps even the newest in the
> family, Pyston?
>
>
>
> https://tech.dropbox.com/2014/04/introducing-pyston-an-upcoming-jit-based-
> python-implementation/
>
> Wait, all of those are compilers! Nuitka is a static compiler, the others
> are JIT compilers. Perhaps you meant Jython, IronPython, or Stackless?
> They're all interpreters.
>
> Ah, they're compilers too! Specifically, byte-code compilers. There's
> even a compile() built-in function.
>
>
> I'm not just being pedantic for the sake of being annoying[1],
I thought you were being statistic... Now who was the chap with the
new statistics module?
More information about the Python-list
mailing list