May I suggest we use the `os.SEEK_*` constants for this; not all of us have
memorized POSIX :-)

Alex

On Mon, Mar 9, 2015 at 8:42 AM, Armin Rigo <[email protected]> wrote:

> Hi Fijal,
>
> On 9 March 2015 at 09:21, Maciej Fijalkowski <[email protected]> wrote:
> > uh, I really don't think this checkin is correct (it was meant to seek
> > to the end, not 2 bytes)
>
> >> -        ec.code_info_file.seek(2, 0)
> >> +        ec.code_info_file.seek(0, 2)
>
> Sorry, I may be missing something, but it seems to me that "seek(0,
> 2)" is the order you need for "seek to the end"...
>
>
> A bientôt,
>
> Armin.
> _______________________________________________
> pypy-dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/pypy-dev
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084
_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to