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 ezio.melotti
Recipients ezio.melotti, flox
Date 2010-01-16.05:42:20
SpamBayes Score 3.7674595e-06
Marked as misclassified No
Message-id <1263620547.47.0.155851687393.issue7712@psf.upfronthosting.co.za>
In-reply-to
Content
To simplify the tests that require a different CWD I wrote a context manager that allows to change the working directory. I used it on #3426 to test os.path.abspath() with ASCII and non-ASCII CWDs and realized that it can also be used to fix #5684 where a zipfile fails to extract the content of the archive in the CWD if it is read-only.

Patch attached.
History
Date User Action Args
2010-01-16 05:42:32ezio.melottisetrecipients: + ezio.melotti, flox
2010-01-16 05:42:27ezio.melottisetmessageid: <1263620547.47.0.155851687393.issue7712@psf.upfronthosting.co.za>
2010-01-16 05:42:24ezio.melottilinkissue7712 messages
2010-01-16 05:42:23ezio.melotticreate