Message158534
It is one of the possible solutions.
In combination with the "writable flag" solution, you might create a class
variable in IdleConf (e.g. "user_cfg") that contains the user's home directory;
such variable will be initialized to an empty string by IdleConf.__init__.
On each call, GetUserCfgDir tries to initialize "user_cfg" only if it is an
empty string, otherwise it returns it's content.
Anyway, keep in mind that in GetUserConfig there's an unhandled exception (AttributeError) that might be the cause of the "IDLE doesn't start..." issue reported by users. |
|
Date |
User |
Action |
Args |
2012-04-17 08:22:48 | clikkeb | set | recipients:
+ clikkeb, terry.reedy, roger.serwy, r.david.murray, asvetlov |
2012-04-17 08:22:48 | clikkeb | set | messageid: <1334650968.66.0.356919119236.issue14576@psf.upfronthosting.co.za> |
2012-04-17 08:22:48 | clikkeb | link | issue14576 messages |
2012-04-17 08:22:48 | clikkeb | create | |
|