A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-May/144597.html below:

[Python-Dev] File system path PEP, part 2

[Python-Dev] File system path PEP, part 2Larry Hastings larry at hastings.org
Fri May 13 12:33:10 EDT 2016
On 05/13/2016 06:21 PM, Guido van Rossum wrote:
> Really, if you want bytes, you should use os.fsencode(); if you want 
> strings, use os.fsencode(); if you want to be polymorphic, use 
> os.fspath() and check the type it returns.

Am I severely misunderstanding the API, or did you mean "if you want 
strings, use os.fsdecode()" here?


//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160513/e64a22d4/attachment.html>
More information about the Python-Dev mailing list

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