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/2008-September/082565.html below:

[Python-Dev] Filename as byte string in python 2.6 or 3.0?

[Python-Dev] Filename as byte string in python 2.6 or 3.0? [Python-Dev] Filename as byte string in python 2.6 or 3.0?Amaury Forgeot d'Arc amauryfa at gmail.com
Sat Sep 27 14:41:39 CEST 2008
Hello Victor,

2008/9/27 Victor Stinner <victor.stinner at haypocalc.com>:
> Hi,
>
> I read that Python 2.6 is planned to Wednesday. One bug is is still open and
> important for me: Python 2.6/3.0 are unable to use filename as byte strings.
>    http://bugs.python.org/issue3187
[...]

Is it really a 2.6 problem? I could not find any difference with 2.5
in this regard,
the tests you propose still pass.

> Filename manipulation: in python 2.6/3.0, os.path.*() is not compatible with
> the type "bytes"

With python 2.6,
>>> bytes is str
True


But I agree that this is THE unresolved issue of python 3.0.

-- 
Amaury Forgeot d'Arc
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