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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.