Ethan Furman <ethan <at> stoneleaf.us> writes: > > On 04/11/2016 07:56 AM, Antoine Pitrou wrote: > > >> 2) pathlib.Path accepts bytes -- > > > > Does it? Or are you proposing such a change? > > It used to (I posted a couple examples from 3.5.0). I finally rebuilt > with the latest and it no longer does. This is surprising, since in its entire lifetime, pathlib was never supposed to support bytes inputs. See the argument check in the initial checkin of pathlib.py: https://hg.python.org/cpython/rev/43377dcfb801/#l6.571 Perhaps that slipped through at some point (and obviously no test was there to prevent it :-)). Regards Antoine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4