[vtk-developers] [VTK 0014037]: hash(vtk.vtkObject) raises 'AttributeError: mro' in Python 2.7

Mantis Bug Tracker mantis at public.kitware.com
Mon Apr 29 15:06:55 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=14037 
====================================================================== 
Reported By:                Edson Tadeu M. Manoel
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   14037
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2013-04-29 15:06 EDT
Last Modified:              2013-04-29 15:06 EDT
====================================================================== 
Summary:                    hash(vtk.vtkObject) raises 'AttributeError: mro' in
Python 2.7
Description: 
Because of this, the vtk classes can't be used as dict keys.


How to reproduce:

Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.

>>> import vtk
>>> hash(vtk.vtkObject)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: mro


See e-mail:

Date: Tue, 26 May 2009 23:19:02 -0600
From: Carlos Scheidegger <cscheid at sci.utah.edu>
To: vtkusers at vtk.org, vtk-developers at vtk.org
Subject: [vtkusers] More on VTK 5.0.4: hashing vtk class objects broken?

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-04-29 15:06 Edson Tadeu M. ManoelNew Issue                                 
  
======================================================================




More information about the vtk-developers mailing list