[issue18471] Typo in heapq documentation

2013-07-15 Thread François Pinard
New submission from François Pinard: Within http://docs.python.org/3/library/heapq.html#theory, a sentence begins with When an event schedule while it should be spelled When an event schedules. The same may be observed in Python 2 documentation. -- assignee: docs@python components

RELEASED: Pymacs 0.25

2012-05-10 Thread François Pinard
, and handle Emacs Lisp objects kept in Emacs Lisp space. For more information, see http://pymacs.progiciels-bpi.ca/ . You may fetch the distribution as one of: - https://github.com/pinard/Pymacs/tarball/v0.25 - https://github.com/pinard/Pymacs/zipball/v0.25 -- François Pinard http

RELEASED: Pymacs 0.25

2012-05-07 Thread François Pinard
, and handle Emacs Lisp objects kept in Emacs Lisp space. For more information, see http://pymacs.progiciels-bpi.ca/ . You may fetch the distribution as one of: - https://github.com/pinard/Pymacs/tarball/v0.25 - https://github.com/pinard/Pymacs/zipball/v0.25 -- François Pinard http

RELEASED: Pymacs 0.23

2008-02-15 Thread François Pinard
://pymacs.progiciels-bpi.ca/', and you may fetch `http://pymacs.progiciels-bpi.ca/archives/Pymacs.tar.gz'. Report problems and suggestions to `mailto:[EMAIL PROTECTED]'. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-announce-list

RELEASED: Pymacs 0.23

2008-02-14 Thread François Pinard
://pymacs.progiciels-bpi.ca/', and you may fetch `http://pymacs.progiciels-bpi.ca/archives/Pymacs.tar.gz'. Report problems and suggestions to `mailto:[EMAIL PROTECTED]'. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Comparing dictionaries, is this valid Python?

2005-12-13 Thread François Pinard
. Would someone know where I could find a confirmation that comparing dictionaries with `==' has the meaning one would expect (even this is debatable!), that is, same set of keys, and for each key, same values? -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman

Re: Comparing dictionaries, is this valid Python?

2005-12-13 Thread François Pinard
[Peter Hansen] it only says Comparison operations are supported by all objects [...] I'm not checking the 2.3.5 version, but that latest one is fairly clear on what comparisons on mappings do: http://docs.python.org/ref/comparisons.html Yes, indeed. Thanks a lot! -- François Pinard

Re: Bitching about the documentation...

2005-12-06 Thread François Pinard
[A.M. Kuchling] On Tue, 6 Dec 2005 00:05:38 -0500, François Pinard [EMAIL PROTECTED] wrote: It's a relatively recent phenomenon that maintainers go berzerk, foaming at the mouth over forms, borders, colors, and various other mania! :-) It's largely to ensure that the ideas aren't

Re: Bitching about the documentation...

2005-12-05 Thread François Pinard
, you happily move on towards them. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Bitching about the documentation...

2005-12-05 Thread François Pinard
of work overall, but at least, communication was easy going (usually). It's a relatively recent phenomenon that maintainers go berzerk, foaming at the mouth over forms, borders, colors, and various other mania! :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org

Re: Detect character encoding

2005-12-04 Thread François Pinard
, but this requires work and time, and is far from fully automated as one might dream. While some charsets could be guessed almost correctly by automatic means, most are difficult to recognise. The whole problem is not easy. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org

Re: Setting PYTHONPATH from Makefile

2005-12-02 Thread François Pinard
of the shell. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Estimating memory use?

2005-11-27 Thread François Pinard
. It might be worth a note in the documentation, somewhere appropriate. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: 3-dimensional plot in Python?

2005-11-16 Thread François Pinard
to become acquainted with R, the system and the language. But if you happen to do scientific works, this really is a worth investment. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: modify dictionary while iterating

2005-11-11 Thread François Pinard
, either: for k in a.keys(): if a[k] == 2: del a[k] or: for k in set(a): if a[k] == 2: del a[k] But in no way, you may directly iterate over the original dictionary while altering its keys, this is explicitly forbidden in Python. -- François

Re: Recompile AST?

2005-11-10 Thread François Pinard
-- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Vim IS a capable IDE [was Re: Vim capable IDE?]

2005-10-19 Thread François Pinard
to your liking (presuming you know how to program), writing them in Python. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Continuous system simulation in Python

2005-10-07 Thread François Pinard
, to tie the advancement control of the various active ODE solvers within the main loop of the discrete event scheduler. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Does python support the expression a = b | 1???

2005-10-05 Thread François Pinard
[Wenhua Zhao] a = b | 1 a = b if b != nil else a =1 Is there such expression in python? Hi. Merely write: a = b or 1 In Python, there is no `nil'. `a' will receive 1 instead of the value of `b' only if `b' is either zero, None, False, or empty in some way. -- François Pinard http

