A schema-less, ldap like, API and database
Go to file
Lukas Slebodnik 2a4d9797fa Workaround for wrong order of repr on s390x
The standard dictionary in Python 3.7 is ordered
But it can fail with python2

Simple reproducer:
for i in {1..10}; do PYTHONHASHSEED=random python2 -c 'import ldb; msg = ldb.Message(); msg.dn = ldb.Dn(ldb.Ldb(), "dc=foo29"); msg["dc"] = b"foo"; print(repr(msg)) '; done

======================================================================
FAIL: test_repr (__main__.LdbMsgTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/python/api.py", line 2322, in test_repr
    "Message({'dn': Dn('dc=foo29'), 'dc': MessageElement(['foo'])})")
AssertionError: "Message({'dc': MessageElement(['foo']), 'dn': Dn('dc=foo29')})" != "Message({'dn': Dn('dc=foo29'), 'dc': MessageElement(['foo'])})"
----------------------------------------------------------------------
Ran 1025 tests in 29.146s
FAILED (failures=1)
2019-01-18 18:13:20 +01:00
.gitignore New upstream release - 1.5.2 2019-01-18 16:31:43 +01:00
0001-Fix-detection-of-HAVE_LARGEFILE-with-python2.patch Fix detection of HAVE_LARGEFILE with python2 2019-01-18 16:32:01 +01:00
0002-ldb-Run-at-least-some-tests-on-32-bit-machines.patch Fix detection of HAVE_LARGEFILE with python2 2019-01-18 16:32:01 +01:00
0003-ldb-Out-ouf-bound-read-in-ldb_wildcard_compare.patch Fix out of bound in ldb_wildcard_compare 2019-01-18 16:32:01 +01:00
libldb.spec Workaround for wrong order of repr on s390x 2019-01-18 18:13:20 +01:00
sources New upstream release - 1.5.2 2019-01-18 16:31:43 +01:00