Skip to content

Merge pyldap + python-ldap #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 123 commits into from
Nov 24, 2017
Merged
Changes from 1 commit
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
e9aeb11
started 2.4.46
Nov 7, 2017
0829d52
slapdtest.SlapdObject.restart() just restarts slapd without cleaning …
Nov 7, 2017
d534a46
added explicit reconnect tests for ReconnectLDAPObject
Nov 7, 2017
cd3d83b
started 2.5.0 (instead of 2.4.46)
Nov 11, 2017
dab08df
Compability changes for pyasn1 0.3.x or newer
Nov 11, 2017
5bb74db
announce pyasn1* modules as Installation prerequisites, do not index …
Nov 11, 2017
2ffd389
bumped Doc/ version to 2.5
Nov 12, 2017
c0485fb
added requirements.txt, pyasn1>=0.3.7 and pyasn1_modules>=0.1.5 now m…
Nov 12, 2017
5913883
removed stand-alone module dsml
Nov 12, 2017
9de7162
module dsml was removed => docs obsolete
Nov 12, 2017
b8d12d6
remove stand-alone module dsml
Nov 12, 2017
a90c037
there will never be DSMLv2 support
Nov 12, 2017
c4a612a
class ldap.async.DSMLWriter removed too
Nov 12, 2017
7f76d8c
removed stand-alone module dsml
Nov 12, 2017
26c4443
removed unused code schema.c
Nov 12, 2017
af29cba
removed unused code schema.c
Nov 12, 2017
47bbbcf
removed schema.h and LDAPinit_schema
Nov 12, 2017
03e5e7a
removed schema.h and LDAPinit_schema
Nov 12, 2017
c0a269f
added distclean.sh
Nov 12, 2017
e01cd16
ldap.__version__, ldap.__author__ and ldap.__license__ now imported f…
Nov 12, 2017
c9390f8
removed schema.c and schema.h
Nov 12, 2017
79cc697
For 2.5.x mandatory prerequisites are: Python 2.7.x, pyasn1 0.3.7+ an…
Nov 12, 2017
0f8e8ba
corrected Test02_ReconnectLDAPObject.__doc__
Nov 12, 2017
072f5cf
Added safety assertion when importing _ldap: ldap.pkginfo.__version__…
Nov 12, 2017
65e9271
* The methods SSSResponseControl.decodeControlValue() and
Nov 12, 2017
58e1f26
added missing ldap.pkginfo in setup.py
Nov 12, 2017
6b1063e
prepare release 2.5.1
Nov 12, 2017
26c2564
started 2.5.2
Nov 16, 2017
6c65d12
Tests/ scripts do not directly call SlapdTestCase.setUpClass() anymore
Nov 16, 2017
20ca4e8
only use _ldap when setting LIBLDAP_API_INFO
Nov 18, 2017
9eff367
moved code from version.c to ldapmodule.c and removed version.[ch]
Nov 18, 2017
1721df1
removed obsolete back-ward compability constants from common.h
Nov 18, 2017
aedfdd1
Add _ldap.__version__
encukou Nov 22, 2017
98181de
build checks whether LDAP_API_VERSION is OpenLDAP 2.4.x
Nov 18, 2017
b1485d6
setup.py: added ldap.controls.vlv to py_modules
Nov 18, 2017
f9a910d
removed setting class attribute result_code in SSSResponseControl.dec…
Nov 18, 2017
25f8e6c
announce minor changes for 2.5.2 in Modules/ and Lib/
Nov 18, 2017
c25fe47
white-space cleaning
Nov 18, 2017
707744c
always use bytes() for UUID() constructor in ldap.syncrepl
Nov 18, 2017
5b35eef
C module _ldap now also gets __author__ and __license__ set from ldap…
Nov 18, 2017
082490a
stick to naming convention with LDAPinit_pkginfo()
Nov 18, 2017
8622217
removed almost all assert statements in ldap.schema.models, removed i…
Nov 18, 2017
db60bf1
removed all dependencies on modules string and types
Nov 18, 2017
839a5ec
fixed var usage when failing in test_bad_change_records()
Nov 18, 2017
45efe4f
use new-style classes in ldapurl
Nov 18, 2017
e61079a
added LDIF test with line-folded, base64-encoded attribute
Nov 18, 2017
270519e
module ldif now uses functions b64encode() and b64decode()
Nov 18, 2017
4904fbf
docstring cosmetics
Nov 18, 2017
00c2b9b
ldapurl: eliminated use of .has_key()
Nov 18, 2017
1e54be2
ldap.modlist: removed use of .has_key() and use set for attribute val…
Nov 18, 2017
92d40af
ldap.schema.tokenizer: removed use of .has_key()
Nov 18, 2017
b22750f
minor code-cleaning in ldif
Nov 18, 2017
591ec60
removed unneeded import for UserDict from ldap.schema.subentry
Nov 18, 2017
08ff14e
use IterableUserDict in ldap.cidict
Nov 18, 2017
0cd22c7
avoid use of .has_key()
Nov 18, 2017
f6586aa
ldap.cidict: more nits around .has_key()
Nov 18, 2017
efee495
ldap.cidict.__version__ imported from package
Nov 18, 2017
7791f95
ldap.schema: avoid .has_key(), NOT_HUMAN_READABLE_LDAP_SYNTAXES is no…
Nov 18, 2017
1514852
ldap.async: avoid using .has_key() and check result types against set…
Nov 18, 2017
3e0ef81
ldap.ldapobject: avoid using .has_key()
Nov 18, 2017
63fd67e
fixed ldap.schema.models.Entry.__contains__()
Nov 18, 2017
99912ea
ldap.modlist does not need ldap.cidict anymore
Nov 18, 2017
6b15de5
removed obsolete Python compability note from modules docstrings and …
Nov 18, 2017
eeb4daa
added Test02_ReconnectLDAPObject.test_reconnect_get_state
Nov 18, 2017
da2d43d
added Test02_ReconnectLDAPObject.test_reconnect_get_state
Nov 18, 2017
657ea2b
(re)numbered test classes and methods
Nov 18, 2017
be191b1
added Test01_ReconnectLDAPObject.test104_reconnect_restore()
Nov 18, 2017
cdd3a41
fixed pickling and restoring of ReconnectLDAPObject, avoid .has_key()…
Nov 18, 2017
8bded9c
ldap.cidict: avoid using .has_key()
Nov 18, 2017
6615bb1
modifyModlist(): avoid map(None, ...)
Nov 18, 2017
3597f2a
a bit of PEP-8 for ldap.logger
Nov 18, 2017
4944d99
more obsolete docstring content removed
Nov 19, 2017
e8eb3ee
a bit of PEP-8 for ldap.sasl
Nov 19, 2017
1c23992
docstring line-wrapping
Nov 19, 2017
9935cb8
added more tests for sub-module ldap.dn
Nov 19, 2017
3897251
ldap.dn: use Boolean for notypes
Nov 19, 2017
5bdd161
use example.com in examples and tests
Nov 19, 2017
4a9591c
removed class ldap.ldapobject.NonblockingLDAPObject
Nov 19, 2017
0a1e520
added ldap.dn tests with ldap.DN_FORMAT_LDAPV2
Nov 19, 2017
101d2e2
bumped Doc version to 2.5.2.0
Nov 19, 2017
a0e459f
ldap.resiter: PEP-8 and a small fix
Nov 19, 2017
5bf5f3c
some code cosmetics in ldap.syncrepl and also a small fix
Nov 19, 2017
2e88535
some cosmetics in syncrepl demo script, use logging
Nov 19, 2017
1c26ef1
raise ldap.PROTOCOL_ERROR if compare operation returned a wrong result
Nov 20, 2017
d40f13c
added tests for ldap.syncrepl
Nov 20, 2017
773d7fb
another LDAPObject test
Nov 20, 2017
d448fb9
assume C extension API for Python 2.7+
Nov 20, 2017
608cda5
prepare release 2.5.2
Nov 20, 2017
a603396
use single quotes
Nov 20, 2017
798cb61
use ..assertEqual() instead of .assertEquals() in t_ldap_syncrepl.py
Nov 20, 2017
3141ce0
removed CVS-Id in t_ldap_syncrepl.py
Nov 20, 2017
fc020d0
Merge Michael's work from the CVS repository on SourceForge
encukou Nov 22, 2017
aeeac96
Infra: Condense CHANGELOG from 2.5
Nov 23, 2017
83c7235
Infra: Add a .gitignore file
Nov 23, 2017
e73f8d8
py3: Use print as a function rather than statement
Nov 23, 2017
17365cc
py3: Use new syntax for exceptions
Nov 23, 2017
17b4000
py3: Use modern idioms with built-in types
Nov 23, 2017
587460a
py3: Add and use the ldap.compat module
Nov 23, 2017
03e8e7e
py3: Use "int" instead of "long" (in Python code)
Nov 23, 2017
b62c589
py3: Use absolute imports
Nov 23, 2017
8a54ae3
py3: Import StringIO from io
Nov 23, 2017
301939e
Tests: Expand cidict membership tests
Nov 23, 2017
f605dbf
Infra: Re-format README to Restructured Text, add REMADE.rst symlink
Nov 23, 2017
b2c2b5c
slapdtest: Open slapd config file in text mode when writing it
Nov 23, 2017
42f3e84
slapdtest: Automatically try some common locations for SCHEMADIR
Nov 23, 2017
d54539f
slapdtest: Ensure server is stopped when the process exits
Nov 23, 2017
e90c7d1
Tests: Replace deprecated "failIf" name by "assertFalse"
Nov 23, 2017
ffd3580
Infra: Remove PKG-INFO
Nov 23, 2017
39ad22e
Doc: Write about bytes/text management
Nov 23, 2017
b0c9081
Modules: Use alternate sasl.h location on macOS
Nov 23, 2017
2a30680
Modules: Eliminate getter & setter that reimplement the default
Nov 23, 2017
83763d9
Tests: Add a test for whoami after unbind
Nov 23, 2017
750fe8c
Modules: Use Python 3- compatible module initialization
Nov 24, 2017
fa35757
py3: Make the bytes/text distinction
Nov 24, 2017
388eafb
Modules: Python 3, alias PyInt to PyLong
Nov 24, 2017
4549352
Tests: Add a test suite for binds
Nov 24, 2017
2949e78
Tests: Add a test suite for edits
Nov 24, 2017
ebcdaae
Tests: Add a smoke-check for listall() and attribute_types()
Nov 24, 2017
eb06c59
Infra: Advertise and test Python 3 compatibility
Nov 24, 2017
9608ead
Infra: Set authorship to the python-ldap project
Nov 24, 2017
92283a2
Infra: Thank all pyldap contributors
Nov 24, 2017
3138957
Infra: Update CHANGELOG
encukou Nov 24, 2017
4c9c526
Merge Python 3 porting (and infrastructure improvements) from pyldap
encukou Nov 24, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Modules: Python 3, alias PyInt to PyLong
  • Loading branch information
pyldap contributors authored and encukou committed Nov 24, 2017
commit 388eafbf7d1d105385704b3f84ae76e15d8e788c
6 changes: 6 additions & 0 deletions Modules/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,11 @@
void LDAPadd_methods( PyObject*d, PyMethodDef*methods );
#define PyNone_Check(o) ((o) == Py_None)

/* Py2/3 compatibility */
#if PY_VERSION_HEX >= 0x03000000
/* In Python 3, alias PyInt to PyLong */
#define PyInt_FromLong PyLong_FromLong
#endif

#endif /* __h_common_ */