python-3.x

Will everything in the standard library treat strings as unicode in Python 3.0?

I'm a little confused about how the standard library will behave now that Python (from 3.0) is unicode-based. Will modules such as CGI and urllib use unicode strings or will they use the new 'bytes' type and just provide encoded data? ...

BeautifulSoup's Python 3 compatibility

Does BeautifulSoup work with Python 3? If not, how soon will there be a port? Will there be a port at all? Google doesn't turn up anything to me (Maybe it's 'coz I'm looking for the wrong thing?) ...

Python 3 performance?

No doubt most people have read all about the various incompatible changes that are going into Python 3, so on a question of just performance, how does python 3 compare to python 2.x? ...

When will most libraries be Python 3 compliant?

Does anyone have an idea how long it will take before "almost all" widely used Python libraries work with Python 3.0? I am planning to stay on 2.X for a while because I don't want to start porting stuff over and then find that some library I already rely on or a new library I might start using doesn't work yet with py3k. My understandi...

How are you planning on handling the migration to Python 3?

I'm sure this is a subject that's on most python developers' minds considering that Python 3 is coming out soon. Some questions to get us going in the right direction: Will you have a python 2 and python 3 version to be maintained concurrently or will you simply have a python 3 version once it's finished? Have you already started or p...

What is the problem with reduce()?

There seems to be a lot of heated discussion on the net about the changes to the reduce() function in python 3.0 and how it should be removed. I am having a little difficulty understanding why this is the case; I find it quite reasonable to use it in a variety of cases. If the contempt was simply subjective, I cannot imagine that such a ...

IDLE does't start in python 3.0

If I have no connection to internet, does that mean I can't start IDLE (which comes with python 3.0)? ...

Are there any IDE's that support Python 3 syntax?

I recently saw an announcement and article outlining the release of the first Python 3.0 release candidate. I was wondering whether there were any commercial, free, open source etc. IDE's that support its syntax. ...

Tutorial for Python - Should I use 2.x or 3.0?

Python 3.0 is in beta with a final release coming shortly. Obviously it will take some significant time for general adoption and for it to eventually replace 2.x. I am writing a tutorial about certain aspects of programming Python. I'm wondering if I should do it in Python 2.x or 3.0? (not that the difference is huge) a 2.x tutorial ...

py3k RC-1: "LookupError: unknown encoding: uft-8"

I just installed the first release candidate of Python 3.0 and got this error after typing: >>> help('modules foo') [...] LookupError: unknown encoding: uft-8 Notice that it says uft-8 and not utf-8 Is this a py3k specific bug or a misconfiguration on my part? I do not have any other versions of Python installed on this French local...

Python 3.0 and language evolution

Python 3.0 breaks backwards compatibility with previous versions and splits the language into two paths (at least temporarily). Do you know of any other language that went through such a major design phase while in maturity? Also, do you believe that this is how programming languages should evolve or is the price to pay simply too high?...

Will Python 3.0's backwards-incompatibility affect adoption?

I visited Slashdot this morning to find out that Python 3.0 has been released. I know C# and Perl, but have wanted to learn Python for some time, especially after I saw its ease of use to create useful tools, not to mention its use in game scripting. My question is, how does the intentionally backwards-incompatible release of Python ...

Python 3.0 - dict methods return views - why?

dict methods dict.keys(), dict.items() and dict.values() return “views” instead of lists. http://docs.python.org/dev/3.0/whatsnew//3.0.html First of all how is a view different from an iterator? Secondly, what is the benefit of this change? Is it just for performance reasons? It doesn't seem intuitive to me, i.e., I'm ask...

What features of Python 3.0 will change your everyday coding?

Py3k just came out and has gobs of neat new stuff! I'm curious, what are SO pythonistas most excited about? What features are going to affect the way you write code on a daily basis, or have you been looking forward to? ...

Can I install python 3.x and 2.x on the same computer?

I'm running windows and the shell/os automatically runs python based on the registry settings when you run a program on the command line. Will this break if I install a 2.x and 3.x version of python on the same machine? I want to play with 3.0 while still be able to run 2.x scripts on the same machine... ...

Problem regarding 3.0's "hashlib" module

I've been working on getting a 2.5 module ported to 3.0, mostly for my own education, when I've gotten stuck. The class "Builder" has as its init: def __init__(self, **options): self._verifyOptions(options) self._options = options self._initDigest() self._initBuildNames() self._methods = [] But the error occurs a...

Python Version for a Newbie

I am extremely new to python, having started to learn it less than a month ago, but experienced with some other programming languages (primarily C# and SQL). But now that Python 3.0 has been released and is not backwards compatible, what would be the advantages and disadvantages of deciding to focus on Python 3.0 or Python 2.6? ...

Why doesn't Python 2.6 have set literals and comprehensions or dict comprehensions?

Python 2.6 was basically a stepping stone to make converting to Python 3 easier. A lot of the features destined for Python 3 were implemented in 2.6 if they didn't break backward compatibility with syntax and the class libs. Why weren't set literals ({1, 2, 3}), set comprehensions ({v for v in l}), or dict comprehensions ({k: v for k, ...

What Web Development frameworks support Python 3?

I was looking into playing around with Python 3.0. My plan was to build a cutesy web-app in Django, but I don't think that Django support Python 3 at this stage (the last release was before Python 3 came out). What Python web development frameworks out there currently support Python 3.0? ...

What are the Python 3000 compatible libraries?

I am a big fan of the Python programming language, and I am quite excited about the Python 3000 release (especially for the Unicode stuff). In order to try it out, I would like to write a script or two using Python-3000-compatible libraries. I looked around but I couldn't find any python-3000 compatible library: Numpy, Django, Python I...