GitHub user aboudreault opened a pull request:

    https://github.com/apache/tinkerpop/pull/550

    Fix the serializers lookup to handle the type first, then the class 
inheritance

    A good example of the need for this fix is with these types:
    * datetime.date
    * datetime.datetime
    
    Since a datetime is a subclass of a date and that a dict is unordered... it 
might happen that the wrong serializer is selected. (since 
isinstance(my_datetime_instance, datetime.date) == True)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aboudreault/tinkerpop fix-serializer-lookup

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/550.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #550
    
----
commit a96330b68821755574be145046dbe149be736684
Author: Alan Boudreault <[email protected]>
Date:   2017-01-27T13:43:35Z

    Fix the serializers lookup to handle the type first, then the class 
inheritance.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to