Re: [python3 only] when use "--gtagslabel=pygements", gtags don't output (C language) function names into GTAGS
Shigio YAMAGUCHI <[email protected]>
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CADJmJYocQ1B10Y-PXoHfWNwaSg=3-KaEm86cUavCvq7MvGxEEg@mail.gmail.com> |
Hi, I have committed the patch (slightly modified version) to the repository. Thank you. Regards, Shigio 2017-03-12 21:57 GMT+09:00 ishigane <[email protected]>: > 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() > > + else: > > + path = p.stdout.readline().rstrip() > > I appreciate your kindness. > > Thanks, > Seigo Ishigane > -- Shigio YAMAGUCHI <[email protected]> PGP fingerprint: 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB (Currently in use) D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3 (Used until 2017/2) _______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global