SilentGhost added the comment: For posixpath the fix is straightforward: just skip that assert if the home ends up being '/' (the '/' is tested above).
For pathlib, I'm not entirely sure what the fix should be. ---------- nosy: +SilentGhost, pitrou versions: +Python 3.6 -Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24950> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com