[Twisted-Python] some bugs(?)
antonykummel at yahoo.com
Tue Sep 6 04:53:48 EDT 2005
--- Jonathan Lange <jonathan.lange at gmail.com> wrote:
> On 05/09/05, Antony Kummel <antonykummel at yahoo.com>
> > Hi,
> > I encountered what seem to be some bugs:
> > 1. In twisted/scripts/trial.py, line 276: the
> > contents are not executed if the lines are
> > with "\r\n". I suggest using "r" instead of "rb"
> > reading the file. Additionally, I would compile()
> > source before executing it in order to associate
> > with its filename. This will make debugging (at
> > with winpdb) much easier (currently the filename
> > "<string>", which prevents winpdb from finding the
> > source).
> Hi Antony,
> I've committed a fix for the first bug, as well as a
> couple of unit
> tests to avoid it happening again. I'd appreciate
> it if you could
> confirm that this indeed fixes your problem.
It does, thanks.
Click here to donate to the Hurricane Katrina relief effort.
More information about the Twisted-Python