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 terry.reedy
Recipients John Gray, asvetlov, cane, markroseman, ned.deily, roger.serwy, tealduck, terry.reedy
Date 2017-06-29.05:46:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Problems with patching 2.7 are no longer relevant.

To test, we should refactor config so that the attempt to find and access $HOME and .idlerc are isolated in a function that can be mocked to simulate various problems.

def get_rc():
   """Return a directory path that is readable and writable.

   If not possible, return an error indicator.  <to be determined>

Testing such a function is a different issue, but I would just reuse existing code.
Date User Action Args
2017-06-29 05:46:25terry.reedysetrecipients: + terry.reedy, ned.deily, roger.serwy, asvetlov, markroseman, cane, John Gray, tealduck
2017-06-29 05:46:25terry.reedysetmessageid: <>
2017-06-29 05:46:25terry.reedylinkissue8231 messages
2017-06-29 05:46:25terry.reedycreate