summaryrefslogtreecommitdiff
path: root/lib/talloc/pytalloc_util.c
AgeCommit message (Collapse)AuthorFilesLines
2015-05-19pytalloc: Port to Python 3Petr Viktorin1-0/+4
- Use native string for repr - Use rich comparison Removes the deprecated tp_compare in favor of tp_richcompare. Disparate types cannot be compared (except for == and !=), and True or False objects are returned explicitly. - Use Py_TYPE instead of ob_type This changed to conform to C aliasing rules, see http://legacy.python.org/dev/peps/pep-3123/ - Don't provide CObject creation function A PyCapsule based replacement would be possible, but might not be necessary considering the function is not used much. - Use new-style module initialization Build changes: - Use ABI flag in the lib name and pkg-config template - Use the SAMBA_CHECK_PYTHON macro for finding Python Signed-off-by: Petr Viktorin <pviktori@redhat.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij1-11/+11
2010-12-08talloc: mark pytalloc-util functions as _PUBLIC_Stefan Metzmacher1-6/+6
metze
2010-12-08talloc: remove unused PyString_FromString_check_null() from pytalloc-utilStefan Metzmacher1-8/+0
metze
2010-12-01pytalloc: Make py_talloc_default_cmp private.Jelmer Vernooij1-13/+0
2010-12-01pytalloc: Make py_talloc_dealloc private.Jelmer Vernooij1-11/+0
2010-12-01pytalloc: Make py_talloc_default_repr private (now exposed by talloc.Object).Jelmer Vernooij1-12/+0
2010-12-01pytalloc: Expose PyTalloc_GetObjectTypeJelmer Vernooij1-2/+2
2010-12-01pytalloc: Add convenience function for checking if something is a tallocJelmer Vernooij1-0/+27
object.
2010-11-05talloc: rename pytalloc.c to pytalloc_util.cJelmer Vernooij1-0/+135