| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@serhiy-storchaka, you're the one who added this check, so you can probably best evaluate if it's still needed. |
Sorry, something went wrong.
|
The first check was for cases like join(None) or join(['a', 'b']). The second checks was for cases like join('', b'a'), join(b'', 'a'), join(None, 'a'), or something like this. It seems that after adding fspath() they are no longer needed. |
Sorry, something went wrong.
|
Apparently this unnecessary concatenation has been here since the first iteration of posixpath! So it wasn't even intended as a type check: Lines 11 to 14 in c636014 |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you!
Sorry, something went wrong.
|
@serhiy-storchaka, can this be merged? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Benchmark:
ntpath.py
scriptposixpath.py
script