Re: [Python-Dev] cpython: Fix findnocoding.p and pysource.py scripts

2012-08-01 Thread Victor Stinner
2012/8/1 Serhiy Storchaka : >> changeset: 78375:67d36e8ddcfc >>Fix findnocoding.p and pysource.py scripts >> > >> -line1 = infile.readline() >> -line2 = infile.readline() >> +with infile: >> +line1 = infile.readline() >> +line2 = infile.readline() >> >> -if get

Re: [Python-Dev] cpython: Fix findnocoding.p and pysource.py scripts

2012-08-01 Thread Serhiy Storchaka
On 01.08.12 21:16, victor.stinner wrote: http://hg.python.org/cpython/rev/67d36e8ddcfc changeset: 78375:67d36e8ddcfc user:Victor Stinner date:Wed Aug 01 20:12:51 2012 +0200 summary: Fix findnocoding.p and pysource.py scripts I suppose that these scripts didn't work since Py