function convert_output_data fails if data contains set of tuples

Bug #1561224 reported by Bulat Gaifullin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
YAQL
New
Undecided
Unassigned

Bug Description

If input data contains set of tuples or set of frozen sets. and option 'yaql.convertSetsToLists' is not specified.
the method convert_output_data[1] fails with error: 'TypeError: unhashable type: 'list''
because tuple will be converted to list (if option 'yaql.convertTuplesToLists' is not specified as False)

[1] https://github.com/openstack/yaql/blob/1.1.0/yaql/language/utils.py#L92-L95

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.