[Twisted-Python] Re: plus mode was Re: how winnt fileops workand what to do about it

Paul G paul-lists at perforge.com
Sat Dec 31 16:58:34 EST 2005

----- Original Message ----- 
From: "Jean-Paul Calderone" <exarkun at divmod.com>
To: "Twisted general discussion" <twisted-python at twistedmatrix.com>
Sent: Saturday, December 31, 2005 4:41 PM
Subject: Re: [Twisted-Python] Re: plus mode was Re: how winnt fileops 
workand what to do about it

> On Sat, 31 Dec 2005 16:33:46 -0500, glyph at divmod.com wrote:
>>On Sat, 31 Dec 2005 15:21:45 -0500, Paul G <paul-lists at perforge.com> 
>>>2. say that across all platforms python supports given functionality on, 
>>>said functionality needs to have functionally identical results given 
>>>identical input. in this case, the flush+seek workaround needs to be 
>>>utilized on all cpythons linked with msvscrt in a manner transparent to 
>>>the user.
>>It seems like we can work around this more easily than that, considering 
>>that flush and seek are available from Twisted; the file object causing 
>>problems in the tests is being returned from the open() method of a 
>>FilePath object, if I understand it correctly.  FilePath could include the 
>>workaround far in advance of Python deciding to.
> Quite so.  I definitely think this is a bug in Python though.  Someone 
> should open a ticket in the Python bug tracker.  Cory?


i'll be happy to see if i can dig up an msdn entry documenting this so you 
can include it in the bug report. ping me if you need me to do it.


More information about the Twisted-Python mailing list