Stefan Krah added the comment:

What is in sample.txt? I cannot reproduce this with a source build
(Windows 7, 64-bit pgo build):

Python 2.7.3+ (default, Jan 17 2013, 20:26:24) [MSC v.1500 64 bit (AMD64)] on 
win32                          
Type "help", "copyright", "credits" or "license" for more information.          
                             
>>> f = open('sample.txt')                                                      
>>>                              
>>> f.read(3)                                                                   
>>>                              
'abc'                                                                           
                             
>>> f.read(3)                                                                   
>>>                              
'def'                                                                           
                             
>>> f.tell()                                                                    
>>>                              
6L

----------
nosy: +skrah

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16273>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to