yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08396
[Bug 1268439] Re: range method is not same in py3.x and py2.x
in keystone, it have no this isuuse.
** Also affects: swift
Importance: Undecided
Status: New
** Changed in: swift
Status: New => In Progress
** Changed in: swift
Assignee: (unassigned) => lizheming (lizheming-li)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1268439
Title:
range method is not same in py3.x and py2.x
Status in OpenStack Telemetry (Ceilometer):
In Progress
Status in Cinder:
In Progress
Status in OpenStack Image Registry and Delivery Service (Glance):
In Progress
Status in Orchestration API (Heat):
In Progress
Status in OpenStack Identity (Keystone):
In Progress
Status in OpenStack Neutron (virtual network service):
In Progress
Status in OpenStack Compute (Nova):
In Progress
Status in Python client library for Ceilometer:
In Progress
Status in Python client library for heat:
In Progress
Status in Python client library for Keystone:
In Progress
Status in Python client library for Neutron:
Invalid
Status in Python client library for Swift:
New
Status in OpenStack Object Storage (Swift):
In Progress
Bug description:
in py3.x,range is xrange in py2.x.
in py3.x, if you want get a list,you must use:
list(range(value))
I review the code, find that many codes use range for loop, if used py3.x environment,
it will occure error.
so we must modify this issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1268439/+subscriptions
References