Page MenuHomePhabricator

diff library problem with 2.6 and 2.7.0
Closed, ResolvedPublic

Description

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

Event Timeline

jayvdb raised the priority of this task from to Needs Triage.
jayvdb updated the task description. (Show Details)
jayvdb changed Security from none to None.
jayvdb subscribed.
jayvdb added a project: Pywikibot.
jayvdb updated the task description. (Show Details)

Change 176499 had a related patch set uploaded (by XZise):
[FIX] Diff: Support Python 2.6 and 2.7.0

https://gerrit.wikimedia.org/r/176499

Patch-For-Review

jayvdb renamed this task from diff library problem with 2.7 to diff library problem with 2.6 and 2.7.0.Nov 30 2014, 11:38 AM

Change 176499 merged by jenkins-bot:
[FIX] Diff: Support Python < 2.7.2

https://gerrit.wikimedia.org/r/176499

XZise claimed this task.
XZise removed a project: Patch-For-Review.