|
From: | Shigio YAMAGUCHI |
Subject: | Re: [python3 only] when use "--gtagslabel=pygements", gtags don't output (C language) function names into GTAGS |
Date: | Mon, 13 Mar 2017 14:58:06 +0900 |
Yes, this code is more safe than my patch on UNIX.
> Can I change it as follows?
>
> - path = p.stdout.readline().rstrip()
> + if sys.platform == 'win32' and sys.version_info >= (3,):
> + path = io.TextIOWrapper(p.stdout,
> encoding='latin1').readline().rstrip() I appreciate your kindness.
> + else:
> + path = p.stdout.readline().rstrip()
Thanks,
Seigo Ishigane
[Prev in Thread] | Current Thread | [Next in Thread] |