New submission from Tshepang Lekhonkhobe <tshep...@gmail.com>:

I was writing a test that could return True for "if not pathname" 
(http://hg.python.org/cpython/file/58bd6a58365d/Lib/packaging/util.py#l109), 
and included all values I know that could return a False value, but then I 
realised that the only value we should check against is an empty string... I 
don't think any other type is applicable.

I left None as a valid type, otherwise some other test 
(test_command_install_dist.py) fails.

----------
files: path-name-must-be-string-or-None.patch
keywords: patch
messages: 152845
nosy: tshepang
priority: normal
severity: normal
status: open
title: path name must always be string
Added file: 
http://bugs.python.org/file24452/path-name-must-be-string-or-None.patch

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

Reply via email to