← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1596127] Re: Make xrange py3 compatible

 

** No longer affects: neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1596127

Title:
  Make  xrange py3 compatible

Status in DriverLog:
  New
Status in Fuel for OpenStack:
  New
Status in networking-calico:
  New
Status in nova-solver-scheduler:
  New
Status in StackTach.v3:
  New
Status in Swift Authentication:
  New
Status in Swift3:
  New
Status in Tricircle:
  New

Bug description:
  In py3 ,

  Xrange is renamed to range,
  so it needs to be modified to make it compatible.

  the code:

  print (xrange(5))

  Traceback (most recent call last):
    File "code", line 4, in <module>
      print (xrange(5))
  NameError: name 'xrange' is not defined

  
  https://github.com/openstack/swiftonhpss/blob/8127749f174589aca6b1e9f0497c4e65d3fc4d58/system_test/systemtest.py#L388

To manage notifications about this bug go to:
https://bugs.launchpad.net/driverlog/+bug/1596127/+subscriptions


References