os.access cannot test for "is createable"

Issue #320 resolved
Stefan H. Holek
created an issue

You cannot test for "writability" of non-existant files:


os.access('doesnotexist', os.W_OK)

This is however exactly what "After install bootstrap" appears to be doing. I get this warning a lot when installing distribute from source dir:

./bin/easy_install -U ../distribute-trunk

To add insult to injury on trunk (well, "default") there now is a return statement right after the warning. I don't think this code achieves what it is supposed to. ;-)


Comments (2)

  1. Log in to comment