Re: best way to increment an IntVar?

2010-06-23 Thread Ben Finney
De Beauvoir | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Why is obfuscation considered so magical? (was: Why Is Escaping Data Considered So Magical?)

2010-06-26 Thread Ben Finney
nformation you freely posted to the internet? -- \ “If you do not trust the source do not use this program.” | `\—Microsoft Vista security dialogue | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Why are String Formatted Queries Considered So Magical?

2010-06-27 Thread Ben Finney
“In the long run, the utility of all non-Free software | `\ approaches zero. All non-Free software is a dead end.” —Mark | _o__)Pilgrim, 2006 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: I strongly dislike Python 3

2010-06-27 Thread Ben Finney
with something new is to remove the old, > after showing that the new works. […] +1 QOTW -- \“Perchance you who pronounce my sentence are in greater fear | `\ than I who receive it.” —Giordano Bruno, burned at the stake by | _o__) the Catholic church for the heresy of helioce

Re: Why are String Formatted Queries Considered So Magical?

2010-06-27 Thread Ben Finney
Carl Banks writes: > On Jun 27, 4:35 pm, Ben Finney wrote: > > Carl Banks writes: > > > Seriously, almost every other kind of library uses a binary API. > > > > Except for the huge number that deal with text protocols or languages. > > No, not really. Almos

Re: Why are String Formatted Queries Considered So Magical?

2010-06-27 Thread Ben Finney
Carl Banks writes: > On Jun 27, 8:33 pm, Ben Finney wrote: > > Carl Banks writes: > > > I'm disappointed, usually when you sit on your reinforced soapbox and > > > pretense the air of infinite expertise you at least use reasonable > > > logic. > >

Re: optparse TypeError

2010-06-28 Thread Ben Finney
e already failed.” —Peter Lee, Disney corporation, | _o__) 2005 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: dynamically modify help text

2010-06-28 Thread Ben Finney
string" -- \ “All television is educational television. The question is: | `\ what is it teaching?” —Nicholas Johnson | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: I strongly dislike Python 3

2010-06-30 Thread Ben Finney
ystrokes. None of that is true for the parens. -- \ “I turned to speak to God/About the world's despair; But to | `\ make bad matters worse/I found God wasn't there.” —Robert Frost | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: I strongly dislike Python 3

2010-06-30 Thread Ben Finney
Steven D'Aprano writes: > On Thu, 01 Jul 2010 13:13:53 +1000, Ben Finney wrote: > > > Steven D'Aprano writes: > >> I suppose in principle those extra three key presses (shift-9 > >> shift-0 vs space) could be the straw that breaks the camel's bac

Solutions for hand injury from computer use (was: I strongly dislike Python 3)

2010-06-30 Thread Ben Finney
oosely-couple the hell out of everything.” —Aahz | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Extract doc strings

2010-07-01 Thread Ben Finney
doc__’ attribute? -- \ “Time is the great legalizer, even in the field of morals.” | `\ —Henry L. Mencken | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Extract doc strings

2010-07-01 Thread Ben Finney
sy today. I just pretty much layed around in my | `\underwear all day. … Got kicked out of quite a few places, | _o__) though.” —Bug-Eyed Earl, _Red Meat_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: The real problem with Python 3 - no business case for conversion

2010-07-02 Thread Ben Finney
urself in the set of “Python 3 enthusiasts”, why do you keep demanding that they do something you expressly don't care about? -- \ “If you do not trust the source do not use this program.” | `\—Microsoft Vista security dialogue | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3 put-downs: What's the point?

2010-07-04 Thread Ben Finney
development, 2002 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: The real problem with Python 3 - no business case for conversion

2010-07-07 Thread Ben Finney
e-codebase burden will only increase over time* as Python 3.x diverges further from what Python 2.x can support. -- \ “Programs must be written for people to read, and only | `\incidentally for machines to execute.” —Abelson & Sussman, | _o__) _Structure a

Re: The real problem with Python 3 - no business case for conversion

2010-07-07 Thread Ben Finney
Paul Rubin writes: > Ben Finney writes: > > The point, one more time with feeling, is that the incompatibilities > > between 2.x and 3.x will *increase* over time. > > The issue is less the "incompatibilities" than the -backwards- > incompatibilities. Yes

Re: The real problem with Python 3 - no business case for conversion

2010-07-07 Thread Ben Finney
geremy condra writes: > On Wed, Jul 7, 2010 at 9:14 PM, Ben Finney wrote: > > [backward-]incompatibilities between 2.x and 3.x will *increase* > > over time. > > ...and? I don't get to use features from 2.7, why would I expect to > use features from 3.3? Conv

Re: The real problem with Python 3 - no business case for conversion

2010-07-08 Thread Ben Finney
oad stride of Python versions are more motivated than I to figure it out, so instead I depart the field. -- \ “People's Front To Reunite Gondwanaland: Stop the Laurasian | `\ Separatist Movement!” —wiredog, http://kuro5hin.org/ | _o__)

