[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] What about python 3?



René Dudfield wrote:
Hi again,

the main problem with python 3 with regards to pygame is that most
games do not have tests written for them.  Having tests is required in
the python 3 transition plan.

But what it Python 3.0 breaks the unit tests? :-)

It's a bit hard to write unit tests for games, and also lots of people
write games for fun, so avoid writing boring bits - like tests.

Hopefully the conversion tool (python2.6->python 3.0) works really
well - otherwise I think python 2.x is going to stay around for ages.
There's plenty of time for them to make it good before python 3 is
released though.

I don't think it'll be fun having two sets of documentation for 2.x
and 3.x pythons, and having two sets of everything else too.  It's
going to create a fair bit of confusion to start with.

There are two reasons this is not be a concern. First, Pygame's Python level api won't change. Just some coding examples will need revising. Second, with Python 3.0 fully established I assume work on 2.x packages will freeze except for the odd bug fix. So any future document changes will be at the 3 level only.

It's kind of really annoying - but probably a good thing to try and
get all these incompatible changes done in one go.



On 9/1/07, Lamonte Harris <pyth0nc0d3r@xxxxxxxxx> wrote:
What do we do for python 3 :S.  When will there be information on pygame and
the new Python 3?

Thanks.



--
Lenard Lindstrom
<len-l@xxxxxxxxx>