News for hackers. Stuff that matters.
Re:What the f*ck python by toolslive on Thursday August 31, 2017 @12:53PM (#15141679)
Auch. Quite a few of these stem from the design mistake to allow cross-type equality tests combined with a hard headed effort to try to make it work.

  >>> 2 == 2L
  True
  >>> hex(2) == hex(2L) 
  False
  >>> type(2)
  <type 'int'>
  >>> type(2L)
  <type 'long'>
  >>>
Re:What the f*ck python by stephen82 on Friday September 01, 2017 @11:45AM (#15149456)
Try the same with Python 3.x, it's an invalid syntax thanks to 'L'.