Re: python instructor

2010-07-09 Thread Ben Finney
—Henry | `\L. Mencken | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Help choosing license for new projects

2010-07-12 Thread Ben Finney
g as a soul. I | `\ may be in error, and man may have a soul; but I simply do not | _o__) believe it.” —Thomas Edison | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: why is this group being spammed?

2010-07-17 Thread Ben Finney
raham Kennedy | `\ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: how to prevent the "extended call syntax" (*) from expanding a string into a list of characters

2010-07-22 Thread Ben Finney
ake the tuple, not the parentheses. args = (connection_string,) kwargs = {'echo': True, 'encoding': 'cp1252'} return args, kwargs I hope that helps. -- \ “It is far better to grasp the universe as it really is than to | `\persist in delusion, however

Re: loading configuration files that are themselves python

2010-07-23 Thread Ben Finney
importance they place on protecting | _o__) their past innovations really should decline.” —Gary Barnett | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Light-weight/very-simple version control under Windows using Python?

2010-07-25 Thread Ben Finney
on. -- \ “To punish me for my contempt of authority, Fate has made me an | `\ authority myself.” —Albert Einstein, 1930-09-18 | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Why are String Formatted Queries Considered So Magical?

2010-07-26 Thread Ben Finney
on Jobs Board http://www.python.org/community/jobs/>. -- \ “We are stuck with technology when what we really want is just | `\ stuff that works.” —Douglas Adams | _o__) | Ben

Package management (was: Why is there no platform independent way of clearing a terminal?)

2010-08-02 Thread Ben Finney
pect his theory that his | _o__) wife is beautiful and his children smart.” —Henry L. Mencken | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Questions, newbies, and community (was: python terminology on classes)

2010-08-04 Thread Ben Finney
but | `\ that He approve ours.” —Helga Bergold Gross | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Package management

2010-08-04 Thread Ben Finney
Lawrence D'Oliveiro writes: > In message <87aap44mc7.fsf...@benfinney.id.au>, Ben Finney wrote: > > > Sadly, Python's package management is rather lacking by these > > standards. The Distutils legacy assumption of “package recipient, > > system administrat

Re: easy question on parsing python: "is not None"

2010-08-05 Thread Ben Finney
azed, O Wall, that you have not collapsed and fallen, | `\since you must bear the tedious stupidities of so many | _o__) scrawlers.” —anonymous graffiti, Pompeii, 79 CE | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: easy question on parsing python: "is not None"

2010-08-06 Thread Ben Finney
“Two hands working can do more than a thousand clasped in | `\ prayer.” —Anonymous | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: easy question on parsing python: "is not None"

2010-08-07 Thread Ben Finney
nscience even if the state demands | `\ it.” —Albert Einstein | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Python "why" questions

2010-08-07 Thread Ben Finney
with eating Italian food is that five or six days | `\later you're hungry again.” —George Miller | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Python "why" questions

2010-08-07 Thread Ben Finney
something else is more important than fear.” —Ambrose Redmoon | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Portability--Not very portable?

2010-08-07 Thread Ben Finney
Robert Perry Marquis | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: easy question on parsing python: "is not None"

2010-08-09 Thread Ben Finney
to be predictable. It merely needs to obey the invariant that the identity of any given object won't change during the object's lifetime. -- \ “You've got the brain of a four-year-old boy, and I'll bet he | `\ was glad to get rid of it.” —Grouc

Re: Microsoft lessening commitment to IronPython and IronRuby

2010-08-10 Thread Ben Finney
of any kind is lost all at once.” | `\ —David Hume | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: GUI automation tool (windows)

2010-08-10 Thread Ben Finney
world's despair; But to | `\ make bad matters worse/I found God wasn't there.” —Robert Frost | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: GUI automation tool (windows)

2010-08-10 Thread Ben Finney
solution.” —Edward Teller | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: GUI automation tool (windows)

2010-08-11 Thread Ben Finney
opposition to human rights, are nothing but dead letters.” | _o__) —Ernestine Rose | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: python interview quuestions

2010-08-11 Thread Ben Finney
—Ambrose Redmoon | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft lessening commitment to IronPython and IronRuby