Re: PEP 350: Codetags

2005-09-30 Thread François Pinard
is for only one of them, meant for those cases where embedded spaces are not acceptable. Other ISO 8601 writings accept embedded spaces, and this is how ISO 8601 is generally used by people, so far that I can see. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman

Re: Parser suggestion

2005-09-30 Thread François Pinard
. But this is theoretical. In practice, FORTRAN programmers almost never resort to insane use of whitespace. So you may probably resort to easier, standard two-level analysis, rather than FORTRAN as formally defined, and still be winning! -- François Pinard http://pinard.progiciels-bpi.ca

Re: PEP 350: Codetags

2005-09-30 Thread François Pinard
the 8601 standard in that study. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Parser suggestion

2005-09-29 Thread François Pinard
, and does not have much to gain from recent Python releases, I do not see why it should be released once in a while merely to entertain the crowd. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: A Moronicity of Guido van Rossum

2005-09-29 Thread François Pinard
. The keybinding is known to the window manager (Openbox here), which launches a small Python script to update tables for the mail fetcher (another Python script), and the mail reader (Mutt in my case). All of this is very convenient. -- François Pinard http://pinard.progiciels-bpi.ca -- http

Let's enjoy this list! [Re: Re: cElementTree clear semantics]

2005-09-25 Thread François Pinard
, rather ignore or merely learn to killfile the (happily few) abusers we got. Enough said for now! Keep happy, all of you. :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: unittest setup

2005-09-25 Thread François Pinard
the copyright conditions are. This file also delegates copyright issues to individual files, which are usually silent on the matter. Could this whole issue be clarified? Or did I miss something I should not have? -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman

Re: NaN Vs None

2005-09-23 Thread François Pinard
values. My usual convention is that missing values propagate within booleans and behave like False when tested. Sometimes, I also need missing strings. That's more difficult to implement, because of the numerous string methods and ramifications. -- François Pinard http://pinard.progiciels

Re: Software bugs aren't inevitable

2005-09-15 Thread François Pinard
properly understood and applied. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Why do Pythoneers reinvent the wheel?

2005-09-10 Thread François Pinard
, but the concepts were already there. In computer science, I often saw old concepts resurrecting with new names, and then mistaken for recent inventions. New ideas are not so frequent... -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: using % operator to print possibly unitialized data attributes

2005-09-09 Thread François Pinard
be a string (well balanced with regard to parentheses) which you may then choose to evaluate, for any definition of evaluate which is fruitful for your application. :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Decrypting GPG/PGP email messages

2005-09-02 Thread François Pinard
requests, that is, including a sequence number within the message, each originator his sequence. A digital signature prevents someone from tampering with the sequence number without being detected. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python

Re: Fighting Spam with Python

2005-08-26 Thread François Pinard
be useful, for someone involved like you are (thanks for all of us!), that you make a survey of those others, trying to understand why they failed to acquire popularity, not repeating the same errors if any. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo

Re: Fighting Spam with Python

2005-08-25 Thread François Pinard
reputable senders will join the 15%, and the 5% will shrink to where we can ignore it. It's fun to read statistics about a vision! :-) You might find www.spambayes.org of interest, in several ways. Spambayes is surprisingly good as it already stands. -- François Pinard http://pinard.progiciels

Re: Binary Trees in Python

2005-08-21 Thread François Pinard
. However, things related to balancing, finding paths between nodes, or searching for patterns, etc. may require more work. There are surely a flurry of tree algorithms out there. What are the actual needs you have, and would want to see covered by a library? -- François Pinard http

How to devise run-time pluggable classes? (MRO problem)

