[wxPython] return type of wxFileSystem.OpenFile?

Shouldn't this be a wxFSFile?

from wxPython.wx import *
wxfs=wxFileSystem()
f=wxfs.OpenFile('/etc/passwd')
f

<C wxObject instance at _839c620_wxObject_p>

dir(f)

['this', 'thisown']

The same thing happens when I return a wxFSFile from the OpenFile method of a
FileSystemHandler, it seems to get cast to a wxObject so theres no way to get
the input stream.

Shouldn't this be a wxFSFile?

>>> from wxPython.wx import *
>>> wxfs=wxFileSystem()
>>> f=wxfs.OpenFile('/etc/passwd')
>>> f
<C wxObject instance at _839c620_wxObject_p>
>>> dir(f)
['this', 'thisown']

The same thing happens when I return a wxFSFile from the OpenFile method

of a

FileSystemHandler, it seems to get cast to a wxObject so theres no way to

get

the input stream.

Already fixed in CVS.

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!