Slashdot Mirror


Python 2.4 Final Released

Eventh writes "The final release of Python 2.4 was just released. Python 2.4 is the result of almost 18 month's worth of work on top of Python 2.3. New features are, but not limited to, function decorators, generator expressions, a number of new module and more. Check out Andrew Kuchling's What's New In Python for a detailed view of some of the new features of Python 2.4. "

14 of 359 comments (clear)

  1. function decorators by koi88 · · Score: 4, Funny


    Finally I can make my functions so much prettier.

    --

    I don't need a signature.
  2. OK Trolls... by Anonymous Coward · · Score: 3, Funny

    If you can keep your "significant whitespace sucks" comments as children of this one, I'm sure everyone will get along just fine...

  3. heh by boschmorden · · Score: 5, Funny

    import overlords

    print "I for one welcome our new %s overloads.!" % overloads.get_random()

  4. department of redundancy dept. by Anonymous Coward · · Score: 4, Funny

    The python final release of python 2.4 is finally released for python users out there who wish to use the final release of python release final.

  5. Just in time for Xmas! by FooAtWFU · · Score: 3, Funny
    No! It's the Christmas season, so decorations are in right now! We should all get the new version of Python and decorate our source code to celebrate the spirit of holiday cheer!

    cue grumbling about how Christmas is overcommericalized+etc

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
  6. generator expressions? by deathazre · · Score: 3, Funny

    2,500KVA @ 0.8 PF? (note: some electrical background required to appreciate the above)

    --
    Karma: Negative (Mostly affected by dorm trolling)
  7. Pah by potcrackpot · · Score: 1, Funny
    Any language I can't do the following in, I'm not using.
    $a[0] = 7; $a[1] = 8;
    @b = (5 x @a); @c = ((5) x @a);
    print "@b @c";
    1. Re:Pah by Anonymous Coward · · Score: 5, Funny

      python -c 'print "55 5 5";'

  8. Re:aargh. by Anonymous Coward · · Score: 2, Funny

    and of course I managed to forget (again) that comments, being HTML formatted, ignore whitespace

    Can't say the same thing about Python. ;)

  9. Re:On Decimal and floating point by pkhuong · · Score: 3, Funny

    So, obviously, we should be using base (apply '* *n-first-primes*). How about 30 or 210? At least it's not an arbitrary base.

    --
    Try Corewar @ www.koth.org - rec.games.corewar
  10. Re:FP! by nkh · · Score: 2, Funny

    Grrr, the @ sign is the Ruby way to declare an instance member. This is a declaration of war I say!!! (next thing he'll do is to drop the indentation and add end at the end of all the blocks ;)

  11. cobol by hey · · Score: 2, Funny

    The Decimal type! Finaly Python is catching up to COBOL. Yeah.

    Actually, its useful. Every language should have it.

  12. Re:On Decimal and floating point by Frequency+Domain · · Score: 5, Funny
    So, obviously, we should be using base (apply '* *n-first-primes*). How about 30 or 210? At least it's not an arbitrary base.
    It doesn't matter which base you use. All your base are belong to us.
  13. Re:18 Months by ReelOddeeo · · Score: 4, Funny

    Linus' comments in the kernel's CodingStyle document are relevant too -- try to keep your functions so that you can read most of them on one screen. Python allows you to do this more often (I find) without resorting to strange brace positions.

    My functions do each fit on one screen.

    For any sufficiently large definition of screen.

    --

    Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!