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 | Piffen, christian.heimes, kbk, loewis, richjtd |
| Date | 2008年01月22日.22:43:57 |
| SpamBayes Score | 0.024481514 |
| Marked as misclassified | No |
| Message-id | <1201041839.12.0.8568059188.issue1743@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
As a follow-up, it appears that Windows didn't allow truncating hidden or system files since Windows 2000. If you change the flags on .idlerc to hidden in (say) W2k3, IDLE will also fail to start - so it's not a Vista issue. The question is why the folder "sudenly" became hidden - Python has no API to make it so. In any case, the proper solution is to delete the file rather than overwriting it, perhaps like so def save_overwrite_open(fname): try: return open(fname,"w") except IOError: os.unlink(fname) return open(fname,"w") |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年01月22日 22:43:59 | loewis | set | spambayes_score: 0.0244815 -> 0.024481514 recipients: + loewis, kbk, christian.heimes, richjtd, Piffen |
| 2008年01月22日 22:43:59 | loewis | set | spambayes_score: 0.0244815 -> 0.0244815 messageid: <1201041839.12.0.8568059188.issue1743@psf.upfronthosting.co.za> |
| 2008年01月22日 22:43:58 | loewis | link | issue1743 messages |
| 2008年01月22日 22:43:57 | loewis | create | |