Re: [python3 only] when use "--gtagslabel=pygements", gtags don't output (C language) function names into GTAGS
ishigane <[email protected]>
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <[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