Skip to content

Incompatibility with python3 in String validator. #244

@martin-re

Description

@martin-re
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> from pyArango.validation import String
>>> from pyArango.theExceptions import ValidationError
>>> 
>>> try:
...     String().validate(object)
... except ValidationError:
...     pass
... except Exception as e:
...     print(e)
... 
name 'unicode' is not defined

This issue is sub-problem of #215.

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