Status: Accepted
Owner: ----
Labels: Type-Defect Priority-High Target-2.2

New issue 288 by pekka.klarck: It is not possible to assign all Python and Java iterables to list variables
http://code.google.com/p/robotframework/issues/detail?id=288

When a value returned by a keyword is assigned to a list variable, value's
type is checked to be list, tuple or array. This makes it impossible to use
other Python or Java iterables.

A better approach is just converting the value to a list inside try/except.
We probably want to special case string, though, and need to test that all
relevant Java iterables (List, Vector, ...) can actually be converted to
lists using just list method.

This issue requires a bit too much work to be included in 2.1, but we can
fix it already in (possible) 2.1.1.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to