[Python-porting] Recommended Python version?
Jesus Cea
jcea at jcea.es
Tue Jun 15 19:36:10 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 15/06/10 13:59, Shane Kerr wrote:
> However, we have concerns because very few systems ship with Python 3
> "out of the box" still. We think that early adopters - and later all
> adopters - may be put off by this requirement.
>
> We're considering back-porting the project from 3.1 to 2.7, and then
> maintaining a version of the software that works with both the older 2.x
> and the newer 3.x series. Does this make any sense?
>
> Do you have any other recommendations regarding Python 2 vs. Python 3?
I don't write python 3 code yet, myself. So far, I use "2to3" to support
3.x.
That said, in your case I would say:
1. People living in the edge can compile Python 3.x themselves. In fact
they were compiling new BIND releases by hand until now. I do!.
Compiling python 3 is not mre complex than compiling current BIND 9.x.
2. People that don't want to mess with low level stuff is going to use
(talking about linux) a distribution. Any modern linux distribution
supports dependencies, so python 3 would be a dependency. The package
manager would download BIND 10 *AND* python 3.x, automatically. For
instance, in Ubuntu 10.04:
"""
jcea at ubuntu:~$ python3
The program 'python3' is currently not installed. You can install it by
typing:
sudo apt-get install python3-minimal
"""
So, under Ubuntu it would be pain-free.
3. For "old" systems with no dependency management, the sysadmin is not
going to install BIND 10 anyway. Not for a long time.
If you don't need any "unported" python library, I would recommend you
to stick to Python 3.
PS: Having a high profile project as BIND using Python 3 would be a
great push to python 3 mindshare.
- --
Jesus Cea Avion _/_/ _/_/_/ _/_/_/
jcea at jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/_/_/_/
. _/_/ _/_/ _/_/ _/_/ _/_/
"Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
"My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQCVAwUBTBe6Cplgi5GaxT1NAQIKGQQAhLB3UcQ7mcFupeGRDNRD9qa/OkAQxnkE
cBQivem5HSd5gRbndAz21NWWlXcxT51Q58AZZeDGqBkDSz5J/f7MCogpo5FjLxi6
T1JTW//vxf8xGPee+NgpHukaysXGkn+BkZVL3FZ7eOjh+1QPsoNj08TDHwKezli4
uwyQyyUdyDk=
=lvih
-----END PGP SIGNATURE-----
More information about the Python-porting
mailing list