hasattr() function behavior differences between Py27 and Py34

Bug #1552927 reported by Sean M. Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.versionedobjects
Expired
Undecided
Unassigned

Bug Description

Uncovered by https://review.openstack.org/#/c/284209/

http://paste.openstack.org/show/489247/

It appears that in Python 2.7 - calling hasattr on the Network object - which may or may not have an MTU attribute passes, while on Python 3.4 it fails.

Revision history for this message
Ben Nemec (bnemec) wrote :

It looks like the patch was abandoned. Can anybody confirm if this still exists?

Changed in oslo.versionedobjects:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for oslo.versionedobjects because there has been no activity for 60 days.]

Changed in oslo.versionedobjects:
status: Incomplete → Expired
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.