Issue1953

classification
Title: lib2to3 missing
Type: Severity: normal
Components: Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: __import__(): Handling of non-dict globals argument incompatible with CPython
View: 1952
Superseder:
Assigned To: zyasoft Nosy List: Arfrever, fwierzbicki, zyasoft
Priority: normal Keywords:

Created on 2012-07-30.22:21:26 by Arfrever, last changed 2016-01-19.18:36:30 by zyasoft.

Messages
msg7341 (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) Date: 2012-07-30.22:21:25
$ jython2.7 -c 'import lib2to3'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named lib2to3
$

lib2to3/refactor.py contains 'pkg = __import__(fixer_pkg, [], [], ["*"])' line, which does not work with Jython due to issue #1952. I suggest to firstly fix that issue to avoid having to add patched Lib/lib2to3/refactor.py with [] changed to {} in that line.
msg8552 (view) Author: Jim Baker (zyasoft) Date: 2014-05-22.02:12:46
#1952 was fixed so we can revisit.
msg9790 (view) Author: Jim Baker (zyasoft) Date: 2015-04-10.02:23:36
Depends on fixing #527524
msg10617 (view) Author: Jim Baker (zyasoft) Date: 2016-01-11.04:07:33
#527524 was not relevant - that's just a data file. Now fixed as of https://hg.python.org/jython/rev/6aaa26de5b0b
History
Date User Action Args
2016-01-19 18:36:30zyasoftsetstatus: pending -> closed
2016-01-11 04:07:33zyasoftsetstatus: open -> pending
assignee: zyasoft
resolution: remind -> fixed
messages: + msg10617
2015-04-10 02:23:36zyasoftsetmessages: + msg9790
2014-05-22 02:12:58zyasoftsetdependencies: + __import__(): Handling of non-dict globals argument incompatible with CPython
2014-05-22 02:12:46zyasoftsetresolution: remind
messages: + msg8552
nosy: + zyasoft
2013-02-26 18:33:48fwierzbickisetpriority: normal
nosy: + fwierzbicki
2012-07-30 22:21:26Arfrevercreate