[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


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.



More information about the Python-Dev mailing list