e4796d5ed8e08be7f3767e12753389b18a2ce9f0 |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove python wrapper sss_python_unicode_from_string
The function PyUnicode_FromString is available in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
a63b368a025a61edf41a3d5ce34f325b03295cf6 |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove python wrapper sss_python_set_check
The macro PySet_Check is defined in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
887edd6b7c53fde44eb9f9060e09db5cd981ba37 |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove python wrapper sss_python_set_add
The function PySet_Add is available in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
9eabaad5e0f3f20a6bcec0629342584c244a79bc |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove python wrapper sss_python_set_new
The function PySet_New is available in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067 |
|
13-Jul-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Fix python HBAC bindings for python <= 2.4
Several parts of the HBAC python bindings did not work with old Python
versions, such as the one shipped in RHEL5.
The changes include:
* a compatibility wrapper around python set object
* PyModule_AddIntMacro compat macro
* Py_ssize_t compat definition
* Do not use PyUnicode_FromFormat
* several function prototypes and structures used to have "char
arguments where they have "const char *" in recent versions.
This caused compilation warnings this patch mitigates by using
the discard_const hack on python 2.4 |