Check that a filename is a basestring instance
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Instead of only checking one or another type of string-like object that we accept, let's be able to check both. Previously, we only checked if the filename was an instance of the native str type which on Python 2 excluded unicode filenames and bytes-like filenames on Python 3. Fixes #2411
authored by Ian Cordasco · committed by Ian Cordasco · parent d2d576b · Browse files · 3 files+30 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+30 added−3 removed
- other:+30 added−3 removed