[issue25101] test_zipfile failure when run by unprivileged user with installed Python

2015-09-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80d002edc9c1 by Serhiy Storchaka in branch '3.4': Issue #25101: Try to create a file to test write access in test_zipfile. https://hg.python.org/cpython/rev/80d002edc9c1 New changeset fe84898fbe98 by Serhiy Storchaka in branch '2.7': Issue #25101:

[issue25101] test_zipfile failure when run by unprivileged user with installed Python

2015-09-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue25101] test_zipfile failure when run by unprivileged user with installed Python

2015-09-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue25101] test_zipfile failure when run by unprivileged user with installed Python

2015-09-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, using TemporaryFile for testing write access is not good on Windows, because there is an issue with TemporaryFile that it repeats attempts to create a file in read-only directory. Updated patch used constant file name. -- Added file:

[issue25101] test_zipfile failure when run by unprivileged user with installed Python

2015-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch that check write access by just trying to create a file. -- keywords: +patch stage: needs patch -> patch review versions: +Python 2.7, Python 3.4, Python 3.6 Added file:

[issue25101] test_zipfile failure when run by unprivileged user with installed Python

2015-09-13 Thread Zachary Ware
New submission from Zachary Ware: == ERROR: test_write_with_optimization (test.test_zipfile.PyZipFileTests) -- Traceback (most recent call last): File

[issue25101] test_zipfile failure when run by unprivileged user with installed Python

2015-09-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, os.access() doesn't work on Windows. -- nosy: +serhiy.storchaka ___ Python tracker ___