When fed the following code:
def Foo():
class A(object):
def __init__(self):
pass
class B(object):
def __init__(self):
pass
PyChecker 0.8.18 warns:
foo.py:9: Redefining attribute (__init__) original line (5)
I do not understand what is
On 1 June 2010 21:48, Leo Breebaart l...@lspace.org wrote:
When fed the following code:
def Foo():
class A(object):
def __init__(self):
pass
class B(object):
def __init__(self):
pass
PyChecker 0.8.18 warns:
foo.py:9: Redefining attribute
Leo Breebaart wrote:
When fed the following code:
def Foo():
class A(object):
def __init__(self):
pass
class B(object):
def __init__(self):
pass
PyChecker 0.8.18 warns:
foo.py:9: Redefining attribute (__init__) original
On 6/1/2010 7:53 AM, Xavier Ho wrote:
On 1 June 2010 21:48, Leo Breebaart l...@lspace.org
mailto:l...@lspace.org wrote:
When fed the following code:
def Foo():
class A(object):
def __init__(self):
pass
class B(object):
def
On 6/1/2010 7:53 AM, Xavier Ho wrote:
Out of curiosity, why are you defining two classes inside a
function?
Not my code! Not my code! :-)
This code was contributed by someone else, and I merely took my
default action (in such cases) of running pyflakes, pychecker,
and pylint on it before
On 6/1/2010 8:23 AM, Peter Otten wrote:
Leo Breebaart wrote:
When fed the following code:
def Foo():
class A(object):
def __init__(self):
pass
class B(object):
def __init__(self):
pass
PyChecker 0.8.18 warns:
foo.py:9: Redefining
Although PyChecker 0.8.18 is quite an improvement over previous
releases, it does have quirks. The PyChecker postprocessor might be
helpful, see
http://code.activestate.com/recipes/546532/
/Jean
On Jun 1, 4:48 am, Leo Breebaart l...@lspace.org wrote:
When fed the following code:
def