2010-08-11 Thread Ben Finney
it?” —Thomas Hesse, Sony BMG, 2006 | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: most popular gui framework for python

2010-08-11 Thread Ben Finney
ython.org/library/tix.html> bringing much richer and better-looking widgets to Tk. -- \ “Dvorak users of the world flgkd!” —Kirsten Chevalier, | `\rec.humor.oracle.d | _o__)

Re: GUI automation tool (windows)

2010-08-11 Thread Ben Finney
stuff that works.” —Douglas Adams | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Beyond the moratorium

2010-08-12 Thread Ben Finney
tware is a dead end.” —Mark | _o__) Pilgrim, 2006 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Help to convert Number to String

2010-08-13 Thread Ben Finney
to use the results.” —Richard Stallman | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Iterative vs. Recursive coding

2010-08-20 Thread Ben Finney
ither we are alone in the Universe | `\ or we are not. Both are equally terrifying.” —Arthur C. Clarke, | _o__) 1999 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for an appropriate encoding standard that supports all languages

2010-08-23 Thread Ben Finney
formation, I change my position. What, sir, | `\ do you do with new information?” —John Maynard Keynes | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Start up company is looking for an experianced Django web developer .

2010-08-23 Thread Ben Finney
ce you must bear the tedious stupidities of so many | _o__) scrawlers.” —anonymous graffiti, Pompeii, 79 CE | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: pylint naming conventions?

2009-06-05 Thread Ben Finney
u think doesn't agree with PEP 8? -- \ “Are you thinking what I'm thinking, Pinky?” “Uh... yeah, | `\ Brain, but where are we going to find rubber pants our size?” | _o__) —_Pinky and The Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: pylint naming conventions?

2009-06-07 Thread Ben Finney
forum member and trying to find a minimal example that shows the problem clearly :-) -- \“Kill myself? Killing myself is the last thing I'd ever do.” | `\—Homer, _The Simpsons_ | _o__)

Re: Making the case for repeat

2009-06-08 Thread Ben Finney
g. -- \ “Better not take a dog on the space shuttle, because if he | `\ sticks his head out when you're coming home his face might burn | _o__) up.” —Jack Handey | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: preferring [] or () in list of error codes?

2009-06-08 Thread Ben Finney
“Pinky, are you pondering what I'm pondering?” “Well, I think | `\ so, Brain, but pantyhose are so uncomfortable in the | _o__) summertime.” —_Pinky and The Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: preferring [] or () in list of error codes?

2009-06-08 Thread Ben Finney
with other programmers, and only incidentally for the computer to execute. -- \“Laurie got offended that I used the word ‘puke’. But to me, | `\ that's what her dinner tasted like.” —Jack Handey | _o__)

Re: preferring [] or () in list of error codes?

2009-06-08 Thread Ben Finney
relative newcomer is the primary reason for that, I'd wager. -- \ “If you are unable to leave your room, expose yourself in the | `\window.” —instructions in case of fire, hotel, Finland | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: preferring [] or () in list of error codes?

2009-06-09 Thread Ben Finney
Steven D'Aprano writes: > On Tue, 09 Jun 2009 09:43:45 +1000, Ben Finney wrote: > > > Use a list when the semantic meaning of an item doesn't depend on > > all the other items: it's “only” a collection of values. > > > > Your list of message c

Re: preferring [] or () in list of error codes?

2009-06-11 Thread Ben Finney
http://kuro5hin.org/ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: preferring [] or () in list of error codes?

2009-06-11 Thread Ben Finney
Python's “consenting adults” philosophy than anything else. -- \ “I went to a general store. They wouldn't let me buy anything | `\ specifically.” —Steven Wright | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Exception inside loop wrongly failing doctest

2009-06-12 Thread Ben Finney
sed to think that the brain was the most wonderful organ in | `\ my body. Then I realized who was telling me this.” —Emo Philips | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: preferring [] or () in list of error codes?

2009-06-13 Thread Ben Finney
—Niels Bohr | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Off-topic: Usenet archiving history

2009-06-14 Thread Ben Finney
them “fields” (since there can be multiple lines per field), but that's no excuse. -- \ “If I held you any closer I would be on the other side of you.” | `\ —Groucho Marx | _o__)

Re: Make-up of computer

2009-06-14 Thread Ben Finney
, and the software is everything else in the computer. -- \ “I spilled spot remover on my dog. Now he's gone.” —Steven | `\Wright | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: python tutorial

2009-06-18 Thread Ben Finney
important that you do it.” —Mahatma Gandhi | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Is this pylint error message valid or silly?

