yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08149
[Bug 1268439] [NEW] range method is not same in py3.x and py2.x
Public bug reported:
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.
** Affects: ceilometer
Importance: Undecided
Assignee: lizheming (lizheming-li)
Status: New
** Affects: cinder
Importance: Undecided
Assignee: lizheming (lizheming-li)
Status: New
** Affects: glance
Importance: Undecided
Assignee: lizheming (lizheming-li)
Status: New
** Affects: keystone
Importance: Undecided
Assignee: lizheming (lizheming-li)
Status: New
** Affects: neutron
Importance: Undecided
Assignee: lizheming (lizheming-li)
Status: New
** Affects: nova
Importance: Undecided
Assignee: lizheming (lizheming-li)
Status: New
** Also affects: nova
Importance: Undecided
Status: New
** Also affects: ceilometer
Importance: Undecided
Status: New
** Also affects: neutron
Importance: Undecided
Status: New
** Also affects: keystone
Importance: Undecided
Status: New
** Also affects: cinder
Importance: Undecided
Status: New
** Changed in: glance
Assignee: (unassigned) => lizheming (lizheming-li)
** Changed in: nova
Assignee: (unassigned) => lizheming (lizheming-li)
** Changed in: ceilometer
Assignee: (unassigned) => lizheming (lizheming-li)
** Changed in: cinder
Assignee: (unassigned) => lizheming (lizheming-li)
** Changed in: keystone
Assignee: (unassigned) => lizheming (lizheming-li)
** Changed in: neutron
Assignee: (unassigned) => lizheming (lizheming-li)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1268439
Title:
range method is not same in py3.x and py2.x
Status in OpenStack Telemetry (Ceilometer):
New
Status in Cinder:
New
Status in OpenStack Image Registry and Delivery Service (Glance):
New
Status in OpenStack Identity (Keystone):
New
Status in OpenStack Neutron (virtual network service):
New
Status in OpenStack Compute (Nova):
New
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
Follow ups
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Tim Burke, 2017-07-21
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: OpenStack Infra, 2016-01-27
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: MD NADEEM, 2016-01-21
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Gorka Eguileor, 2016-01-18
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Steve Martinelli, 2015-12-20
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: John Dickinson, 2015-07-16
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Sean Dague, 2015-01-29
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Morgan Fainberg, 2014-09-26
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Thierry Carrez, 2014-06-12
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Thierry Carrez, 2014-04-01
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Thierry Carrez, 2014-03-31
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Thierry Carrez, 2014-03-05
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Steve Baker, 2014-02-18
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: lizheming, 2014-01-20
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: lizheming, 2014-01-19
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: Lee Li, 2014-01-18
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: ZhiQiang Fan, 2014-01-18
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: ZhiQiang Fan, 2014-01-18
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: ZhiQiang Fan, 2014-01-18
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: ZhiQiang Fan, 2014-01-18
-
[Bug 1268439] Re: range method is not same in py3.x and py2.x
From: lizheming, 2014-01-17
-
[Bug 1268439] [NEW] range method is not same in py3.x and py2.x
From: lizheming, 2014-01-13
References