[Python-Dev] Difference in RE between 3.2 and 3.3 (or Aaron Swartz memorial) (original) (raw)
Armin Rigo arigo at tunes.org
Sat May 4 11:59:42 CEST 2013
- Previous message: [Python-Dev] PEP 379 Python launcher for Windows - behaviour for #!/usr/bin/env python line is wrong
- Next message: [Python-Dev] Difference in RE between 3.2 and 3.3 (or Aaron Swartz memorial)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Matej,
On Thu, Mar 7, 2013 at 11:08 AM, Matej Cepl <mcepl at redhat.com> wrote:
if c is not ' ' and c is not ' ': if c != ' ' and c != ' ':
Sorry for the delay in answering, but I just noticed what is wrong in this "fix": it compares c with the same single-character ' ' twice, whereas the original compared it with ' ' and with the two-character ' '.
A bientôt,
Armin.
- Previous message: [Python-Dev] PEP 379 Python launcher for Windows - behaviour for #!/usr/bin/env python line is wrong
- Next message: [Python-Dev] Difference in RE between 3.2 and 3.3 (or Aaron Swartz memorial)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]