On Mon, Aug 31, 2009 at 9:26 AM, Sylvain
Thénault<[email protected]> wrote:
> On 30 août 09:57, Dotan Barak wrote:
>> Hi.
>
> Hi,
>
>> I'm sing the latest pylint (0.18.1), and for the following code:
>> <--start-->
>> def func1():
>>     func1.cntr = 0
>>
>>     def internal_func():
>>         print "%d" % func1.cntr
>>
>>     func1.cntr += 1
>>     internal_func()
>>
>>
>> func1()
>> <--end-->
>
> yup, pylint (astng actually) doesn't understand function's attribute yet,
> there is already a ticket for this pb in the tracker.

Great, thanks.

Dotan
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to