2005-08-20 Thread François Pinard
(in a non-reentrant way) for a particular plugin. This is a lesser constraint, because it occurs only occasionally, and I presume that we could afford unusual stunts whenever necessary. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: creating/modifying sparse files on linux

2005-08-17 Thread François Pinard
either.) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Recommendations for CVS systems

2005-08-10 Thread François Pinard
[Aahz] For anything mission-critical, I wouldn't want to rely on a free license. For anything mission-critical, I wouldn't want to rely on closed sources... Could the best be open source and non-free license? :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org

Re: Recommendations for CVS systems

2005-08-09 Thread François Pinard
definite assertion against Subversion. Having Perforce better does not necessarily makes Subversion bad. So my question. :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: [ANN] pylint 0.7

2005-08-04 Thread François Pinard
nos approches ont quelques atomes crochus! :-) Si oui, cela peut ouvrir la porte à quelques bonnes discussions sur l'art et la manière, en Python. Ma mère disait parfois: Des goûts et des couleurs, on ne discute pas. Mais il y en a de meilleurs que d'autres. -- François Pinard http

Re: keylogger in Python

2005-07-31 Thread François Pinard
the keyboard and with it, the capability of switching terminals, so you have to devise some extra machinery for restoring the keyboard into a usable state. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: keylogger in Python

2005-07-31 Thread François Pinard
, this is not all evident, and probably too much of a challenge for a beginner. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Difference between and '

2005-07-22 Thread François Pinard
, like with SPARK, or any other machine data, triple-single quotes are mandatory by my own convention. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Difference between and '

2005-07-22 Thread François Pinard
. Not that it occurs that often! :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Difference between and '

2005-07-22 Thread François Pinard
[Terry Hancock] On Friday 22 July 2005 08:09 am, François Pinard wrote: [Robert Kern] One habit that seems to crop up, though, is that I will use '' for internal strings and for strings that will eventually get seen by the user. Don't ask me why. One sure thing

Re: automatically assigning names to indexes

2005-07-12 Thread François Pinard
- yy2) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: computer algebra packages

2005-07-10 Thread François Pinard
was not successful googling for this one. Would you have an URL handy? -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: computer algebra packages

2005-07-10 Thread François Pinard
[Robert Kern] François Pinard wrote: [Florian Diesch] Mascyma is (trying to be) a user-friendly graphical frontend for the Computer Algebra System GNU MAXIMA. It is written in Python and provides two GUIs, one of which based on PyGTK, the other based on wxPython. I

Re: f*cking re module

2005-07-08 Thread François Pinard
to be helpful by spitting pages of: Error SUCH AND SUCH, assuming that THIS AND THIS was meant. and continuing compilation nevertheless. It was a common joke to say that PL/I would compile some random valid program out of any garbage! -- François Pinard http://pinard.progiciels-bpi.ca -- http

Compiler error recovery [was: Re: f*cking re module]

2005-07-08 Thread François Pinard
[Rocco Moretti] François Pinard wrote: I once worked with a PL/I compiler (on a big IBM mainframe), which was trying to be helpful by spitting pages of: Error SUCH AND SUCH, assuming that THIS AND THIS was meant. and continuing compilation nevertheless. It was a common joke to say

Re: distutils is able to handle...

2005-07-08 Thread François Pinard
Bram Moolenaar's A-A-P tool (see http://www.a-a-p.org). This is implemented in Python, but does not force people into Python syntax for Makefiles. It might be a nicer compromise. As usual from Bram, documentation is abundant and useful. -- François Pinard http://pinard.progiciels-bpi.ca

Re: Lisp development with macros faster than Python development?..

2005-07-06 Thread François Pinard
, and an interesting community of users. These probably make most of the difference. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: f*cking re module

2005-07-05 Thread François Pinard
. :) Hey! The question, not the person! One might say the subject, but then, it has to be the subject of the message, of course! :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: map/filter/reduce/lambda opinions and background

2005-07-01 Thread François Pinard
/ Scheme are very OK! Usable for a wide range of applications, including system' -- with the proper choices, they can be fairly speedy as well. Yet, for ubiquitous and day-to-day work, Python is nicer! :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman

Re: Assigning to None (was Re: Question about Python)

2005-07-01 Thread François Pinard
, which was then accessed faster than the global thing. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Assigning to None

