Re: [Pylint-dev] Pylint 1.5.0 / Astroid 1.4.1 released

2015-12-01 Thread Sylvain Thénault
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

[ANN] Pylint 1.2 released

2014-04-22 Thread Sylvain Thénault
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

Pylint 1.0 released

2013-08-06 Thread Sylvain Thénault
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

Astroid 1.0 released

2013-08-02 Thread Sylvain Thénault
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

fixed broken links for the latest pylint/astng release

2013-03-04 Thread Sylvain Thénault
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 --

Re: [ANN] PyLint 0.27 / logilab-astng 0.24.2

2013-03-04 Thread Sylvain Thénault
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

[ANN] PyLint 0.27 / logilab-astng 0.24.2

2013-02-28 Thread Sylvain Thénault
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

[ANN] pylint 0.26 / logilab-astng 0.24.1

2012-10-08 Thread Sylvain Thénault
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

[ANN] Pylint 0.25.2 / ASTNG 0.24 / logilab-common 0.58.1 released

2012-07-18 Thread Sylvain Thénault
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

[ANN] (probably) last version of Pylint supporting python 2.3 released

2010-09-28 Thread Sylvain Thénault
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

pylint bugs day #2 tomorrow

2010-04-15 Thread Sylvain Thénault
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

Re: [ANN] pylint 0.19 / astng 0.19.2

2009-12-18 Thread Sylvain Thénault
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/

[ANN] pylint 0.19 / astng 0.19.2

2009-12-18 Thread Sylvain Thénault
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

[ANN] pylint 0.18.1 / astng 0.19.1

2009-08-27 Thread 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 --

weird try/finally behaviour

2009-04-10 Thread Sylvain Thénault
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

Re: [ANN] pylint 0.18 / logilab-astng 0.19 / logilab-common 0.39

2009-03-26 Thread Sylvain Thénault
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 _

Re: [ANN] pylint 0.18 / logilab-astng 0.19 / logilab-common 0.39

2009-03-25 Thread Sylvain Thénault
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

Re: [ANN] pylint 0.18 / logilab-astng 0.19 / logilab-common 0.39

2009-03-25 Thread Sylvain Thénault
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,

[ANN] pylint 0.18 / logilab-astng 0.19 / logilab-common 0.39

2009-03-25 Thread Sylvain Thénault
-- 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

Setuptools & Python 3.0

2009-02-14 Thread Sylvain Rabot
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

[ANN] logilab-astng 0.17.4

2008-11-19 Thread Sylvain Thénault
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

Re: cgi, parse_header and semi-colon

2008-06-07 Thread Sylvain
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.

cgi, parse_header and semi-colon

2008-06-06 Thread Sylvain
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

[ANN] pylint 0.14 / logilab-astng 0.17.2

2008-01-14 Thread Sylvain Thénault
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

Re: Constructor of object

2007-03-14 Thread Sylvain Defresne
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

[ANN] pylint 0.13 / astng 0.17

2007-03-01 Thread Sylvain Thénault
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

[ANN] pylint 0.12.2 / astng 0.16.3

2006-11-23 Thread Sylvain Thénault
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

class method question

2006-10-25 Thread Sylvain Ferriol
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

Re: is it a bug ?

2006-10-23 Thread Sylvain Ferriol
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

Re: is it a bug ?

2006-10-23 Thread Sylvain Ferriol
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__'

is it a bug ?

2006-10-23 Thread Sylvain Ferriol
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

Re: [IronPython] [ANN] IronPython Community Edition 1.0r2

2006-09-29 Thread Sylvain Hellegouarch
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

[ANN] logilab-common 0.19.2

2006-09-26 Thread Sylvain Thénault
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:

[ANN] pylint 0.12.1

2006-09-26 Thread Sylvain Thénault
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

[ANN] logilab-astng 0.16.1

2006-09-26 Thread Sylvain Thénault
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:

Re: a new object definition

2006-09-04 Thread Sylvain Ferriol
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

Re: a new object definition

2006-09-01 Thread Sylvain Ferriol
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

Re: a new object definition

2006-09-01 Thread Sylvain Ferriol
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

a new object definition

2006-09-01 Thread Sylvain Ferriol
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

[ANN] PyLint 0.11 / astng 0.16

2006-04-20 Thread Sylvain Thénault
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

[ANN] devtools 0.8

2006-01-10 Thread Sylvain Thénault
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://

[ANN] APyCoT 0.8

2006-01-10 Thread Sylvain Thénault
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

[ANN] logilab-common 0.13

2006-01-10 Thread Sylvain Thénault
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

[ANN] PyLint 0.9

2006-01-10 Thread Sylvain Thénault
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

[ANN] astng 0.14

2006-01-10 Thread Sylvain Thénault
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

Re: Logging: Formatter: name of the function

2005-12-23 Thread Sylvain Defresne
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

[ANN] pylint 0.8.1

2005-11-07 Thread Sylvain Thénault
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

[ANN] ASTNG 0.13.1

2005-11-07 Thread Sylvain Thénault
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

[ANN] PyLint 0.8

2005-10-22 Thread Sylvain Thénault
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

[ANN] ASTNG 0.13

2005-10-22 Thread Sylvain Thénault
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

Re: Problem with long strings in the Boost.Python getting_started2 sample ?

2005-09-30 Thread Sylvain MARIE
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

Problem with long strings in the Boost.Python getting_started2 sample ?

2005-09-29 Thread Sylvain MARIE
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

__getattribute__ for class object

2005-08-12 Thread Sylvain Ferriol
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

Re: .pth files

2005-08-09 Thread Sylvain Thenault
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

.pth files

2005-08-09 Thread Sylvain Thenault
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

Re: [ANN] pylint 0.7

2005-08-05 Thread Sylvain Thénault
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

Re: [ANN] pylint 0.7

2005-08-05 Thread Sylvain Thenault
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

[ANN] pylint 0.7

2005-05-27 Thread Sylvain Thénault
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

Re: twisted jabber and xmlstream

2005-05-04 Thread Sylvain Thenault
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

Re: Coding Standards (and Best Practices)

2005-04-27 Thread Sylvain Thenault
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

connection refused when uploading a package to pypi

2005-04-14 Thread Sylvain Thenault
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

[ANN] pylint 0.6.4

2005-04-14 Thread Sylvain Thénault
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

Re: making symlinks with distutils

2005-02-04 Thread Sylvain Thenault
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

Re: making symlinks with distutils

2005-02-04 Thread Sylvain Thenault
$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

Re: making symlinks with distutils

2005-02-04 Thread Sylvain Thenault
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

Re: Next step after pychecker

2005-02-02 Thread Sylvain Thenault
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

Re: Next step after pychecker

2005-02-01 Thread Sylvain Thenault
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

Re: Maximum Number of Class Attributes

2005-01-26 Thread Sylvain Thenault
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

[ANN] PyLint 0.6

2005-01-21 Thread Sylvain Thenault
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

Re: MemoryError with parser.suite and wrong encoding declaration

2005-01-18 Thread Sylvain Thenault
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

MemoryError with parser.suite and wrong encoding declaration

2005-01-18 Thread Sylvain Thenault
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

Re: PyChecker messages

2005-01-11 Thread Sylvain Thenault
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

Re: import with "python -O"

2004-12-30 Thread Sylvain Thenault
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

import with "python -O"

2004-12-30 Thread Sylvain Thenault
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

Re: weird behaviour of "0 in [] is False"

2004-11-30 Thread Sylvain Thenault
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

weird behaviour of "0 in [] is False"

2004-11-30 Thread Sylvain Thenault
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