Message11879

Author psykiatris
Recipients amit, fwierzbicki, psykiatris, santa4nt, tuck182, zyasoft
Date 2018-04-05.20:37:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAGtSE-CWug7HtD2me3v-LmMsadAJrgy+2oWsFCDG91QQerDHAA@mail.gmail.com>
In-reply-to <1522944705.88.0.682650639539.issue2363@psf.upfronthosting.co.za>
Content
Never mind. I was wrong.

On Thu, Apr 5, 2018 at 9:11 AM Patrick Palczewski <report@bugs.jython.org>
wrote:

>
> Patrick Palczewski <psykiatris@gmail.com> added the comment:
>
> I wanted to take a look at this, so I ran this on 2.7.2, It ws
> consistently 100 bytes off, so I put -50 for the seek_back. The file.tell()
> returned a position higher than the beginning current position, still 100
> bytes off.
>
> ==============
>
> Current fd position:    4202
> seeking back:           50
> fd position after seek: 4252
> Traceback (most recent call last):
>   File "/home/patrick/jython/dist/Lib/test/bugs/issue_2363.py", line 13,
> in <module>
>     assert file.tell()==4152
> AssertionError
>
> =============
>
> Does this mean that file.tell() doesn't give the absolute position, or it
> doesn't indicate the last position in the file?
>
> Populating the test.log file with different characters produce differrent
> results, obviously.
>
> ----------
> nosy: +psykiatris
>
> _______________________________________
> Jython tracker <report@bugs.jython.org>
> <http://bugs.jython.org/issue2363>
> _______________________________________
>
-- 
Patrick Palczewski, Esq.
Files
File name Uploaded
unnamed psykiatris, 2018-04-05.20:37:31
History
Date User Action Args
2018-04-05 20:37:31psykiatrissetrecipients: + psykiatris, fwierzbicki, zyasoft, tuck182, santa4nt, amit
2018-04-05 20:37:31psykiatrislinkissue2363 messages
2018-04-05 20:37:31psykiatriscreate