Python versions

Russel Winder russel at russel.org.uk
Sun May 16 15:53:40 BST 2010


The bzr script starts

	#! /usr/bin/env python

but the code assumes Python 2, thus if a person has Python 3.1 as their
default Python, the bzr script fails -- there is a build-in assumption
that Python2.x, x in [4, 5, 6, 7] is the Python that python points at.
I guess there is no satisfactory way round this as different
distributions use different numbering schemes so it is not possible to
guarantee python2 and python3 exist?
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at russel.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100516/8a9294d6/attachment.pgp 


More information about the bazaar mailing list