On Wed, May 29, 2013 at 09:48:25PM +0200, Jakub Wilk wrote: > * Andreas Beckmann <[email protected]>, 2013-05-29, 21:22: > > Setting up python3-pywapi (0.3.2-1) ... > > File "/usr/lib/python3/dist-packages/pywapi.py", line 370 > > weather_data['geo']['lat'] = u'' > > ^ > > SyntaxError: invalid syntax > > u'' literals are valid only in Python 2 and in Python >= 3.3. > Running 2to3 over the code shows that's there are more 2isms: > xrange(), .has_key().
Worse case, as a patcher (and if you really need to fix this for 3.2),
you *can* add a dependency on six and replace u"foo" --> u("foo").
Cheers,
Paul
--
.''`. Paul Tagliamonte <[email protected]>
: :' : Proud Debian Developer
`. `'` 4096R / 8F04 9AD8 2C92 066C 7352 D28A 7B58 5B30 807C 2A87
`- http://people.debian.org/~paultag
signature.asc
Description: Digital signature
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

