Re: Please help: pylint does not work with Emacs23 on Windows

2010-10-04 Thread Alexandre Fayolle
mailing list (info at http://lists.logilab.org/mailman/listinfo/python- projects). Regards, -- Alexandre Fayolle Logilab -- http://mail.python.org/mailman/listinfo/python-list

Re: Please help: pylint does not work with Emacs23 on Windows

2010-10-04 Thread Alexandre Fayolle
Alexandre Fayolle wrote: > Dsrt Egle wrote: > >> Hi, >> >> I am trying to use Pylint with Emacs on Windows XP. My Emacs version >> is EmacsW32 23.1, pylint is 0.21.3 with Python 2.5. After easy_install >> pylint, I added the code block below to Emacs

Re: Windows debugging symbols for python 2.5.4 and pywin32 214

2010-04-23 Thread Alexandre Fayolle
On Friday 23 April 2010 08:36:01 Mark Hammond wrote: > On 22/04/2010 7:23 AM, Alexandre Fayolle wrote: > > Hi everyone, > > > > I have a production server running a Windows Service written in Python, > > which uses python 2.5.4 (yes I know it is old, but I am somewhat

Windows debugging symbols for python 2.5.4 and pywin32 214

2010-04-21 Thread Alexandre Fayolle
e and understand what causes this. Any hint towards what could cause that stack overflow would be welcome too. The application is multithreaded (and uses pyro and twisted). I can provide more information for the curious. Many thanks. -- Alexandre Fayolle Logilab, Paris, France. -- http://mail.pytho

Re: [pylint] why pylint wants only capitals identifiers?

2010-04-19 Thread Alexandre Fayolle
top level "variables" in real code are often constants and pylint tries to help you get rid of global variables. --- frmsrcurl: http://compgroups.net/comp.lang.python/-pylint-why-pylint-wants-only-capitals-identifiers -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: Pylint bug day, 2nd edition

2010-03-23 Thread Alexandre Fayolle
On Monday 22 March 2010 18:38:07 Alexandre Fayolle wrote: > .. _pylint bugs day: https://www.logilab.net/elo/blogentry/18781 Correct link is : http://www.logilab.org/blogentry/18781 Sorry for the inconvenience. -- Alexandre Fayolle LOGILAB, Paris (Fra

Re: Are there any AOP project in python community?

2006-08-04 Thread Alexandre Fayolle
Le 02-08-2006, steve <[EMAIL PROTECTED]> nous disait: > I mean Aspect-Oriented Programming. > If any please give me some of links. > Thanks a lot. You may want to look at http://www.logilab.org/projects/aspects -- Alexandre Fayolle LOGILAB, Paris (Fra

Re: pylab doesn't find numpy on Windows

2006-06-13 Thread Alexandre Fayolle
get > >>>> from pylab import * > > ImportError: No module named Numeric > > I have numpy 0.9.8 installed in both places too. it is trying to load Numeric python. You need to configure matplotlib to use numpy by saying numerix : numpy i

Re: argmax

2006-06-01 Thread Alexandre Fayolle
Le 01-06-2006, David <[EMAIL PROTECTED]> nous disait: > 1. Why is there no argmax built-in? > (This would return the index of the largest element in a sequence.) You'll get argmin and argmax in Numeric and its descendants (numarray and numpy). --

Re: default argument values qns

2006-06-01 Thread Alexandre Fayolle
by arg2", which is quite different, especially because it can change during the execution of the program. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure

Re: using import * with GUIs?

2006-05-31 Thread Alexandre Fayolle
when using Numeric/numarray/numpy is import Numeric as N Importing Tkinter as tk is imo worth it. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.

Re: string.count issue (i'm stupid?)

2006-05-22 Thread Alexandre Fayolle
... index = string.find(substring, index) ... if index < 0: ... return count ... else: ... count += 1 ... index += 1 ... >>> count_all("a_a_a_a_", '_a_') 3 -- Alexandre Fayolle

Re: Unicode digit to unicode string

2006-05-16 Thread Alexandre Fayolle
Le 16-05-2006, Gabriele <[EMAIL PROTECTED]> nous disait: > Hi, I have a unicode digit stored into a variable ('0020' for example) > and I'd like to retrieve the corrisponding unicode character based on > the current encoding. How can i do that ? use the unichr bu

Re: Tuple assignment and generators?

2006-05-05 Thread Alexandre Fayolle
erning in e.g. the JVM > (and I bet they have a similar scheme to boxed number object allocation as > python has). String interning is available in Python too, by using the intern() builtin function. -- Alexandre Fayolle LOGILAB, Paris (France) Form

Re: Job opportunity in France

2006-05-05 Thread Alexandre Fayolle
on these forums. -- Alexandre Fayolle 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.l

Re: Unicode code has no method float() ?

2006-05-04 Thread Alexandre Fayolle
ct) instead of a method. -- Alexandre Fayolle 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.logi

Re: PyLint results?

2006-04-24 Thread Alexandre Fayolle
Wesley). These are typical so called "code smells" which can be solved using for instance the "Extract Method" refactoring. Of course, it all depends on the kind of program you are working, and sometimes using intermediate variables helps understanding the code (by providing usefu

[ANN] pyqonsole-0.2.0

2006-02-16 Thread Alexandre Fayolle
blazingly fast XTerm replacement. Download: http://www.logilab.org/projects/pyqonsole Mailing List: http://www.logilab.org/mailinglists/python_projects -- Alexandre Fayolle LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org

[ANN] pyqonsole-0.2.0

2006-02-15 Thread Alexandre Fayolle
blazingly fast XTerm replacement. Download: http://www.logilab.org/projects/pyqonsole Mailing List: http://www.logilab.org/mailinglists/python_projects -- Alexandre Fayolle LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org

morphological image processing in Python

2005-10-03 Thread Alexandre Fayolle
dvance for any advice. [1] http://www.mmorph.com/pymorphpro/index.html [2] http://www.itk.org/ -- Alexandre Fayolle LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP 350: Codetags

2005-09-27 Thread Alexandre Fayolle
make a quick note that pylint [1] already has some limited support for this, though it was developed independently from this PEP. We will most probably add more complete support for codetags based on this PEP in a future release of pylint. [1] http://www.logilab.org/projects/pylint/

Re: ANN: python-constraint 1.0

2005-07-07 Thread Alexandre Fayolle
e which has been available from some time at: http://www.logilab.org/projects/constraint/ Gustavo, maybe we should coordinate and merge our efforts? -- Alexandre Fayolle LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab