FS#27467 - [python-feedparser] Broken python3 package

Attached to Project: Arch Linux
Opened by Mathieu Pasquet (mathieui) - Tuesday, 06 December 2011, 02:01 GMT
Last edited by Allan McRae (Allan) - Tuesday, 06 December 2011, 02:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
The python3 version does not seem to be python3 at all (u'str' all over the place, old-style raise, etc…).

Additional info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.2/site-packages/feedparser.py", line 291
SUPPORTED_VERSIONS = {'': u'unknown',
^
SyntaxError: invalid syntax

Steps to reproduce:
python3 -c 'import feedparser'
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 06 December 2011, 02:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-feedparser-5.1-3
Comment by Allan McRae (Allan) - Tuesday, 06 December 2011, 02:29 GMT
I call bullshit from the feedparser README file...
"If you're using Python 3, feedparser will automatically be updated by the 2to3 tool"

Manually running 2to3 fixes this.

Loading...