andrew-twisted at puzzling.org
Fri Feb 14 20:21:12 EST 2003
On Fri, Feb 14, 2003 at 04:10:24PM +0100, Thomas Heller wrote:
[..snip cool stuff about a win32 reactor that doesn't suck as much..]
As the person who wrote the original prototype of the win32 reactor, I'd
just like to say: You rock!
> PS: I tried to run unittests with this and other reactors with
> the command line
> py22 bin\trial -p twisted.test.test_internet -r <reactor> -v
You probably should try
py22 bin\trial -p twisted.test -r <reactor> -v
as well, i.e. *all* of the tests.
> crashes with this traceback, and then also hangs forever.
> testBadLogin ...
> testLongFileListings ... Traceback (most recent call last):
> File "C:\sf\Twisted\twisted\internet\win32guireactor.py", line 85, in __wm_timerevent
> tple.func(*tple.args, **tple.kw)
> File "C:\sf\Twisted\twisted\test\test_ftp.py", line 124, in errback
> except self.failureException, e:
> AttributeError: FTPClientAndServerTests instance has no attribute 'failureException'
Ooh! That's a trial bug -- pyunit TestCases have a "failureException"
attribute... by default I think it's set to AssertionError.
> """A win32 implementation of the Twisted main loop.
Interesting. I don't have a win32 system I can play with this stuff on
anymore, but you obviously have more of an idea about win32 programming than
I did :)
More information about the Twisted-Python