Re: [Mesa-dev] [PATCH 05/26] python: Stop using the string module

2018-07-05 Thread Dylan Baker
Reviewed-by: Dylan Baker Quoting Mathieu Bridon (2018-07-05 06:17:36) > Most functions in the builtin string module also exist as methods of > string objects. > > Since the functions were removed from the string module in Python 3, > using the instance methods directly makes the code compatible

Re: [Mesa-dev] [PATCH 05/26] python: Stop using the string module

2018-07-05 Thread Eric Engestrom
On Thursday, 2018-07-05 15:17:36 +0200, Mathieu Bridon wrote: > Most functions in the builtin string module also exist as methods of > string objects. > > Since the functions were removed from the string module in Python 3, > using the instance methods directly makes the code compatible with both

[Mesa-dev] [PATCH 05/26] python: Stop using the string module

2018-07-05 Thread Mathieu Bridon
Most functions in the builtin string module also exist as methods of string objects. Since the functions were removed from the string module in Python 3, using the instance methods directly makes the code compatible with both Python 2 and Python 3. Signed-off-by: Mathieu Bridon --- src/mapi/gla