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

Pages: 1-

THE FORCED BACKWARD INCOMPATIBILITY

Name: Anonymous 2009-05-27 16:00

Do you see FIOC 3000 ever taking off as the de-facto FIOC standard, or we'll have around 2.x forever? I know that there's code that won't be updated, it's a shame having to maintain the older branch for ages to come. Shame on you, Guido.

It also worries me that not much stuff is getting updated at all, and even now stuff popping out right now is written for 2.x.

Name: Anonymous 2009-05-27 16:13

Unlikely.

Name: Anonymous 2009-05-27 16:14

>>1
Much of what was removed/added to 2.x was so obvious that I knew that it was wrong before I even got myself to learn Python properly, just by looking at Python programs.
Guido may be a good VM engineer, but he is verily a shitty language designer.  And a retard.

Name: Anonymous 2009-05-27 17:04

>>3
Guido may be a good VM engineer
Aren't there several better implementations?

Name: Anonymous 2009-05-27 17:22

what's the point of 3.0?  OCD?  Harder for beginners?

Name: Anonymous 2009-05-27 17:31

>>5
Maybe better Unicode supoort, dunno.

Name: Anonymous 2009-05-27 17:37

>>4
ruby

Name: Anonymous 2009-05-27 18:54

>>4
Name them

Name: Anonymous 2009-05-27 19:11

>>8
stackless python, ironpython, etc.

Name: Anonymous 2009-05-27 19:33

Some people, when confronted with a problem, think, "I know, I'll break backwards compatibility." Now they have two problems.

Name: Anonymous 2009-05-27 19:36

>>9
No, I mean, not other implementations, but better implementations.

Name: Anonymous 2009-05-27 20:27

>>11
stackless and iron are better.
unless you think portability and speed are bad things, that is.

Name: Anonymous 2009-05-27 20:29

>>11
pypy will be, eventually

Name: Anonymous 2009-05-27 20:37

>>13
Let's be honest, here: unladen-swallow is much more likely to produce something that's actually less shit than cpython. pypy is a pipe dream and everyone knows it.

Name: Anonymous 2009-05-28 0:52

>>14
Which brings us to our next discussion point; LLVM: awesome or awesome?

Name: Anonymous 2009-05-28 0:54

>>14
pypy
Pronounced pay-pay

Name: Anonymous 2009-05-28 0:55

>>15
Ladies Love Virtual Machines

Name: Anonymous 2009-05-28 11:27

Don't think anyone will migrate to Python9000 any time soon. Especially Linux platforms often have a shitload of Python applications/libraries/dependencies. While some will probably upgrade in time (i.e. next millenium), some won't, so we are stuck with the old applications or have to move to something new... which obviously won't happen, since NEW THINGS TEND TO BREAK SHIT THAT WAS PREVIOUSLY WORKING.

Besides, print() is just fucking gay.

Name: Anonymous 2009-05-28 11:36

>>1-18
+2 (Pleasured)

Name: Anonymous 2009-05-28 13:19

>>3
I always thought that Python's strength was its design, not its implementation. By that, you can conclude that Guido sucks at it all.

>>18
Buy why the fuck was it necessary to fork? It's going to be a maintenance nightmare. Was there any actual reason for it? The good way to do it is to have a single implementation, and pass a parameter to activate the new mode. Maybe have also a compile-time parameter to trim down the interpreter if you aren't going to use the legacy mode.

Name: Anonymous 2009-05-28 13:25

>>20
Python was arguably evolved rather than designed. Which is why the fork is necessary to fix some of the warts.

Name: Anonymous 2009-05-28 13:33

>>21
Do you mean it's necessary to fork the implementation (CPython) to support both dialects of the language?

I don't think my browser has two separate rendering engines¹. Likewise, my C and C++ supporting compiler doesn't have a large number of frontends.
________________
¹ I do not use Microsoft Internet Explorer 8

Name: Anonymous 2009-05-28 13:40

>>22
The two are substantially different in some areas and I don't think having a separate mode would have been feasible(which is not to say I wouldn't have preferred it). I don't see it as nearly as big of a deal as you seem to

Name: Anonymous 2009-05-28 13:52

>>20
It's not a fork, it's a branch. They already have a maintainance branch for each released version anyway.

2.7 got a lot of the new features, they can be enabled with the import statement. Changes who should to go to all active versions are done to the trunk and then merged (This gets easier with the migration to a DVCS.) There'll often be a few necessary changes, but it's not like it's a complete rewrite, a lot of patches will apply just fine to both.

There's currently no plans to have /usr/bin/python go to python3, so it shouldn't be a problem for a distribution to ship both at the same time.

If you're maintaining an old project, or starting a new one that needs a library that isn't available for python 3 yet, it's perfectly fine to continue to use 2.x.
If you are doing something new without many dependencies, or are using Python in a teaching environment (Hi, Hal!), please consider taking advantage of Python 3.x's cleaner syntax and standard library API, that avoids some surprises caused by unfortunate decisions that came about during the evolution of the Python language.

If you are the author of a Python library that needs to be compatible with 2.x., it is recommended that you keep it in 2.x, but do the necessary changes to get a good conversion with the automatic 2to3 code converter. This should let you to do releases for both versions while keeping a single code base.

Name: Anonymous 2009-05-28 14:06

Did Python3000 fix the undecidable NP-complete scoping?

Name: Anonymous 2009-05-28 14:07

>>24
Did you just copypasta this from some Python9000 propaganda sheet?

Name: Anonymous 2009-05-28 14:13

>>25
Don't talk like that, you sound like a GCC developer.

Name: Anonymous 2009-05-28 14:27

>>26
We can see your bland and uninspired application of a tired old meme just fine, thank you, you don't have to bold it for us.

Name: Anonymous 2009-05-28 14:40

>>24
please consider taking advantage of Python 3.x's cleaner syntax and standard library API

I fail to see any change other then turning print 'hello','world',1,2,3 to print('hello '+'world '+str(1)+str(2)+str(3))

Name: Anonymous 2009-05-28 15:06

>>29
Then you never looked, or you'd have noticed the new abstract base class system, the new IO module, the forced unicodification of strings, making map, range, dict.keys etc. iterators or views, fixing the exception syntax (the old one tripped up just about everyone), / not truncating the result based on type, etc., etc.
You can read more at http://docs.python.org/3.0/whatsnew/3.0.html

(print('hello', 'world', 1, 2, 3), btw. You'd make a much more effective troll if you didn't just go with whatever you heard from reddit.)

Name: Anonymous 2009-05-28 15:07

>>29
Enjoy!!

Name: Anonymous 2009-05-28 19:21

This is the Python language designer.
http://img38.imageshack.us/img38/2341/guido.gif

Name: Anonymous 2011-02-03 1:42

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