Re: [Mesa-dev] [PATCH 10/41] glapi: Don't use string module in python modules

2016-04-19 Thread Dylan Baker
Quoting Ian Romanick (2016-04-19 14:55:19) > On 03/31/2016 05:04 PM, Dylan Baker wrote: > > Rather than using the string module, use the same method for the str > > instance (join, split, replace, etc). > > > > It's more forward looking, since it will make smoothing over the > > str/bytes/unicode

Re: [Mesa-dev] [PATCH 10/41] glapi: Don't use string module in python modules

2016-04-19 Thread Ian Romanick
On 03/31/2016 05:04 PM, Dylan Baker wrote: > Rather than using the string module, use the same method for the str > instance (join, split, replace, etc). > > It's more forward looking, since it will make smoothing over the > str/bytes/unicode problem between python 2 and python 3. It's also more

[Mesa-dev] [PATCH 10/41] glapi: Don't use string module in python modules

2016-03-31 Thread Dylan Baker
Rather than using the string module, use the same method for the str instance (join, split, replace, etc). It's more forward looking, since it will make smoothing over the str/bytes/unicode problem between python 2 and python 3. It's also more standard, using the string module isn't very common.