Nick Coghlan <ncogh...@gmail.com> added the comment:

I'm in the process of updating the LBYL support to use a 
"rmtree.avoids_symlink_attacks" function attribute rather than the 
"rmtree_is_safe" module level attribute.

As I said in the hmac.secure_compare function discussion, the words "safe" and 
"secure" are too vague to ever make for good API design. Much better to tell 
people exactly what they're safe against (rmtree_is_safe -> 
rmtree.avoids_symlink_attacks), or designed to be appropriate for 
(hmac.secure_compare -> hmac.compare_digest).

----------
nosy: +ncoghlan

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4489>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to