On 11/28/2013 1:04 PM, Tim Delaney       wrote:
    
           
        
%LOCALAPPDATA% should always contain the same value as           would be returned from SHGetFolderPath with           CSIDL_LOCAL_APPDATA.
        
                Except when it gets changed. Documentation should reflect the actual     use in the code. If it uses the SHGetFolderPath, that is what should     be documented; if it uses the environment variable, that is what     should get documented. Users can easily change the environment     variable (which might be a reason to use it, instead of     SHGetFolderPath).
  ">

(original) (raw)

On 29 November 2013 08:34, Glenn Linderman <v+python@g.nevcal.com> wrote:
On 11/28/2013 1:04 PM, Tim Delaney wrote:

%LOCALAPPDATA% should always contain the same value as would be returned from SHGetFolderPath with CSIDL\_LOCAL\_APPDATA.
Except when it gets changed. Documentation should reflect the actual use in the code. If it uses the SHGetFolderPath, that is what should be documented; if it uses the environment variable, that is what should get documented. Users can easily change the environment variable (which might be a reason to use it, instead of SHGetFolderPath).

Didn't think of that - good point.

Tim Delaney