MantisBT - ITK | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0001753 | ITK | public | 2005-04-07 17:32 | 2010-11-04 22:48 | ||||||
Reporter | John Hunter | |||||||||
Assigned To | Luis Ibanez | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | ||||||||||
Target Version | Fixed in Version | |||||||||
Resolution Date | ||||||||||
Sprint | ||||||||||
Sprint Status | completed | |||||||||
Summary | 0001753: dir returns non-string in python | |||||||||
Description | In the python wrapper for ITK 2.0, calling dir on some objects returns a non string, eg >>> import InsightToolkit as itk >>> reader = itk.itkImageFileReaderF2_New() >>> dir(reader) ['AbortGenerateDataOff', 'AbortGenerateDataOn', ...snip... 'this', 'thisown', <class 'itkImageFileReader_2D.itkImageFileReaderF2_PointerPtr'>] Accoring to the python docs, dir should return a list of strings. The behavior above breaks the completer module rlcompleter in the python standaard library, which relies on this list containing only strings. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2007-09-19 10:23 | Luis Ibanez | Assigned To | Brad King => Luis Ibanez | |||||||
2007-09-19 10:23 | Luis Ibanez | Note Added: 0009117 | ||||||||
2007-09-21 15:57 | Luis Ibanez | Relationship added | related to 0002095 | |||||||
2010-11-04 22:48 | Cory W Quammen | Sprint Status | => completed | |||||||
2010-11-04 22:48 | Cory W Quammen | Note Added: 0022878 | ||||||||
2010-11-04 22:48 | Cory W Quammen | Status | assigned => closed | |||||||
2010-11-04 22:48 | Cory W Quammen | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|