Hi Christian,

On 13 June 2014 16:21, Christian Hudon <[email protected]> wrote:
> The colon character is valid in paths in Windows (because of the drive
> letter), but not in filenames (it's used for supporting different streams,
> which hardly anyone uses). So doing that check on
> os.path.basename(os.getenv("PYPYLOG")) should work under Windows also.

You're missing the fact that "C:\Foo" might represent either a path
name (case 1), or (case 3) "section:filename", with section "C" and
path "\Foo".


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to