Linked by Thom Holwerda on Fri 31st Aug 2007 19:17 UTC, submitted by ganges master
General Development Python 3.0, 'Python 3000', has reached its first public release. This version will be followed by beta releases throughout 2008, and the final release is scheduled for August 2008. "Python 3000 ('Py3k', and released as Python 3.0) is a new version of the language that is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features have finally been removed."
Thread beginning with comment 267808
To read all comments associated with this story, please click here.
My Hopes
by exigentsky on Sun 2nd Sep 2007 10:42 UTC
exigentsky
Member since:
2005-07-09

I hope Python 3.0 will have a more systematic and well-organized standard library. Unlike for Java, there seem to be no enforced naming conventions.

Moreover, I hope Python 3.0 will be COMPLETELY object oriented, like Ruby but with easier syntax. Currently, it feels patched on in too many ways and makes me reminiscent of C++. For example to open a file it's "f = open("text.txt")" but to close it it's "f.close()".

All of these inconsistencies and impurities needed to be eliminated. Although, Python in its current form is already one of my favorite languages.

RE: My Hopes
by unoengborg on Sun 2nd Sep 2007 12:09 in reply to "My Hopes"
unoengborg Member since:
2005-07-06

I hope Python 3.0 will have a more systematic and well-organized standard library. Unlike for Java, there seem to be no enforced naming conventions.

As far as I know, there are no enforced naming conventions in Java either. E.g. nothing in java prevents you from have lower case names for classes,
or name your packages any way you want.

The main difference is that when java was released, Sun tried to educate their new users on how java code should look, e.g. by supplying plenty of code examples.

Other than that letting the language enforce naming conventions is a good idea, and I really would like to see it in Python.

Reply Parent Bookmark Score: 2

RE: My Hopes
by rayiner on Sun 2nd Sep 2007 19:50 in reply to "My Hopes"
rayiner Member since:
2005-07-06

How the file thing an impurity? open is a constructor that returns a file object. File objects support close methods.

You could have something like:

f = file()
f.open(...)
f.close(...)

but that's just longer for no reason.

Constructors are inherently non-object methods, for obvious reasons!

Reply Parent Bookmark Score: 2