[issue1763] Winpath module - easy access to Windows directories like My Documents

Christian Heimes report at bugs.python.org
Fri Jan 18 09:07:32 CET 2008


Christian Heimes added the comment:

Mark Hammond wrote:
> I'm not sure why the approach of "load-em-all" is being taken. 
> Interestingly, SHGetFolderPathW is listed as deprecated, so I doubt that
> list will grow too much, but the implementation as specified prevents
> the user from using other facilities available via the API (ie, what if
> they *do* want it verified?  What if they want to specify
> CSIDL_FLAG_CREATE?)
> 
> That said though, I don't object to the patch as it stands, and agree it
> will meet the requirements of the majority of people who need a "known
> path" on Windows.

Indeed, the patch targets the most basic requirements. I wanted to
implement a simple and straight solution without implementing a complex
API or adding about 30 new constants to a module. Users with extend
needs should use your pywin32 package. I don't feel like rewriting your
package here. ;)

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1763>
__________________________________


More information about the Python-bugs-list mailing list