[MERGE] add win32utils.get_local_appdata_location()

Alexander Belchenko bialix at ukr.net
Thu Aug 28 23:22:58 BST 2008


John Arbash Meinel пишет:
> Mark Hammond wrote:
> 
>>> +def _get_sh_special_folder_path(csidl):
>>> +    """Call SHGetSpecialFolderPathW if available, or return None.
>>> +
>>> +    Result is always unicode (or None).
>>> +    """
>>> +    if has_ctypes:
>>> +        try:
>>> +            SHGetSpecialFolderPath = \
>>> +                ctypes.windll.shell32.SHGetSpecialFolderPathW
>>> +        except AttributeError:
>>> +            pass
>>>
>>> ^- I don't know if this function was even present on Win98, but I know
>>> Alexander has a lot of code to allow either the "A" form or the "W"
>>> form
>>> based on the settings. You may want to use a similar pattern here.
>> That might be worthwhile, but I don't think I changed those semantics in my
>> patch - I just added fall back to pywin32.  I'll double check that I didn't
>> change that though (and note that MS and Python itself stopped supporting
>> win9x some time ago)

Python 2.5 installer said it's the last version with win98 support. It's current
official stable release of Python. I don't remember that anybody reports about
bzr compatibility with Python 2.6, but may be it's just work. I don't know.

> I realize that, but Alexander still is using it, and as he still contributes
> to bzr (if only to qbzr) I'd like to continue supporting a platform he
> actively uses.

Thanks for this attention to my tiny problems, but I don't use Win98 actively.
Just from time to time (it's not my working machine). So in the light of
recent reducing support for knits I beg to not block new patches because
of my past. win98 support is good enough if it cost toooo little for you guys.

Thank you anyway.




More information about the bazaar mailing list