Re: [Mesa-dev] [PATCH 16/41] glapi: Use booleans in python code.

2016-04-19 Thread Ian Romanick
This patch is Reviewed-by: Ian Romanick On 03/31/2016 05:04 PM, Dylan Baker wrote: > All versions of python that are even worth considering for support > (2.6+) have booleans (actually, so do a lot of versions not worth > supporting), so don't use 1 and 0 for emulating them, which also helps > t

[Mesa-dev] [PATCH 16/41] glapi: Use booleans in python code.

2016-03-31 Thread Dylan Baker
All versions of python that are even worth considering for support (2.6+) have booleans (actually, so do a lot of versions not worth supporting), so don't use 1 and 0 for emulating them, which also helps to clarify the code, since returning an actual value of 1 or 0 happens). Signed-off-by: Dylan