Re: Expression problem.

2010-10-06 Thread Nethirlon .
On 6 okt, 15:25, Peter Otten <__pete...@web.de> wrote: > Nethirlon . wrote: > > On 6 okt, 11:53, Peter Otten <__pete...@web.de> wrote: > >> Sebastiaan de Haan wrote: > >> > Thank you Chris, > > >> > I'll try and find the attribute in the code. That was my conclusion > >> > aswell... The original au

Re: Expression problem.

2010-10-06 Thread Peter Otten
Nethirlon . wrote: > On 6 okt, 11:53, Peter Otten <__pete...@web.de> wrote: >> Sebastiaan de Haan wrote: >> > Thank you Chris, >> >> > I'll try and find the attribute in the code. That was my conclusion >> > aswell... The original author must have defined it somewhere... >> >> Don't forget to chec

Re: Expression problem.

2010-10-06 Thread Nethirlon .
On 6 okt, 11:53, Peter Otten <__pete...@web.de> wrote: > Sebastiaan de Haan wrote: > > Thank you Chris, > > > I'll try and find the attribute in the code. That was my conclusion > > aswell... The original author must have defined it somewhere... > > Don't forget to check whether the object's class

Re: Expression problem.

2010-10-06 Thread Peter Otten
Sebastiaan de Haan wrote: > Thank you Chris, > > I'll try and find the attribute in the code. That was my conclusion > aswell... The original author must have defined it somewhere... Don't forget to check whether the object's class (or any of its bases) has a __getattr__() or __getattribute__()

Re: Expression problem.

2010-10-06 Thread Sebastiaan de Haan
Thank you Chris, I'll try and find the attribute in the code. That was my conclusion aswell... The original author must have defined it somewhere... Thanks. On Wed, Oct 6, 2010 at 10:59 AM, Chris Rebert wrote: > On Wed, Oct 6, 2010 at 1:32 AM, Nethirlon . wrote: >> Hi, >> >> I am having troubl

Re: Expression problem.

2010-10-06 Thread Chris Rebert
On Wed, Oct 6, 2010 at 1:32 AM, Nethirlon . wrote: > Hi, > > I am having trouble with an expression. > > I have the following line of code: > > self.failUnless(c.as == 65215) > > What happens when you compile this is that you get a syntax error. > This is because as has been made a keyword. failUn