[Distutils] [venv] distribute-0.6.35 fails on python 3.3?

Tres Seaver tseaver at palladion.com
Tue Feb 26 19:17:04 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/26/2013 04:20 AM, Marius Gedminas wrote:
> On Tue, Feb 26, 2013 at 09:17:29AM +0000, Paul Moore wrote:
>> On 26 February 2013 06:21, Chris Withers <chris at simplistix.co.uk>
>> wrote:
>>> File "./setuptools/dist.py", line 103 except ValueError, e: ^ 
>>> SyntaxError: invalid syntax
>>> 
>>> Can other people reproduce this? When was that Python 3
>>> incompatible except clause introduced?
>> 
>> I quite often see this, it's usually because something that pip is 
>> doing (building the metadata/dependency stuff, the actual code
>> build is fine) is failing to run 2to3.
>> 
>> I can't offer anything in the way of a fix, I'm afraid...
> 
> How hard would it be to rewrite distribute to use a common language 
> subset instead of relying on 2to3?

The sheer number of developer hours saved by not waiting for the 2to3 run
every time a Py3k virtualenv is created should dwarf whatever effort is
involve.  Any volunteers to "take on for the team"?


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEs/CAACgkQ+gerLs4ltQ6oEgCcDobQyI2TbW5Ev0NDtxAOqSlJ
GBwAn3F4NMJ9nzY1/xmkxcvJdW8hceYp
=Bbmr
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list