View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014037 | VTK | (No Category) | public | 2013-04-29 15:06 | 2013-07-15 05:24 | ||||
Reporter | Edson Tadeu M. Manoel | ||||||||
Assigned To | David Gobbi | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.10.1 | ||||||||
Target Version | Fixed in Version | 5.10.1 | |||||||
Summary | 0014037: 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@sci.utah.edu> To: vtkusers@vtk.org, vtk-developers@vtk.org Subject: [vtkusers] More on VTK 5.0.4: hashing vtk class objects broken? | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0030635) David Gobbi (developer) 2013-04-30 15:17 |
Attached a patch for VTK 5.10.1. |
(0031141) David Gobbi (developer) 2013-07-15 05:24 |
Commit 7e31cd5f should fix this problem, it was applied prior to the 5.10.1 release. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-04-29 15:06 | Edson Tadeu M. Manoel | New Issue | |
2013-04-30 15:17 | David Gobbi | File Added: 14037-PyVTKClass.txt | |
2013-04-30 15:17 | David Gobbi | Assigned To | => David Gobbi |
2013-04-30 15:17 | David Gobbi | Status | backlog => tabled |
2013-04-30 15:17 | David Gobbi | Note Added: 0030635 | |
2013-07-15 05:24 | David Gobbi | Note Added: 0031141 | |
2013-07-15 05:24 | David Gobbi | Status | tabled => closed |
2013-07-15 05:24 | David Gobbi | Resolution | open => fixed |
2013-07-15 05:24 | David Gobbi | Fixed in Version | => 5.10.1 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |