diff options
author | Paul Berry <[email protected]> | 2012-10-10 11:01:35 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-10-16 12:03:55 -0700 |
commit | 7dc052b12bb8341a57151e1f3cefb8f9d15d5192 (patch) | |
tree | 69507205e257e65566425e7e6c83edd14775ec09 /docs/relnotes-7.8.1.html | |
parent | 41954107c00d68869f0316126908e873662b4c6d (diff) |
glapi: use new-style Python classes.
An unfortunate quirk of Python 2 is that there are two types of
classes: "classic" classes (which are backward compatible with some
unfortunate design decisions made early in Python's history), and
"new-style" classes. Classic classes have a number of limitations
(for example they don't support super()) and are unavailable in Python
3. There's really no reason to use classic classes, except in
unmaintained legacy code. For more information see
http://www.python.org/download/releases/2.2.3/descrintro/.
This patch upgrades the Python code in src/mapi/glapi/gen to use
exclusively new-style classes.
Tested-by: Matt Turner <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'docs/relnotes-7.8.1.html')
0 files changed, 0 insertions, 0 deletions