Any news on when some libraries will be ported to Python 3.0?

  • Thread starter Just Another Victim of the Ambient Morality
  • Start date
J

Just Another Victim of the Ambient Morality

I'm excited to use Python 3.0 (foolishly, it's the only Python
interpreter I have on my system) but there are no libraries for it beyond
the kitchen sink. Personally, a good start would be Beautiful Soup and
Mechanize. I could also use DB.
Has there been any word on Beautiful Soup?
Has there been any word on Mechanize?
What about DB?
PIL would be nice, too, now that I think about it.
Anyway, I'd love to hear some news about any of these things in
particular or even anything in general. Am I the only one who's psyched for
this version of Python?
Thank you...
 
R

Roger Binns

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anyway, I'd love to hear some news about any of these things in
particular or even anything in general. Am I the only one who's psyched for
this version of Python?

I ported my APSW SQLite access module many months before Python 3.0 was
released (around the time of the first beta release). The same codebase
supports both Python 2 and 3 with very few conditionals and a few macros
to make some Python 2 C api look like the Python 3 C api (eg pretending
that the bytes type exists). Python 2.3 and up are supported on all
platforms.

It took longest to port my test suite over as I have 99.6% code coverage
which is achieved by the test suite abusing every corner of the language
and implementation. Fortunately a whole host of issues go away because
of no 8 bit strings in Python 3.

Other tools like Sphinx made my documentation so much better. That
actually psyches me the most since Python is all about ease of reading
and writing.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklkchwACgkQmOOfHg372QTgewCfXBrz0UGuUNDqxjVGEJOwfF4p
N6QAoJvZCZ1Vm9f6sN0P4bXb8o3I2pVj
=Lba+
-----END PGP SIGNATURE-----
 
P

pruebauno

    Anyway, I'd love to hear some news about any of these things in
particular or even anything in general.  Am I the only one who's psyched for
this version of Python?
    Thank you...

There are many people psyched about 3.0, but also many older farts
that have been using Python since 1.0 and have tons of code that
already works fine and feel a little bit like the mechanic that has to
switch his tools from imperial to metric; it is overall probably for
the better but still a pain to adapt everything to the new system.
This is open source so you either have to find a way to motivate the
authors of the libraries without pissing them off, or you will have to
be patient.
 
S

Stefan Behnel

Just said:
I'm excited to use Python 3.0 (foolishly, it's the only Python
interpreter I have on my system) but there are no libraries for it beyond
the kitchen sink. Personally, a good start would be Beautiful Soup and
Mechanize. I could also use DB.
Has there been any word on Beautiful Soup?

At least for new code, you can use lxml instead. Being written (mostly) in
Cython, it compiles and works in Py3.

Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top