Re: [AD] Allegro in Debian |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sat, 7 Jul 2012 12:58:48 +1000
Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On Sat, 07 Jul 2012 01:48:11 +0200, Tobias Hansen <tobias.han@xxxxxxxxxx>
> wrote:
> > > pyflakes warnings:
> > >
> > > python/generate_python_ctypes.py:2: 'os' imported but unused
> > > python/generate_python_ctypes.py:3: 'from ctypes import *' used;
> > > unable to detect undefined names
> > > python/generate_python_ctypes.py:314: local variable 'release' is
> > > assigned to but never used
> > > python/generate_python_ctypes.py:315: local variable 'version' is
> > > assigned to but never used
false positives, they are used right below through locals()
> > > python/checkdocs.py:19: undefined name 'options'
> > > python/checkdocs.py:34: undefined name 'options'
> > > python/checkdocs.py:88: undefined name 'options'
> > > python/checkdocs.py:90: undefined name 'options'
> > > python/checkdocs.py:167: undefined name 'options'
> > > python/checkdocs.py:168: undefined name 'options'
> > > python/checkdocs.py:173: undefined name 'options'
> > > python/checkdocs.py:185: undefined name 'options'
false positives, it's defined below, not sure what pyflakes does there
> > > python/checkdocs.py:190: local variable 'n' is assigned to but
> > > never used python/ex_draw_bitmap.py:3: 'glob' imported but unused
> > > python/ex_draw_bitmap.py:4: 'from random import *' used; unable to
> > > detect undefined names
> > > python/ex_draw_bitmap.py:5: 'from math import *' used; unable to
> > > detect undefined names
> > > python/ex_draw_bitmap.py:6: 'from ctypes import *' used; unable to
> > > detect undefined names
> > > python/ex_draw_bitmap.py:11: 'from allegro import *' used; unable
> > > to detect undefined names
is there a way to silence those?
> Elias?
>
I fixed some of the unused variables/imports ones and there was a bug
in python/pong.py.