Chris Moore writes:
> When I run it, versions is Set(['2.4']) , and so
> trying to evaluate versions[0] causes TypeError: unindexable object.
>
> I guess the solution is to make requested_versions() always return a
> list, but I don't know.
that's correct. the fix is in 0.4.17 in incoming.
--
/usr/share/python/pyversions.py defines requested_versions(), which
returns either a list:
versions = [current]
or a set:
versions = vinfo['versions'].intersection(supported)
Then /usr/bin/pycentral calls that function, and expects it to return a list:
def set_default_runtime_from_version_info
2 matches
Mail list logo