2009-06-18 Thread Ben Finney
Read not to contradict and confute, nor to believe and take | `\ for granted … but to weigh and consider.” —Francis Bacon | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: preferring [] or () in list of error codes?

2009-06-19 Thread Ben Finney
.python.org/3.0/whatsnew/3.0.html#new-syntax>. -- \ “Too many Indians spoil the golden egg.” —Sir Joh | `\ Bjelke-Petersen | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Can I replace this for loop with a join?

2009-06-21 Thread Ben Finney
“Crime is contagious… if the government becomes a lawbreaker, | `\ it breeds contempt for the law.” —Justice Louis Brandeis | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Forwarding keyword arguments

2009-06-23 Thread Ben Finney
both, and deserve neither.” —Thomas Jefferson, in a | _o__) letter to Madison | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: The Python Way for module configuration?

2009-06-27 Thread Ben Finney
It is well to remember that the entire universe, with one | `\ trifling exception, is composed of others.” —John Andrew Holmes | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: The Python Way for module configuration?

2009-06-28 Thread Ben Finney
Steven D'Aprano writes: > On Sun, 28 Jun 2009 13:28:31 +1000, Ben Finney wrote: > > > (Even if you don't want to receive email, could you please give your > > actual name in the ‘From’ field instead of just initials? It makes > > conversation less confusing.) &

Re: Fast Dictionary Access

2009-06-28 Thread Ben Finney
er went broke underestimating the taste of the | `\ American public.” —Henry L. Mencken | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: deleting certain entries in numpy array

2009-07-01 Thread Ben Finney
y)] > 0 for (x, y) in pos[:, 0:2]])] array([[ 5., 2., 0., 0.], [ 5., 4., 0., 0.], [ 6., 2., 0., 0.], [ 6., 7., 0., 0.]]) -- \“Holy knit one purl two, Batman!” —Robin | `\ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Trying to use sets for random selection, but the pop() method returns items in order

2009-07-01 Thread Ben Finney
932 105 262 -- \“When in doubt tell the truth. It will confound your enemies | `\ and astound your friends.” —Mark Twain, _Following the Equator_ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Code that ought to run fast, but can't due to Python limitations.

2009-07-04 Thread Ben Finney
//pyparsing.wikispaces.com/> Pyparsing. -- \ “Better not take a dog on the space shuttle, because if he | `\ sticks his head out when you're coming home his face might burn | _o__) up.” —Jack Handey | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: tough-to-explain Python

2009-07-07 Thread Ben Finney
re no more free to believe whatever we want about God than | `\ we are free to adopt unjustified beliefs about science or | _o__) history […].” —Sam Harris, _The End of Faith_, 2004 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Running a script to build docs from setup.py

2009-07-09 Thread Ben Finney
whole project if possible. Good hunting! -- \ “I have an answering machine in my car. It says, ‘I'm home now. | `\ But leave a message and I'll call when I'm out.’” —Steven Wright | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Package for fast plotting of many data points in Python?

2009-07-09 Thread Ben Finney
org/> and Matplotlib to plot those arrays http://matplotlib.sourceforge.net/>. -- \“Ubi dubium, ibi libertas.” (“Where there is doubt, there is | `\freedom.”) | _o__)

Re: subprocess + python-daemon - bug/problem?

2009-07-10 Thread Ben Finney
amiliar enough with the nuances of the ‘subprocess’ module to know what might be going wrong here. I'd like to know whether it might be a problem in the ‘python-daemon’ library. -- \ “Whatever a man prays for, he prays for a miracle. Every prayer | `\ reduces itself to this: “Great God, grant that twice two be not | _o__) four.”” —Ivan Turgenev | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Why not enforce four space indentations in version 3.x?

2009-07-10 Thread Ben Finney
point out. -- \ “Special cocktails for the ladies with nuts.” —bar, Tokyo | `\ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.4 VS 3.1 for simple print

2009-07-10 Thread Ben Finney
\ “Please do not feed the animals. If you have any suitable food, | `\ give it to the guard on duty.” —zoo, Budapest | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Email provider recommendations for those tired of mangled messages (was: subprocess + python-daemon - bug/problem?)

