Re: merits of Lisp vs Python

2006-12-14 Thread Christophe
[EMAIL PROTECTED] a écrit : > Christophe wrote: >> Call us when you have an editor that reads your mind and writes the () >> for you. > > This is an irrelevancy. Typos that drop printing characters in either > language will generally cause changes to the seman

Re: merits of Lisp vs Python

2006-12-14 Thread Christophe
Robert Uhl a écrit : > Ken Tilton <[EMAIL PROTECTED]> writes: >> meanwhile, I have not seen how Python lets you avoid revisiting dozens >> of instances when changes to a mechanism are required. > > I think his solution would have been to use: > > def foo(**args): > > everywhere, and call it li

Re: Sorting on multiple values, some ascending, some descending

2007-01-04 Thread Christophe
[EMAIL PROTECTED] a écrit : > Raymond Hettinger: >> The simplest way is to take advantage of sort-stability and do >> successive sorts. For example, to sort by a primary key ascending and >> a secondary key decending: >>L.sort(key=lambda r: r.secondary, reverse=True) >>L.sort(key=lambda r:

Re: How to generate graphics dynamically on the web using Python CGI script?

2006-01-23 Thread Christophe
Steve Holden a écrit : > Debashis Dey wrote: > >> Hello, >> >> I have a python CGI program. I would like to show a graph within a >> HTML plage. I would like to dynamically generate the graph using the >> python CGI script on the web server side and send it to the browser. >> >> My question

Re: Best way to extract an item from a set of len 1

2006-01-26 Thread Christophe
Alex Martelli a écrit : > Fredrik Lundh <[EMAIL PROTECTED]> wrote: >... > >>the obvious solution is >> >>item = list(s)[0] >> >>but that seems to be nearly twice as slow as [x for x in s][0] >>under 2.4. hmm. > > > Funny, and true on my laptop too: > > helen:~ alex$ python -mtimeit -s

Re: Is there a way to profile underlying C++ code?

2006-01-26 Thread Christophe
Bo Peng a écrit : > Travis E. Oliphant wrote: > >> On Linux you can use oprofile (which is pretty nice and easy to use >> --- no recompiling. Just start the profiler, run your code, and stop >> the profiler). > > > Thank you very much for the tip. This is a great tool. > > The source of the

Re: Do other Python GUI toolkits require this?

2007-04-20 Thread Christophe
Nigel Rowe a écrit : > On Thu, 19 Apr 2007 19:11, Antoon Pardon wrote in comp.lang.python: >> On 2007-04-19, Michael Bentley <[EMAIL PROTECTED]> wrote: > > > >>> The learning curve is rather steep IMO, but worth it. >> Just a throw in remark, that you may ignore if you wish, but a steep >> lear

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-15 Thread Christophe
Stefan Behnel a écrit : > George Sakkis wrote: >> After 175 replies (and counting), the only thing that is clear is the >> controversy around this PEP. Most people are very strong for or >> against it, with little middle ground in between. I'm not saying that >> every change must meet 100% acceptan

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-16 Thread Christophe
[EMAIL PROTECTED] a écrit : > Steven D'Aprano wrote: >> I would find it useful to be able to use non-ASCII characters for heavily >> mathematical programs. There would be a closer correspondence between the >> code and the mathematical equations if one could write D(u*p) instead of >> delta(mu*pi).

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-16 Thread Christophe
[EMAIL PROTECTED] a écrit : > Christophe wrote: >> [EMAIL PROTECTED] a ecrit : >>> Steven D'Aprano wrote: >>>> I would find it useful to be able to use non-ASCII characters for heavily >>>> mathematical programs. There would be a closer correspond

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-16 Thread Christophe
René Fleschenberg a écrit : > Christophe schrieb: >> You should know that displaying and editing UTF-8 text as if it was >> latin-1 works very very well.s > > No, this only works for those characters that are in the ASCII range. > For all the other characters it does not

Re: Is PEP-8 a Code or More of a Guideline?

2007-05-31 Thread Christophe
Joe Riopel a écrit : >> Each requires exactly the same number of key strokes when I do the >> math. (Too lazy to explain further...) > > foo_bar > f, o, o, shift + underscore, b, a, r = 8 > fooBar > f, o, o, shift + b, a, r = 7 f, o, o, _, b, a, r = 7 f, o, o, shift + b, a, r = 8 Also the shift+

Re: python QT or python-GTK

2007-03-20 Thread Christophe
Dennis Lee Bieber a écrit : > Not enough experience here... I do know I never liked applications > targeted to the "Gnome" look, preferring KDE... So... which toolkit did > those desktops favor? > > wxWidgets, as I recall, is supposed to attempt to look "native" on > each OS. Well, wx

Re: Why NOT only one class per file?

2007-04-05 Thread Christophe
Chris Lasher a écrit : > A friend of mine with a programming background in Java and Perl places > each class in its own separate file in . I informed him that keeping > all related classes together in a single file is more in the Python > idiom than one file per class. He asked why, and frankly, hi

Re: pop() clarification

2007-04-12 Thread Christophe
Carl Banks a écrit : > On Apr 11, 3:10 pm, "7stud" <[EMAIL PROTECTED]> wrote: >> On Apr 11, 10:44 am, "Scott" <[EMAIL PROTECTED]> wrote: >> >> >> >>> As said before I'm new to programming, and I need in depth explaination to >>> understand everything the way I want to know it, call it a personality

Re: Help me understand this

2007-01-31 Thread Christophe
James Stroud a écrit : > Beej wrote: > (2).__add__(1) > > Nice. I would have never thought to put parentheses around an integer to > get at its attributes. > > James You can also do it like that : >>> 2 .__add__(1) 3 -- http://mail.python.org/mailman/listinfo/python-list

Re: How to ping and shutdown a remote computer?

2007-02-14 Thread Christophe
[EMAIL PROTECTED] a écrit : > I am working on a Python script to perform as a remote computer > manager. So far I have a WOL function working and I would like to add > the ability to show if a machine is on or off (I figured I would do so > by pinging the machine and seeing if I get a response). I

Re: Pep 3105: the end of print?

2007-02-27 Thread Christophe
Martin v. Löwis a écrit : > Neil Cerutti schrieb: >> On 2007-02-23, I V <[EMAIL PROTECTED]> wrote: >>> While that's true, C++ compiler vendors, for example, take >>> backwards compatibility significantly less seriously, it seems >>> to me. >> Compiler vendors usually take care of their customers w

Re: bug in modulus?

2006-04-27 Thread Christophe
[EMAIL PROTECTED] a écrit : > I think there might be something wrong with the implementation of > modulus. > > Negative float values close to 0.0 break the identity "0 <= abs(a % b) > < abs(b)". > > print 0.0 % 2.0 # => 0.0 > print -1e-010 % 2.0 # =>1.99 > > which is correct, but

Re: [Python-3000] bug in modulus?

2006-05-03 Thread Christophe
Guido van Rossum a écrit : > This is way above my head. :-) > > The only requirement *I* would like to see is that for floats that > exactly represent ints (or longs for that matter) the result ought of > x%y ought to have the same value as the same operation on the > corresponding ints (except if

Re: Possible constant assignment operators ":=" and "::=" for Python

2006-05-03 Thread Christophe
Fredrik Lundh a écrit : > [EMAIL PROTECTED] wrote: > > >>For example: >> >> >A = [] # let's declare a "constant" here >b = A # and let's assign the constant here >b.append('1') # OOPS! >c = A >print A >> >>['1'] >> >print b >> >>['1'] >> >print c >> >>['1'] >> >>As

Re: Because of multithreading semantics, this is not reliable.

2006-05-04 Thread Christophe
[EMAIL PROTECTED] a écrit : > Tim and Grant > > > if q.empty(): > return > > > Of course you explanation is understood and ideally should be included > as a note in the Python documentation. And the "not reliable" should > be removed from the documentation! > > Anyway, many than

Re: Possible constant assignment operators ":=" and "::=" for Python

2006-05-04 Thread Christophe
Fredrik Lundh a écrit : > Christophe wrote: > > >>That's easy, since A is a symbolic constant know at compile time, and >>since it's a known mutable objet, the code once compiled will be >>equivalent to: >> >> >>> b = [[]] >> &

Re: Because of multithreading semantics, this is not reliable.

2006-05-04 Thread Christophe
Olaf Meding a écrit : >>return result before that line, some other thread added a value ! > > > Sure, but that is the nature of using threads and a mutex. I hope you are > you not saying that every function that uses a mutex should have a comment > saying this is not "reliable"? That function

Re: Because of multithreading semantics, this is not reliable.

2006-05-04 Thread Christophe
[EMAIL PROTECTED] a écrit : > Christophe > > >>Same reason that there is a warning in the "os.access" manual > > > I understand the if file exists open it code. > > I looked at the os.access documentation and see no "warning" or "not >

Re: Possible constant assignment operators ":=" and "::=" for Python

2006-05-09 Thread Christophe
Fredrik Lundh a écrit : > Christophe wrote: > > >>I think you've made a mistake in your example. > > > >>> constant A = [] > >>> def foo(var): > ... var.append('1') > ... print var > ... &

Re: IDLE confusion

2006-05-16 Thread Christophe
Claudio Grondi a écrit : > MrBlueSky wrote: > >> Hi, I'm trying to use IDLE to develop My First Python App and my head >> hurts... >> >> I've a file called spalvi.py with this in it: >> from Test import * >> firstTest("Mike") >> >> And a file called Test.py with this in it: >> def firs

Re: IDLE confusion

2006-05-17 Thread Christophe
Terry Reedy a écrit : > "Christophe" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>Try in the IDLE menu [Shell] "Restart Shell" (Ctrl+F6) each time you >>have changed something in your files - this "resets" anything

Question about exausted iterators

2006-05-17 Thread Christophe
Is there a good reason why when you try to take an element from an already exausted iterator, it throws StopIteration instead of some other exception ? I've lost quite some times already because I was using a lot of iterators and I forgot that that specific function parameter was one. Exemple :

Re: Question about exausted iterators

2006-05-18 Thread Christophe
Terry Reedy a écrit : > "Christophe" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>Is there a good reason why when you try to take an element from an >>already exausted iterator, it throws StopIteration instead of some other >>except

Re: Tabs versus Spaces in Source Code ('semantic' vs. arbitrary indentation)

2006-05-18 Thread Christophe
Carl J. Van Arsdall a écrit : > glomde wrote: > >>> >> >> >> But If you work in a team it is kind of hard to make sure that >> everybody use tabs and not spaces. And it is not very easy to spot >> either. > > The converse can also be said, "it's difficult to make sure everyone > uses spa

Re: Tabs are *MISUNDERSTOOD*, *EVIL* AND *STUPID*, end of discussion. (Re: Tabs versus Spaces in Source Code)

2006-05-18 Thread Christophe
PoD a écrit : > On Wed, 17 May 2006 21:37:14 +0800, Andy Sy wrote: > > >>If tabs are easily misunderstood, then they are a MISfeature >>and they need to be removed. >> >>>From the Zen of Python: >> >>"Explicit is better than implicit..." >>"In the face of ambiguity, refuse the temptation to guess

Re: Question about exausted iterators

2006-05-18 Thread Christophe
looping a écrit : > Christophe wrote: > >>Ok, call me stupid if you want but I know perfectly well the "solution" >>to that problem ! Come on, I was showing example code of an horrible >>gotcha on using iterators. >> > > > OK, your are stupid

Re: Question about exausted iterators

2006-05-18 Thread Christophe
Fredrik Lundh a écrit : > Christophe wrote: > >> Because I'm still waiting for a valid answer to my question. The >> answer "Because it has been coded like that" or is not a valid one. > > > it's been coded like that because that's what th

Re: Question about exausted iterators

2006-05-18 Thread Christophe
Fredrik Lundh a écrit : > Christophe wrote: > >>>> Because I'm still waiting for a valid answer to my question. The >>>> answer "Because it has been coded like that" or is not a valid one. >>> >>> >>> it's been

Re: Question about exausted iterators

2006-05-18 Thread Christophe
Diez B. Roggisch a écrit : > Christophe wrote: > > >>Fredrik Lundh a écrit : >> >>>Christophe wrote: >>> >>> >>>>Because I'm still waiting for a valid answer to my question. The >>>>answer "Because it has been co

Re: Question about exausted iterators

2006-05-18 Thread Christophe
Roel Schroeven a écrit : > Fredrik Lundh schreef: >> so what is a valid answer? > > > I think he wants to know why the spec has been written that way. > > The rationale mentions exhausted iterators: > > "Once a particular iterator object has raised StopIteration, will > it also raise StopIterat

Re: Question about exausted iterators

2006-05-18 Thread Christophe
Fredrik Lundh a écrit : > Christophe wrote: > >> Maybe I've used more iterables than most of you. Maybe I've been doing >> that wrong. > > > your problem is that you're confusing iterables with sequences. they're > two different things. Yes,

Re: Complex evaluation bug

2006-05-19 Thread Christophe
Gary Herron a écrit : > of wrote: > >> a = 1+3j >> complex(str(a)) >> >> Why does this not work ? It should >> >> > Says who? > By normal conventions in Python, "str" attempts only to make a "nice" > human readable representation. The function "repr" is usually expected > to provide output th

Re: Tabs are *MISUNDERSTOOD*, *EVIL* AND *STUPID*, end of discussion. (Re: Tabs versus Spaces in Source Code)

2006-05-19 Thread Christophe
PoD a écrit : > Maybe what Python should do (but never will given the obsession with using > spaces) is only allow one level of indentation increase per block so that > > def foo(): > return 'bar' > > would return a syntax error Which would make mandatory for indentation. What about some freed

Re: Complex evaluation bug

2006-05-19 Thread Christophe
Fredrik Lundh a écrit : > Christophe wrote: > >>> So, putting them together, you could expect >>>eval(repr(a)) >>> to reproduce a, and in fact it does so. >> >> >> Says who ? >> >> Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC

Re: Question about exausted iterators

2006-05-19 Thread Christophe
Terry Reedy a écrit : > "Christophe" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>Instead of saying that all works as intended could you be a little >>helpful and tell me why it was intended in such an obviously broken way >>inst

Re: open file with whitespaces

2006-05-19 Thread Christophe
mardif a écrit : > Hi guys. > I've a very big big big problem: > > I've in my windows computer a file named cicciobello.html, located in > c:\documents and settings\username\desktop\cicciobello.html. > > Now, I MUST open this file with os.spawn(os.P_WAIT , because I must > wait the user cance

how to find out the version of a certain installed package

2008-09-30 Thread Christophe
are there other ways? thanks, Christophe -- http://mail.python.org/mailman/listinfo/python-list

Re: how to find out the version of a certain installed package

2008-09-30 Thread Christophe
great! thanks for you fast response. Christophe On Tue, Sep 30, 2008 at 6:30 PM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > On 2008-09-30 18:17, Christophe wrote: > > Hi, > > > > In a projecet I'm making using pycrypto, I need to find out the > > curren

Re: Why new Python 2.5 feature "class C()" return old-style class ?

2006-04-14 Thread Christophe
Aahz a écrit : > In article <[EMAIL PROTECTED]>, > Felipe Almeida Lessa <[EMAIL PROTECTED]> wrote: > >>Em Ter, 2006-04-11 Ã s 07:17 -0700, Aahz escreveu: >> >>>Can, yes. But should it? The whole point of adding the () option to >>>classes was to ease the learning process for newbies who don't >

deque and thread-safety

2012-10-12 Thread Christophe Vandeplas
oes what I need Thanks for your expertise. Christophe -- http://mail.python.org/mailman/listinfo/python-list

Re: deque and thread-safety

2012-10-12 Thread Christophe Vandeplas
Ok sorry for the mail, I found the solution by using deque.count(url) that's available starting from python 2.7 On Fri, Oct 12, 2012 at 2:40 PM, Christophe Vandeplas wrote: > Hello, > > I have a question about deque and thread-safety. > > My application has multiple threads

Re: Ten rules to becoming a Python community member.

2011-08-14 Thread Christophe Chong
I can't tell which comments are sarcastic On Aug 14, 2011, at 18:35, rantingrick wrote: > On Aug 14, 5:01 pm, Dave Angel wrote: > >> Interesting that when you complain about other's grammatical typos, >> you're so careless with your own. >> >> know -> now >> i -> I >> accustom -> accustomed >

Re: Floating point multiplication in python

2011-09-07 Thread Christophe Chong
04925e-16 2.22044604925e-16 > 1.1 0.0 1.11022302463e-16 2.22044604925e-16 > 1.1 0.0 0.0 0.0 > 1.1 0.0 0.0 0.0 > 1.1 0.0 1.38777878078e-17 0.0 > 1.1 0.0 6.93889390391e-18 0.0 > > So here we have reached the point where the maximum precision is reached - > a doesn't change anymo

[asyncio] Suggestion for a major PEP

2018-12-16 Thread Christophe Bailly
Hello, I copy paste the main idea from an article I have written: contextual async " Imagine you have some code written for monothread. And you want to include your code in a multithread environment. Do you need to adapt all your c

NamedTemporaryFile and mode a+rwx

2005-10-03 Thread christophe . delarue
Hi, I'd like to create a temporaty shell script. Therefore I use tempfile with NamedTemporaryFile. The problem is that the _mkstemp_inner create the file using 06000 code. Then the fdopen is called, but the stat of the file does not change to executable. Why the fdopen does not modify the mode of

Re: Developing Commercial Applications in Python

2005-01-03 Thread Christophe Cavalaria
[EMAIL PROTECTED] wrote: > Hello All, > I am trying to convince my client to use Python in his new product. He > is worried about the license issues. Can somebody there to point me any > good commercial applications developed using python ?. The licence > clearly says Python can be used for commer

Re: Newbie inheritance question.

2005-01-16 Thread Christophe Cavalaria
bwobbones wrote: > Hi all, > > I'm a java programmer struggling to come to terms with python - bear > with me! > > I'm trying to subclass a class, and I want to be able to see it's > attributes also. Here are my classes: > > two.py > * > from one import one > >

Re: Help on project, anyone?

2005-01-25 Thread Christophe Cavalaria
Fuzzyman wrote: > > Miki Tebeka wrote: >> Hello Fuzzyman, >> >> > 3) Simple Version Control program for single programmer. A very > simple >> > way of doing version control/releases for small projects with only > a >> > single programmer. [3] >> Subversion (and CVS) are dead simple to install and

Re: Daylight savings and getmtime

2005-01-28 Thread Christophe Cavalaria
Qvx wrote: > Hello, > > I'we written a simple web deployment program which scans for the > changes made to local copy of web site. Changed files are than > packaged into a zip file and deployed to web server. > > Now here's the catch. Changes are computed using (1) log file from the > last deplo

Re: limited python virtual machine (WAS: Another scripting language implemented into Python itself?)

2005-01-29 Thread Christophe Cavalaria
Steven Bethard wrote: > Fuzzyman wrote: > > Cameron Laird wrote: > > [snip..] > > > >>This is a serious issue. > >> > >>It's also one that brings Tcl, mentioned several > >>times in this thread, back into focus. Tcl presents > >>the notion of "safe interpreter", that is, a sub- > >>ordin

Re: ANN: PyDev 0.9.0 released

2005-02-04 Thread Christophe Cavalaria
Fabio Zadrozny wrote: > Hi All, > > PyDev - Python IDE (Python development enviroment for Eclipse) version > 0.9.0 has just been released. > > This release supports python 2.4 and has PyLint 0.6 integrated. > Code completion had some improvements too. > > Check the homepage for more details (ht

Re: Two questions on lambda:

2005-06-24 Thread Christophe Delord
hello, On Fri, 24 Jun 2005 14:48:16 +0200, Xavier Décoret wrote: > Hi, > > In the same spirit, how can I do to compute intermediary values in the > > body of a lambda function. Let's say (dummy example): > > f = lambda x : y=x*x,y+y > > > In languages like Caml, you can do: > > let f = func

Re: what list comprehension can't

2005-06-24 Thread Christophe Delord
> Do you mean: [(x==None and [0] or [x])[0] for x in L] or [{None:0}.get(x,x) for x in L] or [x or 0 for x in L] Well, the third solution doesn't exactly fit the specification but may be easier to read. Christophe -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython & Fedora Core 4

2005-07-22 Thread Christophe Lambin
libstdc++-33 (part of FC4), which has libstdc++.so.5. However, since your wxPython package wasn't built for FC4, you may run into other problems. Regards, Christophe -- http://mail.python.org/mailman/listinfo/python-list

RE: Why doesn't join() call str() on its arguments?

2005-02-17 Thread Christophe Cavalaria
Delaney, Timothy C (Timothy) wrote: > John Roth wrote: > >> result = "".join([str(x) for x in list]) > > As of 2.4, you should use a generator expression here instead (unless > you require backwards-compatibility with 2.3). > > result = ''.join(str(x) for x in iterable) > > Easier to read,

Re: set & random.choice question

2005-12-14 Thread Christophe Delord
> but I bet a "TypeError: unindexable object" error. Any suggestions for > an elegant workaround? What about somebody = random.choice(list(x)) ? Christophe. -- http://mail.python.org/mailman/listinfo/python-list

Re: merits of Lisp vs Python

2006-12-15 Thread Christophe Cavalaria
Paul Rubin wrote: > André Thieme <[EMAIL PROTECTED]> writes: >> def nif(num, pos, zero, neg): >>if num > 0: >> return pos >>else: >> if num == 0: >>return zero >> else: >>return neg > > def nif(num, pos, zero, neg): >return (neg, zero, pos)[cmp(num, 0)+1

Re: merits of Lisp vs Python

2006-12-16 Thread Christophe Cavalaria
Paul Rubin wrote: > Kirk Sluder <[EMAIL PROTECTED]> writes: >> Personally, I've always preferred use the imperative to describe >> basic math rather than the passive. This would seem to map better to >> RPN than infix. > > For writing down complicated, nested expressions too? That's very > unus

Re: Good Looking UI for a stand alone application

2006-12-17 Thread Christophe Cavalaria
Sandra-24 wrote: > On 12/16/06, The Night Blogger <[EMAIL PROTECTED]> wrote: >> Can someone recommend me a good API for writing a sexy looking (Rich UI >> like WinForms) shrink wrap application > >> My requirement is that the application needs to look as good on Windows >> as on the Apple Mac >

Re: Good Looking UI for a stand alone application

2006-12-17 Thread Christophe Cavalaria
Vincent Delporte wrote: > On Sun, 17 Dec 2006 09:37:04 +0100, [EMAIL PROTECTED] (Luc Heinrich) > wrote: >>Crossplatform toolkits/frameworks suck. All of them. No exception. If >>you want your app to look *AND* feel great on all platform, abstract the >>core of your application and embed it in plat

Re: DOS, UNIX and tabs

2006-12-28 Thread Christophe Cavalaria
Steven D'Aprano wrote: > On Thu, 28 Dec 2006 09:26:28 +0100, Sebastian 'lunar' Wiesner wrote: > >> It is, and especially the problems with tabs shows you, why it is good >> practice to follow the standard in your own code, too... > > I don't know what "problems" with tabs you are talking about.

Re: DOS, UNIX and tabs

2006-12-28 Thread Christophe Cavalaria
Felix Benner wrote: > Christophe Cavalaria schrieb: >> Steven D'Aprano wrote: > >> You gave the reason in your post : because other people who are using >> software that doesn't understand tabs as YOU expect them to have problems >> with your code. >&g

Re: Can I beat perl at grep-like processing speed?

2006-12-29 Thread Christophe Cavalaria
js wrote: > Just my curiosity. > Can python beats perl at speed of grep-like processing? > > > $ wget http://www.gutenberg.org/files/7999/7999-h.zip > $ unzip 7999-h.zip > $ cd 7999-h > $ cat *.htm > bigfile > $ du -h bigfile > du -h bigfile > 8.2M bigfile > > -- grep.pl -- >

Re: python , Boost and straight (but complex) C code

2006-12-30 Thread Christophe Cavalaria
Osiris wrote: > On Sat, 30 Dec 2006 13:19:28 -0800, Erik Max Francis <[EMAIL PROTECTED]> > wrote: > >>Osiris wrote: >> >>> I have these pieces of C-code (NOT C++ !!) I want to call from Python. >>> I found Boost. >>> I have MS Visual Studio 2005 with C++. >>> >>> is this the idea: >>> I write th

Re: pygtk question

2005-06-18 Thread Christophe Lambin
"RunLevelZero" <[EMAIL PROTECTED]> wrote: > Hopefully someone can help me out here. It's probably super simple but > how do you select multiple items in a treeview? I have > gtk.SELECTION_MULTIPLE set but of course that was enough. It should be enough to do this: treeview.get_selection

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-20 Thread Christophe Cavalaria
Istvan Albert wrote: > On May 19, 3:33 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > >> >That would be invalid syntax since the third line is an assignment >> > with target identifiers separated only by spaces. >> >> Plus, the identifier starts with a number (even though 6 is not DIGIT >

Re: Tabs are *MISUNDERSTOOD*, *EVIL* AND *STUPID*, end of discussion. (Re: Tabs versus Spaces in Source Code)

2006-05-20 Thread Christophe Cavalaria
Christopher Weimann wrote: > On 05/19/2006-07:18AM, Duncan Booth wrote: >> >> My experience of programming with either spaces or tabs has taught me >> that tabs are evil not for themselves, but simply because no matter how >> hard you try they always end up being mixed with spaces. >> > > Swap

PyCon FR - Journées Python

2008-03-23 Thread Christophe Combelles
PyCon FR will take place in Paris, France, 17-18 May 2008. The French Python Association (AFPY) is organizing this event called "Journées Python" for the second time. We expect most talks to be in french, but any proposal in english is also greatly welcome! You may submit your idea of talks and p

PyCon FR - Journées Python

2008-03-23 Thread Christophe Combelles
PyCon FR will take place in Paris, France, 17-18 May 2008. The French Python Association (AFPY) is organizing this event called "Journées Python" for the second time. We expect most talks to be in french, but any proposal in english is also greatly welcome! You may submit your idea of talks and p

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-20 Thread Christophe Rhodes
oint is that it is pretty much comparable to the C code in performance (the differences between this disassembly and gcc -O2 lie in the fact that SBCL's instruction scheduler is pretty much nonexistent on the PowerPC architecture). Christophe -- http://mail.python.org/mailman/listinfo/python-list

<    1   2