Python 2.4 removes None data type?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jacek Generowicz

    #16
    Re: Python 2.4 removes None data type?

    Warren Postma <wp@tekran__NOS P7M.com> writes:
    [color=blue]
    > gaudetteje@gmai l.com wrote:
    >[color=green]
    > > I just read in the 'What's New in Python 2.4' document that the None
    > > data type was converted to a constant:
    > > http://python.org/doc/2.4/whatsnew/node15.html[/color]
    >
    > Implication: A long standing wart in Python now gone. Its time to
    > gloat. Are there any really evil glitches LEFT in Python?[/color]

    Python 2.4 (#1, Dec 1 2004, 14:23:15)
    [GCC 3.2.3] on linux2
    Type "help", "copyright" , "credits" or "license" for more information.[color=blue][color=green][color=darkred]
    >>> True, False = False, True
    >>> True[/color][/color][/color]
    False[color=blue][color=green][color=darkred]
    >>>[/color][/color][/color]

    Comment

    • Jarek Zgoda

      #17
      Re: Python 2.4 removes None data type?

      Jacek Generowicz napisa³(a):
      [color=blue][color=green]
      >>Implication : A long standing wart in Python now gone. Its time to
      >>gloat. Are there any really evil glitches LEFT in Python?[/color]
      >
      > Python 2.4 (#1, Dec 1 2004, 14:23:15)
      > [GCC 3.2.3] on linux2
      > Type "help", "copyright" , "credits" or "license" for more information.
      >[color=green][color=darkred]
      >>>>True, False = False, True
      >>>>True[/color][/color]
      >
      > False[/color]

      Ugh, today I've found this in some legacy code (yes, there *is* legacy
      code in Python). And I will not touch this module until such syntax
      become illegal.

      --
      Jarek Zgoda
      http://jpa.berlios.de/ | http://www.zgodowie.org/

      Comment

      Working...