[issue39962] Wrong tell function results (Windows 10/Python 64 3.8.2)

2020-03-13 Thread Cezary Wagner
Change by Cezary Wagner : -- title: Wrong tell function results. -> Wrong tell function results (Windows 10/Python 64 3.8.2) ___ Python tracker ___

[issue39962] Wrong tell function results.

2020-03-13 Thread Cezary Wagner
Cezary Wagner added the comment: Some good snippet for testing very short. with open('../s01_parser_eval/data/out-6976.txt') as pgn: pgn.seek(1008915299) while True: pgn.readline() print(pgn.tell()) 1008915327 1008915366 1008915387 1008915409 1008915425 1008915449

[issue39962] Wrong tell function results.

2020-03-13 Thread Cezary Wagner
New submission from Cezary Wagner : I wrote code which scan very large file PGN (chess games database). But I found that tell() function is buggy see results. Here is some code: with open('../s01_parser_eval/data/out-6976.txt') as pgn: is_game_parsed =