e documentation.
>
> Activate this checker with:
>
> --load-plugins=pylint.extensions.check_docs
To be fair, there is also `pylint.extensions.check_elif` extension
that emit message for 'else: if ' that could be written in 'elif '
Regards,
--
Sylvain T
Hi there,
Pylint 1.2 has been uploaded to pypi by the end of the last week! More info on
this heavy release on http://www.logilab.org/blogentry/240019.
As usual, feedback and comments welcome.
Enjoy!
--
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations
Hi there,
at last, Pylint 1.0 is out! See http://www.logilab.org/blogentry/163292
for (much) more info and enjoy!
And many thanks to every one who contributed to this release...
--
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth
ilab's debian
repositories`_.
.. _Pylint: http://www.pylint.org
.. _`Logilab's debian repositories`: http://www.logilab.org/bookmark/4621/follow
.. _Astroid: http://www.astroid.org
.. _`pylint-brain`: https://bitbucket.org/logilab/pylint-brain
Enjoy!
--
Sylvain Thénault, LOGILAB
ience,
--
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
CubicWeb, the semantic web framework:http://www.cubicweb.org
--
On 01 mars 07:41, Melton Low (devl) wrote:
> Hi Sylvain,
Hi,
> Clicking on the download linked from [1] below gives me an error.
> Same with logilab-astng link [2].
>
> Not Found
>
> The requested URL /pub/pylint/pylint-0.27.0.tar.gz was not found on
> this server.
&g
ributed to this release!
[1] http://www.logilab.org/project/pylint/0.27.0 /
[2] http://www.logilab.org/project/logilab-astng/0.24.2
Enjoy!
--
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Dév
ute on our free
software project at Logilab, so I hope this will continue and
we'll get even more contritions in a near future, and an even
smarter/faster/whatever pylint!
So many thanks to all those who made that release, and enjoy!
--
Sylvain Thénault, LOGILAB, Paris (01.45.32.03
Hi there,
I've released this morning new versions of Pylint, ASTNG and logilab-common
projects. For more information, read http://www.logilab.org/blogentry/100365
Enjoy!
--
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (09.54.03.55.76)
Formations Python, Debian, Méth. A
of versions to use to get pylint working with python 2.3 code. And maybe,
unless you people think it would be a shame, also for python 2.4, so we
can drop support for the old compiler module.
ciao,
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Debian
Hi there,
just a quick note to remind pylint felows that we will hold
the second pylint bugs day tomorrow, from about 8am to 18pm
UTC+2. See you on our jabber forum or in our paris office!
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Debian, Méth
On 18 décembre 18:24, Jean-Michel Pichavant wrote:
> Sylvain Thénault wrote:
> >Hi,
> >
> >I'm very pleased to announce the release of pylint 0.19 / astng 0.19.2
> >release!
> >
> >More information / download on http://www.logilab.org/project/pylint/
om James Lingard and Vincent Ferotin.
Many thanks to James Lingard which provided two long waited features:
* check of function call arguments
* check string interpolation consistency
So, happy christmas, enjoy!
[1] http://www.logilab.org/blogentry/19260
--
Sylvain Thénault
.19.1
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
CubicWeb, the semantic web framework:http://www.cubicweb.org
--
finally:
... print 'break'
... break
... print 'end'
...
>>>
>>> test()
return
break
end
As you can see, the 'break' in the finally block makes the 'return 1' beeing
ignored.
Is this a known caveat or shoul
Le Wednesday 25 March 2009 13:43:37 Colin J. Williams, vous avez écrit :
> Sylvain Thénault wrote:
> > Le Wednesday 25 March 2009 11:58:37 andrew cooke, vous avez écrit :
> >> python 3? :o)
> >
> > python 3 support is no much far away now that we support the new _
f course ;)
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientifique: http://www.logilab.fr/science
ylint
http://www.logilab.org/project/logilab-astng
http://www.logilab.org/project/logilab-common
Please report any problem / question to the python-proje...@lists.logilab.org
mailing-list.
Enjoy!
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope,
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientifique: http://www.logilab.fr/science
Hi,
I would like to know if the official maintainers of setuptools are working
on a release for Python 3.0.
Regards.
--
http://mail.python.org/mailman/listinfo/python-list
s. See
the ChangeLog or the version's page [1] for more details.
[1] http://www.logilab.org/project/logilab-astng/0.17.4
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mes
On Jun 6, 5:33 pm, "Richard Brodie" <[EMAIL PROTECTED]> wrote:
> "Sylvain" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> > If we upload a file with a semi-colon (i.e : "C:/my;file.jpg") :
> > cgi.FieldStorage.
Hi,
I'm playing with Google App Engine and during my tests it seems that
there is a bug in cgi. parse_header function.
If we upload a file with a semi-colon (i.e : "C:/my;file.jpg") :
cgi.FieldStorage.filename returns only "my" everything after the semi-
colon is missing
Is it a bug or i'm missi
ople who contributed!
regards,
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientifique: h
inline wrote:
> Hello!
> I want to assign self to object of parent class in constructor, like
>
> def my_func():
> ...
> return ParentClass()
>
> class MyClass (ParentClass):
> def __init__(self):
> self = my_func()
>
> but it not work, because "object not initialized". What
mailto://[EMAIL PROTECTED]
Enjoy !
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientif
Visit the respective projects'page of our fresh new .org site to get the
latest source distribution :o)
http://www.logilab.org/project/name/pylint
http://www.logilab.org/project/name/logilab-astng
Enjoy !
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Py
quot;class method\n"
end
end
i = Toto.new
i.meth
Toto.meth
"""
$> ruby1.9 test_classmethod.rb
instance method
class method
thanks
sylvain
--
http://mail.python.org/mailman/listinfo/python-list
Peter Otten a écrit :
> Sylvain Ferriol wrote:
>
>
>>can you explain to me what happened:
>>
>>class toto(object):
>> eq = float.__eq__
>>
>>t = toto()
>>
>>getattr(t,'eq')
>>TypeError: descriptor '__eq__' fo
Fredrik Lundh a écrit :
> Sylvain Ferriol wrote:
>
>> can you explain to me what happened:
>>
>> class toto(object):
>>eq = float.__eq__
>>
>> t = toto()
>>
>> getattr(t,'eq')
>> TypeError: descriptor '__eq__'
hello
can you explain to me what happened:
class toto(object):
eq = float.__eq__
t = toto()
getattr(t,'eq')
TypeError: descriptor '__eq__' for 'float' objects doesn't apply to
'toto' object
--
http://mail.python.org/mailman/listinfo/python-list
Brilliant Seo. Thanks a lot :)
BTW, if it can be useful and you're happy with the code, don't hesitate to
include my port of the Gzip module. Its a BSD license :)
- Sylvain
> This is the second release of IronPython Community Edition (IPCE),
> 1.0 revision 2, based on IronPython
s can be found on http://www.logilab.org/.
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientifique:
http://www.logilab.org/projects/pylint
Download
ftp://ftp.logilab.org/pub/pylint
Mailing list
mailto://[EMAIL PROTECTED]
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formatio
ound on http://www.logilab.org/.
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientifique:
ranslate a program or
a data structure defined in XML format into python syntax.
i do not know how many use-cases we need for changing a PEP status :)
another advantage is that we have the same syntax in all definition
levels: metaclass, class, instance.
and if we just want to use objec
Michele Simionato a écrit :
> Sylvain Ferriol wrote:
>
>>Michele Simionato a écrit :
>>
>>>See http://www.python.org/dev/peps/pep-0359 (already rejected by
>>>Guido).
>>>
>>
>>i do not understand the withdrawal note, what do "differe
Michele Simionato a écrit :
> Sylvain Ferriol wrote:
>
>>hello everybody,
>>
>>i want to talk with you about a question i have in mind and i do not
>>find a answer. it 's simple:
>>why do we not have a beatiful syntax for object definition as we have
new object syntax:
>> instance my_class:
>> __class__ = object
>> __metaclass__ = MyMetaClass
>>
thanks
Sylvain Ferriol
Ingénieur de recherche
Laboratoire TIMC/IMAG
http://www-timc.imag.fr/
--
http://mail.python.org/mailman/listinfo/python-list
on :
http://www.logilab.org/projects/pylint/
http://www.logilab.org/projects/astng/
Enjoy !
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
o a strong supporter of the Free Software movement, and an
active member of the Python and Debian communities. Logilab's open
source projects can be found on http://www.logilab.org/.
Enjoy and happy new year !
--
Sylvain Thénault LOGILAB, Paris (France).
http://
movement, and an
active member of the Python and Debian communities. Logilab's open
source projects can be found on http://www.logilab.org/.
Enjoy and happy new year !
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr
www.logilab.org/.
Enjoy, and happy new year!
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
the tested code.
Pylint is free software distributed under the GNU Public Licence.
Home page
-
http://www.logilab.org/projects/pylint
Download
ftp://ftp.logilab.org/pub/pylint
Mailing list
----
mailto://[EMAIL PROTECTED]
Enjoy and happy new year !
--
Sy
g/.
Enjoy and happy new year !
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
Le vendredi 23 décembre 2005 à 16:23 +0100, Gregor Horvath a écrit :
> Hi,
>
> Is there a possibility to format a log message to give the function name
> where the log appears?
>
> Example
>
> import logging
>
> def aTestFunction():
>logger.debug("This is a message")
>
> The log should re
ttp://www.logilab.org/projects/pylint
Download
ftp://ftp.logilab.org/pub/pylint
Mailing list
mailto://[EMAIL PROTECTED]
Enjoy!
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
gilab.com/.
Logilab is also a strong supporter of the Free Software movement, and an
active member of the Python and Debian communities. Logilab's open
source projects can be found on http://www.logilab.org/.
Enjoy!
--
Sylvain Thénault LOGILAB, Paris (Fran
at
the end, and will give a mark to the tested code.
Pylint is free software distributed under the GNU Public Licence.
Home page
-
http://www.logilab.org/projects/pylint
Download
ftp://ftp.logilab.org/pub/pylint
Mailing list
mailto://[EMAIL P
ast classes.
Home page
-
http://www.logilab.org/projects/astng
Download
ftp://ftp.logilab.org/pub/astng
Mailing list
----
mailto://[EMAIL PROTECTED]
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logi
Well, answering my own question here...
See http://mail.python.org/pipermail/c++-sig/2002-November/002415.html
8-)
Sylvain
"Sylvain MARIE" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hi all,
>
> I am discovering Boost.Python, and wei
Boost.Python :-)
(I'm using Boost 1.33.0 with VC7.1, and the bjam makefiles)
thank you very much in advance!
Sylvain
--
http://mail.python.org/mailman/listinfo/python-list
hello
when i define __getattribute__ in a class, it is for the class instances
but if i want to have a __getattribute__ for class attributes
how can i do that ?
sylvain
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 09 Aug 2005 09:37:47 +, Adriano Varoli Piazza wrote:
> Sylvain Thenault ha scritto:
>> Hi there !
>>
>> I've some questions regarding pth files (which btw are undocumented in
>> the python reference, is this intentional ?)
>>
>> I though
the Products.pth file isn't considered at all, while for example
PIL.pht in the site-packages is correctly detected
2. I'm not even sure that I can put several paths in a .pth file
Is there a restriction on .pth location ? Is it possible to have multiple
path in a pth file ?
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 04 Aug 2005 14:50:18 -0400, François Pinard wrote:
> [Sylvain Thénault]
>
>> I'm pleased to announce a new release of PyLint.
>
> Bonjour Sylvain. J'ai la compulsion de dire bonjour, et merci! (On peut
> me tutoyer sans problème.)
Bonjour ! C'e
On Thu, 04 Aug 2005 14:50:18 -0400, François Pinard wrote:
> [Sylvain Thénault]
>
>> I'm pleased to announce a new release of PyLint.
>
> Bonjour Sylvain. J'ai la compulsion de dire bonjour, et merci! (On peut
> me tutoyer sans problème.)
Bonjour ! C'e
tributed under the GNU Public Licence.
Home page
-
http://www.logilab.org/projects/pylint
Download
ftp://ftp.logilab.org/pub/pylint
Mailing list
--------
mailto://[EMAIL PROTECTED]
Enjoy !
--
Sylvain Thénault LOGILAB, Paris (France).
ht
abber
related code.
hope that helps
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
using its default configuration.
[1] http://www.logilab.org/projects/pylint/
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
ed to know who you are, so please choose either:
1. use your existing login,
2. register as a new user,
3. have the server generate a new password for you (and email it to you), or
4. quit
Your selection [default 1]:
Username: logilab
Password:
Server response (500):
--
Sylvai
give a mark to the tested code.
Pylint is free software distributed under the GNU Public Licence.
Home page
-
http://www.logilab.org/projects/pylint
Download
ftp://ftp.logilab.org/pub/pylint
Mailing list
--------
mailto://[EMAIL PROTECTED]
--
Sylvain Thénault
On Fri, 04 Feb 2005 04:59:51 -0800, Michele Simionato wrote:
> Sylvain Thenault:
>> Actually it does install it is $PREFIX/bin.
>
> Aha! And how do I set $PREFIX? Is it a Unix environment variable or is it
> a keyword argument in setup? Something like setup( prefix="/usr&q
$PREFIX/bin.
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
xecutable
myexecutable.run()
And then register this script using distutils'"scripts" keyword argument.
This has the advantage that I can also create a very simple .bat file for
windows users without code duplication.
--
Sylvain Thénault LOGILAB, Paris
On Tue, 01 Feb 2005 16:27:48 -0600, John Roth wrote:
>
> "Sylvain Thenault" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> On Tue, 01 Feb 2005 05:18:12 +0100, Philippe Fremy wrote:
>>
>> Did you take a look at the starkiller [1
open
on the python 2.5 ast branch work...
Hope that helps !
[1]http://www.python.org/pycon/dc2004/papers/1/paper.pdf)
[2]http://codespeak.net/pypy/index.cgi?home
[3]http://www.python.org/doc/current/lib/module-compiler.ast.html
[4]http://www.logilab.org/projects/pylint
--
Sylvain Thénaul
esign analysis" checker). Hum, well... After checking it seems that the
post said 20 attributes. I don't remember why did i get this number down
to 7. If this discussion leads to an agreement for a better number, I
can change the default value.
--
Sylvain Thénault
blic Licence.
Home page
-
http://www.logilab.org/projects/pylint
Download
ftp://ftp.logilab.org/pub/pylint
Mailing list
----
mailto://[EMAIL PROTECTED]
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logil
On Tue, 18 Jan 2005 16:16:32 +0100, Thomas Heller wrote:
> Sylvain Thenault <[EMAIL PROTECTED]> writes:
>
>> Hi there !
>> I've noticed the following problem with python >= 2.3 (actually 2.3.4
>> and 2.4):
>>
>> [EMAIL PROTECTED]:test$ pytho
ite just ignore the wrong encoding declaration, or at
least raise a more appropriate exception. IMHO the first solution
would be better, since that's the behaviour of the (C) python interpreter.
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
it's not an easy
task today. Any thoughts ?
[1] http://www.logilab.org/projects/pylint
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 30 Dec 2004 16:56:17 +0100, Sylvain Thenault wrote:
> Hi there !
>
> I'm usually relying on the fact that pyc file are autogenerated when
> necessary (ie usually when the py file has been modified since the pyc
> creation). However, it doesn't seems to work cor
mport pylint
.>>> pylint.__file__
'/usr/lib/python2.3/site-packages/logilab/pylint/__init__.pyo'
The PYTHONPATH has not changed but the interpreter seems to take the first
pyo it finds, even if there is a more recent .py file before in the python
path. Should this behaviour b
ets translated to:
>
> 0 in l and l is False
>
> which yields False of course.
thanks, I had missed this part of the language reference !
Not yet found an misbehaviour in python... ;)
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
--
http://mail.python.org/mailman/listinfo/python-list
Hi there !
Can someone explain me the following behaviour ?
>>> l = []
>>> 0 in (l is False)
Traceback (most recent call last):
File "", line 1, in ?
TypeError: iterable argument required
>>> (0 in l) is False
True
>>> 0 in l is False
False
76 matches
Mail list logo