gerritbot added a comment.
Change 223865 merged by jenkins-bot:
[FIX] open_compressed: Wrap BZ2File in Py 2.7
https://gerrit.wikimedia.org/r/223865
TASK DETAIL
https://phabricator.wikimedia.org/T101649
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To
gerritbot added a comment.
Change 223865 had a related patch set uploaded (by Merlijn van Deen):
[FIX] open_compressed: Wrap BZ2File in Py 2.7
https://gerrit.wikimedia.org/r/223865
TASK DETAIL
https://phabricator.wikimedia.org/T101649
EMAIL PREFERENCES
https://phabricator.wikimedia.org/set
gerritbot added a comment.
Change 216544 merged by jenkins-bot:
[FIX] open_compressed: Wrap BZ2File in Py 2.7
https://gerrit.wikimedia.org/r/216544
TASK DETAIL
https://phabricator.wikimedia.org/T101649
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To
XZise added a comment.
So hopefully Python's documentation can reflect that in the future so that
others know which versions they support: http://bugs.python.org/msg244962
TASK DETAIL
https://phabricator.wikimedia.org/T101649
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/pan
gerritbot added a subscriber: gerritbot.
gerritbot added a comment.
Change 216544 had a related patch set uploaded (by XZise):
[FIX] open_compressed: Wrap BZ2File in Py 2.7
https://gerrit.wikimedia.org/r/216544
TASK DETAIL
https://phabricator.wikimedia.org/T101649
EMAIL PREFERENCES
https:/
XZise added a comment.
Okay after installing Python 2.7, 2.7.1 and 2.7.3 I determined that only since
2.7.1 the with-statement is supported for BZ2File. For gzip it works since 2.7
(so there was never a bug with that). I can't find any bug or so for Python and
according to https://hg.python.org
XZise added a comment.
Interestingly did it work on the 2.7.10 builds:
-
https://ci.appveyor.com/project/jayvdb/pywikibot-core/build/1.0.appveyor-more-versions.261/job/nln0p059s53jn6fc#L2181
-
https://ci.appveyor.com/project/jayvdb/pywikibot-core/build/1.0.appveyor-more-versions.261/job/08ec2n1