2009-07-10 Thread Ben Finney
Ben Finney writes: > Here it is without the unwanted extra line-wrapping that seems to > plague all Google Mail users (seriously, folks: get a real mail > provider that won't mangle your messages) I've been asked off-list whether I have any suggestions for those who want a be

Re: Package for fast plotting of many data points in Python?

2009-07-11 Thread Ben Finney
t sit and | `\keep their eyes glued on a screen: the average American family | _o__) hasn't time for it.” —_The New York Times_, 1939 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.4 VS 3.1 for simple print

2009-07-12 Thread Ben Finney
Lawrence D'Oliveiro writes: > In message <87hbxkm7n2@benfinney.id.au>, Ben Finney wrote: > > > For this and other differences introduced in the Python 3.x series, see > > http://www.python.org/dev/peps/pep-3100/>. > > People never thank you for an

Re: Best Way to Handle All Exceptions

2009-07-13 Thread Ben Finney
hear from others twice as much as we speak.” —Epictetus, | _o__) _Fragments_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Best Way to Handle All Exceptions

2009-07-14 Thread Ben Finney
name ‘sys.excepthook’ precisely for the purpose of changing the default handler for uncaught exceptions -- \ “I have yet to see any problem, however complicated, which, | `\ when you looked at it in the right way, did not become still | _o__)more complicated.” —Paul Anderson | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Teaching pylint about keyword placeholders in string formatting

2009-07-15 Thread Ben Finney
the names ‘warble’, ‘foo’, ‘bar’, and ‘baz’ in the code? -- \ “Pinky, are you pondering what I'm pondering?” “I think so, | `\Brain, but if we give peas a chance, won't the lima beans feel | _o__) left out?” —_Pinky and The Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Teaching pylint about keyword placeholders in string formatting

2009-07-15 Thread Ben Finney
Nicolas Chauvat writes: > On Wed, Jul 15, 2009 at 08:08:13PM +1000, Ben Finney wrote: > > That is, pylint is not aware that the names used by accessing the values > > from the dictionary returned by ‘vars()’. > > ... > > You are not the only one: > http://list

Re: Why not enforce four space indentations in version 3.x?

2009-07-16 Thread Ben Finney
Inky 788 writes: > On Jul 10, 7:35 pm, Ben Finney wrote: > > Yes. That's a “should” and not a “must”, even though PEP 8 says it > > with a simple imperative:: > > > >     Use 4 spaces per indentation level. > > That actually sounds pretty weird. "Don&

Override a method but inherit the docstring

2009-07-16 Thread Ben Finney
\ “Why, I'd horse-whip you if I had a horse.” —Groucho Marx | `\ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Override a method but inherit the docstring

2009-07-16 Thread Ben Finney
s destined for. -- \ “We are human only to the extent that our ideas remain humane.” | `\ —_Breakfast of Champions_, Kurt Vonnegut | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Override a method but inherit the docstring

2009-07-17 Thread Ben Finney
y are ignored.” —Aldous | `\Huxley | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: guessing file type

2009-07-17 Thread Ben Finney
is a boot partition virus.” —Peter | _o__) H. Coffin | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Propagate import for all modules in a package.

2009-07-17 Thread Ben Finney
u pondering what I'm pondering?” “Wuh, I think | `\ so, Brain, but how will we get three pink flamingos into one | _o__) pair of Capri pants?” —_Pinky and The Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Mutable Strings - Any libraries that offer this?

2009-07-20 Thread Ben Finney
. -- \ “As scarce as truth is, the supply has always been in excess of | `\ the demand.” —Josh Billings | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: clean way prepend an element to a numpy array

2009-07-20 Thread Ben Finney
y Ballard's in the union.” —_Pinky and The | _o__) Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Mutable Strings - Any libraries that offer this?

2009-07-21 Thread Ben Finney
, _Big Mistake_ (The Guardian, | _o__) 2006-12-27) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Mutable Strings - Any libraries that offer this?

2009-07-21 Thread Ben Finney
Steven D'Aprano writes: > On Mon, 20 Jul 2009 21:08:22 +1000, Ben Finney wrote: > > A mutable string would not (AFAICT) be usefully implementable as a > > subclass of the built-in string types. So even if such a type > > existed, it would not be useable with all the fu

Re: Documentation Problems

2009-07-22 Thread Ben Finney
es is the same, and is covered by the Developer's FAQ http://www.python.org/dev/faq/>. -- \ “If you ever fall off the Sears Tower, just go real limp, | `\ because maybe you'll look like a dummy and people will try to | _o__) catch you because, hey, fr

Re: non-owning references?

2009-07-24 Thread Ben Finney
module http://docs.python.org/library/weakref>. -- \ “Patience, n. A minor form of despair, disguised as a virtue.” | `\ —Ambrose Bierce, _The Devil's Dictionary_, 1906 | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: non-owning references?

2009-07-24 Thread Ben Finney
sh too long after the end.” —Igor | `\ Stravinskey | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

Re: Distinguishing active generators from exhausted ones

2009-07-25 Thread Ben Finney
café, southern France | `\ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list

<    34   35   36   37   38   39   40   41   42   >