Bugs item #3077061, was opened at 2010-09-28 03:30
Message generated for change (Comment added) made by rupole
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077061&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pythonwin
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Robert Pollak (jondo)
Assigned to: Nobody/Anonymous (nobody)
Summary: win32ui.CreateFileDialog() should not need explicit "filter"
Initial Comment:
The PythonWin reference states that the "filter" argument may be None, which is its default value.
But: When I omit the argument, I get "TypeError: None is not a valid string in this context".
This is especially annoying because the method does not take keyword arguments, and "filter" is the last argument. So I have to fill out all arguments instead of simply calling CreateFileDialog(1).
I am using pywin32 build 214: "PythonWin 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32."
----------------------------------------------------------------------
>Comment By: Roger Upole (rupole)
Date: 2010-09-28 10:58
Message:
Fixed in win32dlg.cpp r1.14.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077061&group_id=78018
|