r(some_longer_variables)
> update_spam_statistics(here_and_here)
>
> Which one would you say is more readable?
Mine :-)
--
\ “When I get new information, 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
on forever in a |
`\finite world is either a madman or an economist.” —Kenneth |
_o__) Boulding |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
sts’, feature
tests with Behave http://pypi.python.org/pypi/behave> or something
similar.
--
\ “I tell you the truth: this generation will certainly not pass |
`\ away until all these things [the end of the world] have |
_o__) happened.” —Jesus Christ, c. 30 CE, as quoted in Matthew 24:34 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
2004 |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Walter Hurry writes:
> On Mon, 22 Oct 2012 13:51:35 +1100, Ben Finney wrote:
>
> > Walter Hurry writes:
> >> It is Google bloody Groups which is the problem. I should have
> >> plonked posts from there ages ago, and am about to remedy that
> >> omission.
thon-daemon’ development is at
http://lists.alioth.debian.org/mailman/listinfo/python-daemon-devel>.
--
\ “Faith may be defined briefly as an illogical belief in the |
`\ occurrence of the improbable.” —Henry L. Mencken |
_o__)
ve separated us for |
_o__)so long, the consequences of our own actions.” —Douglas Adams |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
“It's dangerous to be right when the government is wrong.” |
`\ —Francois Marie Arouet Voltaire |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
7;ve forgotten this before sometime.” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
vid Thoreau |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
“Alternative explanations are always welcome in science, if |
`\ they are better and explain more. Alternative explanations that |
_o__) explain nothing are not welcome.” —Victor J. Stenger, 2001-11-05 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
where
on the globe.
What I'm not fine with is politicians who think it's a fun game to
fiddle with the specific timezone definitions with little advance notice
and leave we programmers to clean up the mess they keep making. Those
people are sorely in need of a nasal infestation of p
t He approve ours.” —Helga Bergold Gross |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
dog, it's too dark to read.” —Groucho Marx |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
nt that.
--
\“My doctor told me to stop having intimate dinners for four. |
`\ Unless there are three other people.” —Orson Welles |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Pinky and |
_o__) The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
out where needed.
--
\ “Computers are useless. They can only give you answers.” —Pablo |
`\ Picasso |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
is to invent it.” —Alan Kay |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
on the bedpost |
_o__) overnight?” —_Pinky and The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
and |
_o__)spiritual health.” —_The Uses Of The Past_, Herbert J. Muller |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
your back on reason, you turn your back on what makes us |
_o__) human.” —Iain M. Banks, 2010-10-07 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
and you are the |
_o__) easiest person to fool.” —Richard P. Feynman, 1964 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
supported in logic and argument |
_o__) than others.” —Douglas Adams |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
EP 8's recommendation and name the attribute with a
‘_single_leading_underscore’.
--
\ “We jealously reserve the right to be mistaken in our view of |
`\ what exists, given that theories often change under pressure |
_o__) from further investigation.” —Thomas W. Clark, 2009
hat most charities are driven by |
`\ religious belief.… if you think altruism without Jesus is not |
_o__) altruism, then you're a dick.” —Tim Minchin, 2010-11-28 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for responding. Rather than take this discussion too far where
it's quite off-topic, I'll respond briefly and ask for a change of forum
if we want to continue.
Ethan Furman writes:
> Ben Finney wrote (from signature):
> > “It's a terrible paradox that most
dence in their future |
`\ ability to innovate, the importance they place on protecting |
_o__) their past innovations really should decline.” —Gary Barnett |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
t, and your sarcasm was lost with the high
bit.
--
\ “We are all agreed that your theory is crazy. The question that |
`\ divides us is whether it is crazy enough to have a chance of |
_o__)being correct.” —Niels Bohr (to Wolfgang Pauli), 1958 |
Ben Finney
--
http://mail
rs should choose the best option
for them as a default, and let most users sail on, happily ignorant of
the flame wars they have avoided.
--
\ “In the long run nothing can withstand reason and experience, |
`\and the contradiction which religion offers to both is all too |
_o__)
are not beholden to it, so let's avoid it where feasible, and
help newcomers to do so.
--
\ “There is no reason anyone would want a computer in their |
`\ home.” —Ken Olson, president, chairman and founder of Digital |
_o__) Equipmen
ile praying for a fish.” |
_o__) —Anonymous |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Chris Angelico writes:
> On Sun, Feb 26, 2012 at 7:51 PM, Ben Finney
> wrote:
> > If you're pleased to announce their immediate availability, then
> > please do that!
>
> Isn't it perfectly accurate to say that the RCs are now available?
Yes. What's no
The sky must get awfully crowded.” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Benjamin Peterson writes:
> Ben Finney benfinney.id.au> writes:
> >
> > Putting “RELEASED” in the subject, when they're not released and are
> > instead *candidates for* release, is confusing and muddies the issue of
> > what you even mean by “release”.
>
Steven D'Aprano writes:
> On Sun, 26 Feb 2012 19:47:49 +1100, Ben Finney wrote:
>
> >> An integer variable is a variable holding an integer. A string variable
> >> is a variable holding a string. A list variable is a variable holding a
> >> list.
>
be avoided.
--
\ “Don't be misled by the enormous flow of money into bad defacto |
`\standards for unsophisticated buyers using poor adaptations of |
_o__) incomplete ideas.” —Alan Kay |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
experience, |
`\and the contradiction which religion offers to both is all too |
_o__)palpable.” —Sigmund Freud |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
e Galaxy_, Douglas |
_o__) Adams |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
an 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
s...@pobox.com writes:
> Some time ago Ben Finney offered to take over lockfile.
That offer is still open. (Though I would appreciate ongoing development
help from people who use non-Linux operating systems, since file locking
works differently there and I don't have the resources to
her the object inherits from ‘unicode’, test
whether it behaves how you expect – preferably by just using it as
though it does behave that way.
--
\ Lucifer: “Just sign the Contract, sir, and the Piano is yours.” |
`\ Ray: “Sheesh! This is long! Mind if I sign it now and read it |
_o__)
“Those who write software only for pay should go hurt some |
`\ other field.” —Erik Naggum, in _gnu.misc.discuss_ |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
man of value.” —Albert Einstein |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano writes:
> On Thu, 08 Mar 2012 08:48:58 +1100, Ben Finney wrote:
> > I think that's a Python bug. If the latter succeeds as a no-op, the
> > former should also succeed as a no-op. Neither should ever get any
> > errors when ‘s’ is a ‘unicode’ object
_The Devil's Dictionary_, 1906 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
to learn.” —Richard M. Stallman, 2002 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Chris Withers writes:
> On 03/03/2012 21:43, Ben Finney wrote:
> > I don't see a need to horse around with Git either :-) It's currently in
> > Subversion, right? Can you not export the VCS history from Google Code's
> > Subversion repository […]
> Wha
Steven D'Aprano writes:
> On Wed, 14 Mar 2012 08:35:12 +1100, Ben Finney wrote:
> > That feels too magical to me. I don't see a need to special-case
> > that usage. There's not much burden in being explicit for the
> > argument type.
>
> And yet you
me Of The Soul_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
cribe, so that indicates it's probably a bad idea.
--
\ “[W]e are still the first generation of users, and for all that |
`\ we may have invented the net, we still don't really get it.” |
_o__) —Douglas Adams |
Ben Finney
--
http://
dicates subtraction (because it uses U+2212 MINUS SIGN). A hyphen (‘-’
U+002D) is inappropriate in either case.
--
\ “He that would make his own liberty secure must guard even his |
`\ enemy from oppression.” —Thomas Paine |
_o__)
Chris Angelico writes:
> On Thu, Mar 15, 2012 at 11:31 PM, Ben Finney
> wrote:
> > Another good reason to advocate for proper typography. "John 14:5-7"
> > indicates a range (because it uses U+2013 EN DASH), whereas "7-5"
> > indicates subtraction (
Chris Angelico writes:
> On Fri, Mar 16, 2012 at 12:16 AM, Ben Finney
> wrote:
> > Hopefully, the fact that your quoting of my text munged the
> > characters down to ASCII is also pure coincidence, and is soon to be
> > corrected at your end? Or has your client program
intend reading it.” |
_o__) —Groucho Marx |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Arnaud Delobelle writes:
> On 15 March 2012 22:35, Ben Finney wrote:
> > I agree, and am glad PEP 8 has been updated to recommend an extra
> > level of indentation for continuation, to distinguish from the new
> > block that follows
> > http://www.python.org/dev
ad, _The |
_o__) Shadow-Line_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
a problem, and they think “I know, I'll use |
`\ Perl!”. Now they have some number of problems but they're not |
_o__) sure whether it's a string or an integer.” —Benno Rice, 2011 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
” —Emo Philips |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
he noun, and you don't noun a verb. The noun verbs.
--
\“Last year I went fishing with Salvador Dali. He was using a |
`\ dotted line. He caught every other fish.” —Steven Wright |
_o__) |
Ben Finney
--
http:
Chris Angelico writes:
> On Sun, Mar 25, 2012 at 11:41 AM, Ben Finney
> wrote:
> > You have control over how large your window size is, and if you have
> > purposes so different that they demand different widths, then you
> > can easily make different-width windows
Faith, n. Belief without evidence in what is told by one who |
`\ speaks without knowledge, of things without parallel.” —Ambrose |
_o__) Bierce, _The Devil's Dictionary_, 1906 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Facebook or
other gatekeeper imposing itself in the transaction?
--
\ “Never use a long word when there's a commensurate diminutive |
`\available.” —Stan Kelly-Bootle |
_o__) |
Ben
Roy Smith writes:
> In article <87haxahh51@benfinney.id.au>,
> Ben Finney wrote:
> > As someone who uses OpenID, what can I read about why OAuth is better?
>
> OpenID is for people who worry about things like how OpenID is different
> from OAuth. Oauth is for p
Roy Smith writes:
> In article <878vimhfdp@benfinney.id.au>,
> Ben Finney wrote:
> > So, if I want to be free to choose an identity provider I trust, and
> > it's not Facebook or Google or Twitter or other privacy-hostile
> > services, how does OAuth hel
is a dead end.” —Mark |
_o__) Pilgrim, 2006 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
one tongue but two ears, that we may |
`\ hear from others twice as much as we speak.” —Epictetus, |
_o__) _Fragments_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
ngs were changing when my Fraternity Brothers threw |
`\ a guy out of the house for mocking me because I'm gay.” |
_o__) —postsecret.com, 2010-01-19 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
7;t follow that pattern then a complaint that it doesn't keep the
promises of the Borg pattern is merely tautological.
--
\“The deepest sin against the human mind is to believe things |
`\ without evidence.” —Thomas Henry Huxley, _Evolution and |
_o__)Ethics_, 1893 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
the intent.
AFAICT the above code is a proposal. I don't know who (other than the
original poster) thinks it's any good.
--
\ “I cannot be angry at God, in whom I do not believe.” —Simone |
`\ De Beauvoir |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
ce, _The Devil's Dictionary_, 1906 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
ctive on Moore's Law: Human effort becomes |
`\ twice as expensive roughly every two years.” —anonymous |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
|
`\ |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Python.
--
\ “If you go flying back through time and you see somebody else |
`\ flying forward into the future, it's probably best to avoid eye |
_o__) contact.” —Jack Handey |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Programming.
Yes. Maybe you need to let go of this need to control the order in which
the reader views your code; we're going to be looking at small, focussed
parts anyway, not reading the whole thing in one go. So work with that
instead.
--
\ “There are only two ways to live your life
rbance.” —John F. Schumaker |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
= args.edit or environ.get('EDITOR', 'vim')
This will work fine, AFAICT.
--
\“But it is permissible to make a judgment after you have |
`\examined the evidence. In some circles it is even encouraged.” |
_o__)—Carl Sagan, _The Burden of Skepticism_, 1987 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> Miki Tebeka writes:
> > The way I'm doing it currently is:
> > ...
> > no_edit = 'no-edit'
> > parser.add_argument('-e', '--edit', help='open editor on log',
> > nargs='?',
sort of striking surface attached to the end of a long stick.” |
_o__) —Jack Handey |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
o do that. Just try using them and catch the failures when
they happen.
--
\ “He was the mildest-mannered man / That ever scuttled ship or |
`\ cut a throat.” —“Lord” George Gordon Noel Byron, _Don Juan_ |
_o__)
h matters is to use the value as an email address, by
sending a message when the time comes to do that.
--
\ “It's my belief we developed language because of our deep inner |
`\ need to complain.” —Jane Wagner, via Lily Tomlin |
_o__)
en religions and cults is determined by |
`\ how much real estate is owned.” —Frank Zappa |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
of liberty.” —Thomas Jefferson |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
from someone who actually needs
and uses ‘virtualenv’.
--
\ “I went to a general store. They wouldn't let me buy anything |
`\ specifically.” —Steven Wright |
_o__) |
Ben Finney
--
h
e have an appropriate perspective on the relative |
`\ importance of foodstuffs and human beings. Crazy people can't |
_o__) tell the difference.” —Paul Z. Myers, 2010-04-18 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
t doesn't |
`\believe in tolerance and free speech.” —David Brin |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> Thanks for the suggestion. I've imported it from Subversion into Bazaar
> (my preferred DVCS), and it went smoothly.
Development of ‘python-lockfile’ now proceeds on Alioth
https://alioth.debian.org/projects/python-lockfile/>.
> I will proceed with a hando
o 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
A ‘No’ uttered from deepest conviction is better and greater |
`\ than a ‘Yes’ merely uttered to please, or what is worse, to |
_o__) avoid trouble.” —Mohandas K. Gandhi |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
want.” —Mignon McLaughlin |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
tter and explain more. Alternative explanations that |
_o__) explain nothing are not welcome.” —Victor J. Stenger, 2001-11-05 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
object. """
res = LargeClass(obj)
return res
--
\ “Faith may be defined briefly as an illogical belief in the |
`\ occurrence of the improbable.” —Henry L. Mencken |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> It's best to implement Memoize as a Python decorator in one place
> http://wiki.python.org/moin/PythonDecoratorLibrary#Memoize>.
Michele Simionato discusses a better implementation of a Memoize
decorator in the documentation for his useful ‘decorator
, Sony BMG, 2006 |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
into a single
expression.
> Just curious if anyone could explain how this works or maybe share a link
> to a website that might explain this?
Does the above help?
--
\ “We must find our way to a time when faith, without evidence, |
`\disgraces anyone who would claim it.” —Sam H
Jon Clements writes:
> On Jun 5, 4:37 am, Ben Finney wrote:
> > writes:
> > > (http://stackoverflow.com/questions/312443/how-do-you-split-a-list-int...)
> >
> > This is an excellent example of why “clever” code is to be shunned.
> > Whoever wrote this ne
|
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
_o__)eat an entire box of cookies.” —Steven Wright |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
the first design before throwing it away :-)
--
\ “Are you pondering what I'm pondering?” “Umm, I think so, Don |
`\ Cerebro, but, umm, why would Sophia Loren do a musical?” |
_o__) —_Pinky and The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
d ‘monkey’ a million times, do you start |
`\ to think you're Shakespeare?” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
101 - 200 of 4138 matches
Mail list logo