Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

LOL FIOC

Name: Anonymous 2011-06-04 13:01

>>> l = [[0]] * 2
>>> l
[[0], [0]]
>>> l[0][0] = 1
>>> l
[[1], [1]]

Name: Anonymous 2011-06-04 13:02

LOL RETARD
>>1 l = [[0]] * 2
>>1 l
[[0], [0]]
>>1 l[0][0] = 1
>>1 l
[[1], [1]]

Name: Anonymous 2011-06-04 13:06

So like the price for a pair of control top pantyhose at safeway is now $4.95.

Name: Anonymous 2011-06-04 13:15

MORE LIKE
THIS COMMENT ENHANCES THE UTILITY OF THIS THREAD BY AT LEAST 20%
AMIRITE LOLLLLLLLLLLLLLLLLLLLLLLLZzz!!11oNE!!1ONE1!

Name: Anonymous 2011-06-04 13:19

>>1
No, it's ``LOL MUTABLE DATA STRUCTURES''.

Name: Anonymous 2011-06-04 14:13

>>1
Right, so don't do that.
>>> a = [[] for x in xrange(5)]
>>> a[0].append(37)
>>> a
[[37], [], [], [], []]

For more shooting yourself in the foot try:
>>> mything = 99
>>> mythings = xrange(17)
>>> for mything in mythings:
...     pass
...
>>> mything

Name: Anonymous 2011-06-04 14:45

It's because of the laziness. l[0][0] = 1 changes the definition of l to [[1]] * 2 (because l[0][0] is the innermost 0 which is changed to 1).

Name: Anonymous 2011-06-04 15:05

The little jewish girls are after me.

Name: Anonymous 2011-06-04 15:14

>>7
What the fuck, just what the fuck. What. The. Fuck. I really hope IHBT.

Name: Anonymous 2011-06-04 15:30

>>7
Have you ever considered ritual suicide?

Name: Anonymous 2011-06-04 16:22

>>9-10
_)

Name: Anonymous 2011-06-04 16:46

python is the easiest language to learn and has very clean and sensible semantics

Name: Anonymous 2011-06-04 16:49

>>12
Then tell us again why the language has a half baked implementation of anonymous functions. Or why the language has an equally brain dead garbage collector.

Name: Anonymous 2011-06-04 16:49

I could be wrong, but also, I don't think regex is native to python like what it is in perl.

Name: Anonymous 2011-06-04 16:51

>>13
What about the GIL? The lack of proper tail calls?

Name: Anonymous 2011-06-04 16:58

>>15
Don't even get me started on the GIL.

Name: Anonymous 2011-06-04 18:43

>>15-16
Speaking of GIL, I chuckled when I read this:

http://leto.net/perl/2011/05/what-is-m0.html
Next we turned to concurrency, including how we would emulate the various concurrency models of the languages we want to support, such as Python's Global Interpreter Lock (GIL). We decided that M0 will totally ignorant of concurrency concepts, ...

Name: Anonymous 2011-06-04 18:49

>>17
Are you implying that Python's GIL is a defect? Impossible! Python is the most well designed language eRuntimeError: maximum recursion depth exceeded

Name: Anonymous 2011-06-04 19:14

>>18
What do you expect from a herd of jews?

Name: Anonymous 2011-06-04 19:19

>>19
Fuck off.

Name: Anonymous 2011-06-06 11:30

Name: Anonymous 2011-06-06 17:35

bampu

Name: Anonymous 2011-06-06 17:47


Don't change these.
Name: Email:
Entire Thread Thread List