Skip to content

NameError: name 'basestring' is not defined #255

Closed
@cavazquez

Description

@cavazquez

If you found a bug in python-ldap, or would request a new feature,
this is the place to let us know.

Please describe the issue and your environment here.


Issue description:

when I create SSSRequestControl(ordering_rules=['-uidNumber'] its fail because "basestring" in init method not exists in python3.

tips: set basestring = str

Steps to reproduce:

Operating system:

Python version: 3.7

python-ldap version: 3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions