Slashdot Mirror


Python 3.0 To Be Backwards Incompatible

Stony Stevenson writes "Organizations using Python will be affected in a major way by changes in store for the language over the course of the next twelve months, Linux.conf.au attendees were told this morning. The Python development community is working towards a new, backwards-incompatible version of the language, version 3.0, which is slated for release in early 2009. Anthony Baxter, the release manager for Python and a senior software engineer at Google Australia, said "We are going to break pretty much all the code. Pretty much every program will need changes." Baxter also added another tidbit for attendees, saying that Python accounts for around 15 percent of Google's code base."

20 of 438 comments (clear)

  1. Workaround... by fahrbot-bot · · Score: 5, Funny
    I think I have a Perl script that'll fix this...

    Just kidding Python fanbois :-)
    Chill, it's Friday.

    --
    It must have been something you assimilated. . . .
  2. Re:Just rename it. by Neil+Hodges · · Score: 5, Funny

    There are already other languages doing this. If you think naming closely-related languages the same thing is a kludge, what do you think of naming mostly-unrelated languages the same thing?

  3. Python is doomed by Arthur+B. · · Score: 5, Funny

    Look at C++, they broke backwards compatibility with C ( malloc casting for example ) and because of that it never became mainstream.

    --
    \u262D = \u5350
  4. Re:Whiners by Sciros · · Score: 3, Funny

    What color?

    --
    I like basketball!!1!
  5. Re:Another Shock Story by Schraegstrichpunkt · · Score: 2, Funny

    No, but that means that everyone planning to run non-Python3 code will have to maintain two parallel Python installations. With package management that's not so bad, but it still puts a bit of pain on distro maintainers.

    This is already done in the distros I've seen.

  6. It does have block statements. by Virak · · Score: 2, Funny

    They're just delimited with indentation instead of braces. And it's not the language that is stupid, it's you, because you are apparently not indenting your code at all, or you'd realize that indented code in other languages "Fs up" (you do realize you can say "fuck" on Slashdot, right? Watch: Fuck, fuck, fuck, fuck. It's pretty cool.) stuff just as much as indented Python code does. Any decent editor can automatically indent code for you in any language, and in this case Python is even easier because all it uses is the indentation, so you don't have to manually add additional delimiters in the appropriate places; just indent as usual. Copying and pasting code in any language requires you to reindent it just as much as with Python, lest it become an unreadable mess, and again, any decent editor provides the ability to adjust the indentation of whole blocks of text with ease. And if you find yourself utterly stumped by the challenge of generating properly indented code, you simply should not be programming.

  7. Re:Just rename it. by Speare · · Score: 4, Funny

    Python's named after the troupe Monty Python, not after the snake species. I don't think renaming it is a good idea, but suitable successors would be [Life of] Brian, [Fish Called] Wanda, Flying Circus, Holy Grail or perhaps start with sub-versions like Cleese, Chapman and Palin.

    Alternatively, pick another troupe or favorite comedy show: Fry and Laurie, Mr. Bean, Fawlty Towers or Red Dwarf. Or my favorite, which brings back in the snake species AND British comedy into circular pun, Blackadder.

    While talking about puns, snakes and coming full circle, I suggest Ouroboros.

    --
    [ .sig file not found ]
  8. Re:Just rename it. by Anonymous Coward · · Score: 3, Funny
    > Otherwise, we'll be left with Python 1, Python 2, Cobra 1, Cobra 1.1, Cobra 1.3, Rattlesnake A, Rattlesnake SP1, Diamondback etc etc

    "THAT'S IT! I have had it with these muthafuckin' snakes on the covers of these muthafuckin' O'Reilly books!"
    - Guido L. Jackson.

  9. Re:Whiners by 19thNervousBreakdown · · Score: 5, Funny

    It's almost like there's more than one person with an opinion on this!

    --
    <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
  10. Shocking! by smallpaul · · Score: 2, Funny

    Guido is following through on the plans he announced years ago! Let's all discuss it as if it were amazingly novel news!

  11. Re:Just rename it. by morgan_greywolf · · Score: 2, Funny

    If you think naming closely-related languages the same thing is a kludge, what do you think of naming mostly-unrelated languages the same thing? You mean like VB.Net?

  12. Re:Just rename it. by orclevegam · · Score: 2, Funny

    In addition spam and parrot will now be reserved keywords. Much like goto in Java these will cause compiler errors and output the error messages "but I don't like spam!" and "Well, he's...he's, ah...probably pining for the fjords." respectively.

    --
    Curiosity was framed, Ignorance killed the cat.
  13. Re:Just rename it. by Tritoch · · Score: 5, Funny

    You could call it "Asp". Oh, wait...

  14. Re:Smartass C programmer says... by Valdrax · · Score: 2, Funny

    Python already has C-style string formatting in the form of the % operator.

    i.e. print "%03d %03d" % ( num1, num2 )
    or, using a hash, print "%(foo)03d %(bar)03d" % { 'foo': num1, 'bar': num2, 'baz': num3 }

    So, what exactly is Python missing here, oh wise and mighty smartass C programmer?

    --
    If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
  15. If you develop in python by Anonymous Coward · · Score: 2, Funny

    and you use && instead of 'and', please try to forget your C background.

  16. Re:Just rename it. by Ilan+Volow · · Score: 2, Funny

    Supervisor: 'Did you finish debugging your python scripts that update the database?'.

    Me: 'Yeah. They're ready to go, and they're all Fawlty now'.

    I think we better stick with "Python". Or "Smeghead".

    --
    Ergonomica Auctorita Illico!
  17. Re:How did that Cripple PHP by raehl · · Score: 2, Funny

    PHP 5 was a MAJOR over-haul, biggest since PHP 4.

    One can only guess when the next major overhaul will be. Who knows, it might even be PHP 6.

  18. Re:It's a race by BOFHelsinki · · Score: 5, Funny

    15% of the google codebase consitutes a "small user base"? Why, yes. Google is a big user but still just one user. So if 15% of Google uses it, it's only 0.15 users. That's a very small user base. Even Mono has a larger user base (Miguel).

  19. Re:It's a race by Intron · · Score: 3, Funny

    You could just ask python:

    >>>"python" > "perl"
    True

    Whereas if you ask perl:
    perl -e 'print "python" > "perl"'

    It remains silent, see?

    --
    Intron: the portion of DNA which expresses nothing useful.
  20. Keyword replacement by gokeln · · Score: 2, Funny

    That's funny. My understanding is that the mods are much more serious than this article lets on. From what I heard they're replacing all the keywords and indentation with some combination of parenthesis, lambda, car and cdr. The language will be SO much improved!

    --

    There's no time to stop for gas, we're already late.