This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | loewis |
|---|---|
| Recipients | christian.heimes, draghuram, loewis |
| Date | 2008年01月08日.18:56:11 |
| SpamBayes Score | 0.20472138 |
| Marked as misclassified | No |
| Message-id | <1199818572.75.0.345577551889.issue1763@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I believe Microsoft advises against looking at the registry to find these things, and advocates the use of SHGetFolder instead: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/apcompat/apcompat/use_the_application_programming_interface_to_locate_special_folders.asp As for naming things: I guess an object ShellFolders in ntpath might work fine, with (computed) attributes Desktop, Documents, etc (according to the FOLDERID_ symbolic constants of the API). OTOH, this is entirely ad-hoc, as tons of other Windows API is *not* directly exposed to Python, so it's questionable why this one specifically deserves being supported. The patch has no documentation. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年01月08日 18:56:13 | loewis | set | spambayes_score: 0.204721 -> 0.20472138 recipients: + loewis, draghuram, christian.heimes |
| 2008年01月08日 18:56:12 | loewis | set | spambayes_score: 0.204721 -> 0.204721 messageid: <1199818572.75.0.345577551889.issue1763@psf.upfronthosting.co.za> |
| 2008年01月08日 18:56:11 | loewis | link | issue1763 messages |
| 2008年01月08日 18:56:11 | loewis | create | |