2005-07-01 Thread François Pinard
)[:2] would work better. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Assigning to None

2005-07-01 Thread François Pinard
! :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: staticmethod and classmethod

2005-05-26 Thread François Pinard
. -- [1] I already found out a good while ago, in many other cases unrelated to this one, but notably in metaclasses, that `self' is often (not always) clearer than `cls'. Classes are objects, too! :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman

German spam event [was: Re: Schily ueber Deutschland]

2005-05-15 Thread François Pinard
. At the same time, I noticed an increase of German-written spam filtering through a few lists I'm subscribed to, and the Python list among others. Such forged From appears all the time as far as I am concerned, and had for years now. But something significant happened this weekend. -- François Pinard

Re: pyvm -- faster python

2005-05-12 Thread François Pinard
. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: How return no return ?

2005-05-12 Thread François Pinard
. A function always have a value. I do not understand the need of not returning anything. What do you mean? What is the real need? [...] pass don't run too. `pass' surely runs. However, `pass' is not a `return' statement. -- François Pinard http://pinard.progiciels-bpi.ca -- http

Re: pyvm -- faster python

2005-05-12 Thread François Pinard
[Paul Rubin] François Pinard [EMAIL PROTECTED] writes: Deep down, why or how not having a [traditional, to-native-code] compiler is a deficiency for CPython? We already know that such a beast would not increase speed so significantly, while using much more memory. I'd say

Re: pyvm -- faster python

2005-05-10 Thread François Pinard
project is very likely to die if you keep your sources closed, and yourself loose interest in the project. Opening your sources is no guarantee either that the community will adopt your project. But this might give your project a better chance. -- François Pinard http://pinard.progiciels-bpi.ca

Re: Q: The `print' statement over Unicode

2005-05-07 Thread François Pinard
[Thomas Heller] François Pinard [EMAIL PROTECTED] writes: [...] given file `question.py' with this contents: # -*- coding: UTF-8 -*- texte = unicode(Fran\xe7ois, 'latin1') print type(texte), repr(texte), texte print type(texte), repr(texte), str(texte) doing `python

Re: Q: The `print' statement over Unicode

2005-05-07 Thread François Pinard
[Martin von Löwis] François Pinard wrote: Am I looking in the wrong places, or else, should not the standard documentation more handily explain such things? It should, but, alas, it doesn't. Contributions are welcome. My contributions are not that welcome. If they were, the core team

Re: How To Reply

2005-05-04 Thread François Pinard
) knows about digests. (Moreover, with not so much trickery, it is Python extensible. I vaguely remember having written one or two Python backends for Gnus.) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Q: The `print' statement over Unicode

2005-05-04 Thread François Pinard
, or to my way of understanding it? -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: WordPress Python Library 1.0

2005-05-02 Thread François Pinard
. If you want to raise our appetite, maybe a few words of introduction or explanation would be welcome. :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: compare two voices

2005-05-01 Thread François Pinard
reluctant at sharing advanced algorithms, as these give them industrial advantage over competitors. I try to use the value returned from rms(add(a, mul(b, -findfactor(a, b as the score. But the result is not good. Oh, absolutely no chance that such a simple thing would ever work. :-) -- François

Rudeness on this list [Re: rudeness was: Python licence again]

2005-04-24 Thread François Pinard
were getting discouraged by the lack of fuel, eventually leaving for elswehere. Nice times indeed! :-). -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: def a((b,c,d),e):

2005-04-19 Thread François Pinard
[George Sakkis] François Pinard wrote: The most useful place for implicit tuple unpacking, in my experience, is likely at the left of the `in' keyword in `for' statements (and it is even nicer when one avoids extraneous parentheses). ... and would be nicest (IMO) if default arguments

Re: def a((b,c,d),e):

2005-04-19 Thread François Pinard
shows. Yet, already, as it stands, argument passing in Python is not innocuous. A bit more, a bit less, nobody would notice! :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: def a((b,c,d),e):

2005-04-18 Thread François Pinard
of the `in' keyword in `for' statements (and it is even nicer when one avoids extraneous parentheses). -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Compute pi to base 12 using Python?

2005-04-14 Thread François Pinard
! :-) Easy, as I have a few Python programs doing various scale computations -- I should try to bundle these together somewhere in my personal Web site, some day... -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Compute pi to base 12 using Python?

2005-04-14 Thread François Pinard
[Bengt Richter] It might also be interesting to keep a running sum of the base 12 values and use sum % 88 to select piano keys, to let it walk intervals outside of a single octave ;-) The generated would then run from the low octaves to high octaves monotically, then start over again and

