Re: meld python3?



I don't think 2to3 is going to get you terribly close to anything that
actually works.

AFAIK, meld code itself is largely going to work ok w/ 2to3, but the
interactions w/ gobject & gtk bindings probably require quite a bit of
updating to work properly in py3. (I haven't actually tried it w/
meld, but do know that another codebase I worked w/ had similar
issues.) I know Kai has mentioned that this is something he's looked
at before, but not sure the current status of it...you may want to
wait for him to chime in before you go too far w/ this.

On Tue, Apr 12, 2016 at 12:13 PM, JIA Pei <jp4work gmail com> wrote:

Hi, all:


I'm trying to rebuild meld with python3 ...The first step is to convert the
python2 codes into python3.
I'm using 2to3. There are still 2 error messages as follows:


RefactoringTool: There were 2 errors:
RefactoringTool: Can't parse meldapp.py: ParseError: bad input: type=22,
value=u'=', context=('', (216, 48))
RefactoringTool: Can't parse vcview.py: ParseError: bad input: type=22,
value=u'=', context=('', (75, 22))

Looks like:
file=self.output
and
file=sys.stderr
are incorrect in python3 ??? And it seems 2to3 does NOT know how to do the
conversion?


cheers
--

Pei JIA, Ph.D.

Email: jp4work gmail com
cell in Canada:    +1 778-863-5816
cell in China: +86 186-8244-3503

Welcome to Vision Open
http://www.visionopen.com

_______________________________________________
meld-list mailing list
meld-list gnome org
https://mail.gnome.org/mailman/listinfo/meld-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]