Re: Python 3 syntax error question

2011-06-26 Thread Terry Reedy
On 6/26/2011 11:28 AM, rzed wrote: steve+comp.lang.pyt...@pearwood.info wrote in Are you aware that you're trying to install a Python2 library under Python3? Thank you all for your responses. Yes, I am aware of the version difference, but not of all the implications of that. I will run this

Re: Python 3 syntax error question

2011-06-26 Thread Jerry Hill
On Sun, Jun 26, 2011 at 11:31 AM, Chris Angelico wrote: > Sure, but you don't _have_ to look at the diff. Just run it through > 2to3 and see how it runs. Never know, it might work direct out of the > box! This has been my experience, by the way. I've used a few small pure python libraries writte

Re: Python 3 syntax error question

2011-06-26 Thread Noah Hall
On Sun, Jun 26, 2011 at 4:28 PM, rzed wrote: > steve+comp.lang.pyt...@pearwood.info wrote in > news:4e074768$0$29982$c3e8da3$54964...@news.astraweb.com: > >> rzed wrote: >> >>> I've tried to install PySVG in a Python 3 setting, and I get a >>> few errors on the build. Most are easy to fix, but thi

Re: Python 3 syntax error question

2011-06-26 Thread Chris Angelico
On Mon, Jun 27, 2011 at 1:28 AM, rzed wrote: > As to 2to3, I have to say that: > > -def a(b, (c,d)): > +def a(b, xxx_todo_changeme): > +    (c,d) = xxx_todo_changeme > > ... is not terribly revealing if one is unaware of what about it > needs changing. I know, I know: RTFM Sure, but you don't

Re: Python 3 syntax error question

2011-06-26 Thread rzed
steve+comp.lang.pyt...@pearwood.info wrote in news:4e074768$0$29982$c3e8da3$54964...@news.astraweb.com: > rzed wrote: > >> I've tried to install PySVG in a Python 3 setting, and I get a >> few errors on the build. Most are easy to fix, but this one I >> can't explain or fix: >> >> >> Traceback

Re: Python 3 syntax error question

2011-06-26 Thread Noah Hall
On Sun, Jun 26, 2011 at 2:04 PM, rzed wrote: > I've tried to install PySVG in a Python 3 setting, and I get a few > errors on the build. Most are easy to fix, but this one I can't > explain or fix: > > > Traceback (most recent call last): >  File "", line 1, in >  File "builders.py", line 12, in

Re: Python 3 syntax error question

2011-06-26 Thread Peter Otten
rzed wrote: > I've tried to install PySVG in a Python 3 setting, and I get a few > errors on the build. Most are easy to fix, but this one I can't > explain or fix: > > > Traceback (most recent call last): > File "", line 1, in > File "builders.py", line 12, in > from pysvg.shape impor

Re: Python 3 syntax error question

2011-06-26 Thread steve+comp . lang . python
rzed wrote: > I've tried to install PySVG in a Python 3 setting, and I get a few > errors on the build. Most are easy to fix, but this one I can't > explain or fix: > > > Traceback (most recent call last): > File "", line 1, in > File "builders.py", line 12, in > from pysvg.shape impor

Python 3 syntax error question

2011-06-26 Thread rzed
I've tried to install PySVG in a Python 3 setting, and I get a few errors on the build. Most are easy to fix, but this one I can't explain or fix: Traceback (most recent call last): File "", line 1, in File "builders.py", line 12, in from pysvg.shape import * File "C:\Python32\lib\s