[issue20844] coding bug remains in 3.3.5rc2

2014-06-20 Thread eryksun
eryksun added the comment: This fix for issue 20731 doesn't address this bug completely because it's possible for ftell to return -1 without an actual error, as test2.py demonstrates. In text mode, CRLF is translated to LF by the CRT's _read function (Win32 ReadFile). So the buffer that's us

[issue20844] coding bug remains in 3.3.5rc2

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: I can reproduce this with 3.4.1 and 3.5.0. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue20844] coding bug remains in 3.3.5rc2

2014-03-21 Thread Marc Schlaich
Marc Schlaich added the comment: I can reproduce this one. There are a few conditions which needs to be met: - Linux line endings - File needs to have at least x lines (empty lines are fine). I guess this is the point why no one could reproduce it. The attached file has 19 lines but probably

[issue20844] coding bug remains in 3.3.5rc2

2014-03-11 Thread Musashi Tamura
Musashi Tamura added the comment: When opening LF-newline file, ftell() may return zero when the position is not at the beginning of the file. Maybe LF-newline file should open in binary-mode. http://support.microsoft.com/kb/68337 -- ___ Python trac

[issue20844] coding bug remains in 3.3.5rc2

2014-03-11 Thread Musashi Tamura
Musashi Tamura added the comment: Thanks Mark. Perhaps, the problem is text-mode handling. When using Windows's text-mode stream, ftell() may return -1 even if no error occured. -- ___ Python tracker

[issue20844] coding bug remains in 3.3.5rc2

2014-03-09 Thread Mark Lawrence
Mark Lawrence added the comment: Works fine for me -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue20844] coding bug remains in 3.3.5rc2

2014-03-09 Thread Musashi Tamura
Musashi Tamura added the comment: It seems that this is not fixed in 3.3.5. Someone please reproduce it. -- ___ Python tracker ___ ___

[issue20844] coding bug remains in 3.3.5rc2

2014-03-03 Thread STINNER Victor
STINNER Victor added the comment: It's a duplicate of the issue #20731. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list ma

[issue20844] coding bug remains in 3.3.5rc2

2014-03-03 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue20844] coding bug remains in 3.3.5rc2

2014-03-03 Thread Musashi Tamura
New submission from Musashi Tamura: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\bug>python Python 3.3.5rc2 (v3.3.5rc2:ca5635efe090, Mar 2 2014, 18:18:29) [MSC v.1600 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "lic