Summary: | PyCObject API deprecated in 2.7, removed from 3.2 | ||
---|---|---|---|
Product: | pycairo | Reporter: | John (J5) Palmieri <johnp> |
Component: | general | Assignee: | Steve Chaplin <d74n5pohf9> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | use PyCapsule API instead of the deprecated PyCObject API |
Description
John (J5) Palmieri
2010-09-20 12:36:36 UTC
Created attachment 39029 [details] [review] use PyCapsule API instead of the deprecated PyCObject API * PyCObject is deprecated in 3.1 and removed in 3.2 A similar patch should be added to py2cairo but you will need conditionals since PyCapsule was added in 2.7. It isn't as big a deal for py2cairo since I don't think they are going to remove PyCObject even though they deprecated it. ping Changes have been applied to git for python 3 cairo (python 2 cairo does not need to the changes). I used another equivalent patch which more closely followed the example in the Python docs and uses an 'import_cairo' function. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.