Re: Lambda: the Ultimate Design Flaw

2005-04-07 Thread François Pinard
it, rather say Python will eventually have only one way to do it, and with such a wording, nobody will not be mislead. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Lambda: the Ultimate Design Flaw

2005-04-06 Thread François Pinard
friendly argument is sliding away from was it originally was. The point was about not asserting in this forum that Python has only one way to do it, because this is not true anymore. The principle has been, it may be back in some distant future, but now it is not. -- François Pinard http

Re: Best editor?

2005-04-06 Thread François Pinard
session. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Best editor?

2005-04-06 Thread François Pinard
[John J. Lee] François Pinard [EMAIL PROTECTED] writes: [...] Overall, Vim is also cleaner than Emacs, and this pleases me. [...] Is this still true when comparing XEmacs vs. vim? (rather than GNU Emacs vs. vim) I've always used GNU Emacs, but I have got the impression that XEmacs

Re: Best editor?

2005-04-05 Thread François Pinard
power and flexibility for almost free, assuming and given that you already are a Python lover. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: sparse sets of integers?

2005-04-04 Thread François Pinard
be represented as sorted files of numbers. Slower, but set operations would also be easy to write. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Lambda: the Ultimate Design Flaw

2005-04-01 Thread François Pinard
ideals. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Lambda: the Ultimate Design Flaw

2005-04-01 Thread François Pinard
is what it became and now is. Let's not define it as a memory from the past nor as a futuristic dream. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Specifying __slots__ in a dynamically generated type

2005-03-27 Thread François Pinard
to `type'. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

[Tutor] Re: What is object()

2005-03-24 Thread François Pinard
[Hameed Khan] and what are new style classes?. http://www.python.org/2.2.3/descrintro.html is a good read on this subject. -- François Pinard http://www.iro.umontreal.ca/~pinard ___ Tutor maillist - Tutor@python.org http://mail.python.org

Re: intrusive posts

2005-03-23 Thread François Pinard
contents on his/her own. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: a program to delete duplicate files

2005-03-12 Thread François Pinard
in probabilistic algorithms for the determination of number primality. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: shuffle the lines of a large file

2005-03-07 Thread François Pinard
). That's long ago, but if I remember well, Knuth did not consider this as an easy exercise. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: shuffle the lines of a large file

2005-03-07 Thread François Pinard
[Heiko Wundram] Replying to oneself is bad, [...] Not necessarily. :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: Trees

2005-02-25 Thread François Pinard
...' modules. cheers, Alex. P.S. - Your signature and company disclaimer use more than 30 lines. That's really a lot. I hope you can bring them down to reason! :-) -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: [ANN] Python 2.4 Quick Reference available

2005-02-20 Thread François Pinard
, but until such changes are announced, I've no reason to doubt them :-). All in all, `file' is now probably to be considered safer than `open', despite Guido advises to prefer `open'. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: What's wrong with `is not None`?

2005-02-09 Thread François Pinard
. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: A great Alan Kay quote

2005-02-09 Thread François Pinard
rather far from the There is only one way to do it! that once was Python motto. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: a new Perl/Python a day

2005-01-10 Thread François Pinard
useful to me. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list

Re: A rational proposal

2004-12-20 Thread François Pinard
on that machine. -- François Pinard http://pinard.progiciels-bpi.ca #!/usr/bin/env python # Copyright 2000 Progiciels Bourbeau-Pinard inc. # Franois Pinard [EMAIL PROTECTED], 2000. def Fraction(num, den=1, tolerance=0): \ Return the _simplest_ fraction approximating NUM/DEN, given

Re: Sorting in huge files

2004-12-09 Thread François Pinard
is that it could very reasonably work, despite requiring almost no development time. -- François Pinard http://pinard.progiciels-bpi.ca -- http://mail.python.org/mailman/listinfo/python-list