StandardError raises NameError in Python3

Bug #1595830 reported by Yafei Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Undecided
Unassigned
daisycloud-core
New
Undecided
Unassigned

Bug Description

It raises NameError: name 'StandardError' is not defined in Python3.

class TimeoutError(StandardError):
    pass

Traceback (most recent call last):
  File "Z:/test_py3.py", line 1, in <module>
    class TimeoutError(StandardError):
NameError: name 'StandardError' is not defined

Tags: python3
Yafei Yu (yu-yafei)
Changed in nova:
assignee: nobody → Bin Zhou (binzhou)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/333802

Changed in nova:
status: New → In Progress
Ji.Wei (jiwei)
Changed in daisycloud-core:
assignee: nobody → Ji.Wei (jiwei)
tags: added: python3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/333802
Reason: This review is > 6 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
Sean Dague (sdague) wrote :

There are no currently open reviews on this bug, changing
the status back to the previous state and unassigning. If
there are active reviews related to this bug, please include
links in comments.

Changed in nova:
status: In Progress → New
assignee: Bin Zhou (binzhou) → nobody
Revision history for this message
Sean Dague (sdague) wrote :

The patch for nova was for files that aren't used in python3

Changed in nova:
status: New → Won't Fix
Ji.Wei (jiwei)
Changed in daisycloud-core:
assignee: Ji.Wei (jiwei) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.