File "core\pywikibot\diff.py", line 68, in get_header a_rng = difflib._format_range_unified(*self.a_rng) AttributeError: 'module' object has no attribute '_format_range_unified' Pywikibot: [https] r-pywikibot-core.git (2e815ab, g4660, 2014/11/29, 17:39:00, ok) Release version: 2.0b3 httplib2 version: 0.9 cacerts: C:\Python27\lib\site-packages\httplib2\cacerts.txt certificate test: ok Python: 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)] unicode test: triggers problem #3081100
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[FIX] Diff: Support Python < 2.7.2 | pywikibot/core | master | +83 -3 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T72987 Python 2.6 issues (tracking) | |||
Resolved | XZise | T76276 diff library problem with 2.6 and 2.7.0 |
Event Timeline
Comment Actions
IMO we can simply reject 2.7[.0], and update
https://www.mediawiki.org/wiki/Manual:Pywikibot/Version_table
Comment Actions
Or we implement something like this https://github.com/jedie/django-reversion-compare/commit/f24648dec35f043d0d8d0b4310418c7c1f17a3bc because it also fails in 2.6.
Comment Actions
Change 176499 had a related patch set uploaded (by XZise):
[FIX] Diff: Support Python 2.6 and 2.7.0