nd workflow support.
--
\ “Oh, I love your magazine. My favorite section is ‘How To |
`\ Increase Your Word Power’. That thing is really, really, |
_o__) really... good.” —Homer, _The Simpsons_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
e of it all — such
as in the handling of command-line arguments or the exit of the process.
--
\ “That's all very good in practice, but how does it work in |
`\ *theory*?” —anonymous |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Göktuğ Kayaalp writes:
> On Fri, Nov 01, 2013 at 10:42:23AM +1100, Ben Finney wrote:
> > Keep the body of “if __name__ == '__main__':” to an absolute
> > minimum. Put all of the set-up and process-end functionality into
> > discrete functions with discrete pur
see it, wholly compatible with making the community more
welcoming to people, by reducing the volume of such threads.
--
\ Eccles: “I just saw the Earth through the clouds!” Lew: “Did |
`\ it look round?” Eccles: “Yes, but I don't think it saw me.” |
_o__)
about “winning” or
“losing” the discussion are pretty futile in this forum anyway.
--
\ “The only tyrant I accept in this world is the still voice |
`\ within.” —Mohandas Gandhi |
_o__)
f ambiguity between bytes versus text.
--
\ “The face of a child can say it all, especially the mouth part |
`\of the face.” —Jack Handey |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
swers.” —Pablo |
`\ Picasso |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
t myself in order to give in the same measure as I have |
_o__)received and am still receiving” —Albert Einstein |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
-
\ “I am too firm in my consciousness of the marvelous to be ever |
`\ fascinated by the mere supernatural …” —Joseph Conrad, _The |
_o__) Shadow-Line_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
onal databases are so called not because of
relationships between tables, but because they implement relational
theory.
--
\ “It is the integrity of each individual human that is in final |
`\examination. On personal integrity hangs humanity's fate.” |
_o__) —Rich
c...@isbd.net writes:
> Ben Finney wrote:
> > My request at the moment, though, is not for people to change what's
> > on their slides; rather, if they want people to retrieve them, the
> > slides should be downloadable easily (i.e. without a web app,
> > without
Simon Ward writes:
> On 26 February 2015 00:11:24 GMT+00:00, Ben Finney
> wrote:
> >You'd better borrow the time machine and tell the creators of Unix. The
> >meme is already established for decades now.
>
> 0 = success and non-zero = failure is the meme establ
eatlantic.com/education/archive/2015/02/how-the-english-language-is-holding-kids-back/385291/>.
--
\ “Any sufficiently advanced bug is indistinguishable from a |
`\ feature.” —Rich Kulawiec |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> (See https://www.youtube.com/watch?v=Yz2LaJOVAiA> if you have no
> idea what this is all about.)
I was sloppy with my pronouns there. I'm pretty sure Roy knows what he's
referring to; that “you” was directed to anyone who is not aware.
--
\
once we got as used to it.” —Henry L. Mencken |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
u don't breach the terms of service – |
`\ according to our sole judgement” to the end of any cloud |
_o__) computing pitch.” —Simon Phipps, 2010-12-11 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
rush every world view that doesn't |
`\believe in tolerance and free speech.” —David Brin |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
“The deepest sin against the human mind is to believe things |
`\ without evidence.” —Thomas Henry Huxley, _Evolution and |
_o__) Ethics_, 1893 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
on.
--
\ “The good thing about science is that it's true whether or not |
`\ you believe in it.” —Neil deGrasse Tyson, 2011-02-04 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
t |
_o__)later?” —http://www.achewood.com/ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
s. Cut that out.
--
\ “True greatness is measured by how much freedom you give to |
`\ others, not by how much you can coerce others to do what you |
_o__) want.” —Larry Wall |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano writes:
> Ben Finney wrote:
>
> > sohcahto...@gmail.com writes:
> >
> >> I should have known better than to make a joke on this mailing
> >> list. Someone is bound to get their panties all up in a bunch.
> >
> > You should ha
the road. It said, ‘What |
`\ for?’” —Steven Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
sohcahto...@gmail.com writes:
> On Thursday, March 5, 2015 at 3:20:16 PM UTC-8, Ben Finney wrote:
> > It is fine to define such a type in Python, because 'is' does not
> > necessarily imply '=='.
>
> Do you have an example of where `a is b` but `a !=
you describe “define their own membership function”, in order to
get the correct behaviour in the doctest above?
--
\ “Why am I an atheist? I ask you: Why is anybody not an atheist? |
`\ Everyone starts out being an atheist.” —Andy Rooney, _Boston |
_o__)Globe_ 1982-05-30 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano writes:
> Ben Finney wrote:
>
> > “get their panties all up in a bunch” is a gendered slur.
>
> Why do you interpret that as insulting to women merely on the basis of
> being *female*?
I think your question is in bad faith. You know as well as I do, an
Ethan Furman writes:
> On 03/05/2015 06:55 PM, Ben Finney wrote:
>
> > class NullType(object):
> > """ A type whose value never equals any other.
> >
> > This type's values will behave correctly when tes
mer's Manual, 2nd Ed., 1972-06-12 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
keep calling out harmful crap when
we see it.
--
\ “Airports are ugly. Some are very ugly. Some attain a degree of |
`\ugliness that can only be the result of a special effort.” |
_o__) —Douglas Adams, _The Long Dark Tea-Time of the Soul_, 1988 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
mind, erroneous syntax.
--
\ “Please do not feed the animals. If you have any suitable food, |
`\ give it to the guard on duty.” —zoo, Budapest |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
mock.html#where-to-patch>
Good hunting!
--
\ “There will be a Moscow Exhibition of the Arts by 15,000 Soviet |
`\ Republic painters and sculptors. These were executed over the |
_o__) past two years.” —newspaper article, Soviet Weekly |
Ben Finney
--
https://mai
t quite confused.
--
\ “Faith is the determination to remain ignorant in the face of |
`\ all evidence that you are ignorant.” —Shaun Mason |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
er from vendor lock-in.
Good hunting in finding a free-software code hosting provider for your
projects!
--
\ “I knew things were changing when my Fraternity Brothers threw |
`\ a guy out of the house for mocking me because I'm gay.” |
_o__)
Steven D'Aprano writes:
> Ben Finney wrote:
>
> > Also worth watching is Kallithea, a new federated code hosting service
> > https://kallithea-scm.org/>. It supports Mercurial and Git for VCS,
> > code review, and integrates with existing issue trackers. Becau
but to set some limit on infinite error.” —Bertolt Brecht, |
_o__) _Leben des Galilei_, 1938 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
a registration process
for every project just to report a bug.
--
\ “[Entrenched media corporations will] maintain the status quo, |
`\ or die trying. Either is better than actually WORKING for a |
_o__) living.” —ringsnake.livejournal.com, 2007-11-12 |
Ben Finney
--
eed them when I read, so I got |
`\ flip-ups.” —Steven Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
that this in itself is wonder.” |
`\ —Maurits Cornelis Escher |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
oblem for the developer.
You can blame “lazy users” if you want to. That gets you no new users of
your program though.
--
\ “I tell you the truth: some standing here will not taste death |
`\before they see the Son of Man coming in his kingdom.” —Jesus, |
_o__)
;re playing |
`\ whack-a-mole with an infinite supply of tokens.” —kennon, |
_o__) http://kuro5hin.org/ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ed with re-launching this important resource
for the Python community!
--
\“I was once walking through the forest alone and a tree fell |
`\ right in front of me, and I didn't hear it.” —Steven Wright |
_o__) |
Ben Finne
> What is the reason for this?
I don't really understand. ‘cmp’ is deprecated, and you can compare two
dicts with the built-in operators. That's the reason; are you expecting
some other reason?
> Or is there a better way to do this?
I don't really know what it is you want to do. What behaviour different
from the built-in comparison operators do you want?
--
\ “I went over to the neighbor's and asked to borrow a cup of |
`\ salt. ‘What are you making?’ ‘A salt lick.’” —Steven Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
saying, man?
--
\“Pinky, are you 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
--
https://mail.python.org/mailman/listinfo/python-list
says on |
_o__) Controversial Questions_, 1889 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
nvenience we recommend courteous, efficient |
`\self-service.” —supermarket, Hong Kong |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
or comedy is to admit |
`\ defeat.” —Peter Sellers |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
to progress is not ignorance but the illusion of |
_o__)knowledge.” —Daniel J. Boorstin, historian, 1914–2004 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ion is ‘How To |
`\ Increase Your Word Power’. That thing is really, really, |
_o__) really... good.” —Homer, _The Simpsons_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
John Nagle writes:
(for some reason quoting himself extensively without further comment)
> On 3/29/2015 1:19 PM, John Nagle wrote:
> > On 3/29/2015 12:11 PM, Ben Finney wrote:
> >> John Nagle writes:
> >>> The Python 3 documentation at
> >>> https
Paul Rubin writes:
> Ben Finney writes:
> > Why are you discussing it as though Python 3 is at fault? What do you
> > expect to change *about Python 3* that would address the perceived
> > problem? Whose responsibility is it to do that?
>
> Those questions seem un
arvelous to be ever |
`\ fascinated by the mere supernatural …” —Joseph Conrad, _The |
_o__) Shadow-Line_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
--
\ “Fox News gives you both sides of every story: the President's |
`\ side and the Vice President's side.” —Steven Colbert, 2006-04-29 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
n and desire are not the same as truth.” —E. O. Wilson, |
_o__) _Consilience_, 1998 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
that, though better than ten years ago, Python package
distribution is still surprisingly baroque and difficult to navigate.
--
\ “I never forget a face, but in your case I'll be glad to make |
`\ an exception.” —Groucho Marx |
_o__)
Following the Equator_ |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
--
\“Politics is not the art of the possible. It consists in |
`\ choosing between the disastrous and the unpalatable.” —John |
_o__)Kenneth Galbraith, 1962-03-02 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
whoever claims any right that he is unwilling to accord to |
`\ his fellow-men is dishonest and infamous.” —Robert G. |
_o__) Ingersoll, _The Liberty of Man, Woman and Child_, 1877 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
gineer is to information |
`\ technology as a McDonalds Certified Food Specialist is to the |
_o__) culinary arts.” —Michael Bacarella |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
f the document isn't
accompanied by a specification of exactly what its schema is, you're
going to have a difficult time.
--
\“If I melt dry ice, can I swim without getting wet?” —Steven |
`\Wright |
_o__
|
`\ |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
6:00'
> I've been trying for hours to get ElementTree to give me these 2
> values, but nothing I do seems to work. Can anyone help me with this?
Beat the designers of that document upside the head until they give you
a more easily-parsed schema.
--
\“Considering the current sad state of our computer programs, |
`\ software development is clearly still a black art, and cannot |
_o__) yet be called an engineering discipline.” —Bill Clinton |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
strust those people who know so well what God wants them |
`\to do to their fellows, because it always coincides with their |
_o__) own desires.” —Susan Brownell Anthony, 1896 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
is that different from what it
does do?
--
\ “The userbase for strong cryptography declines by half with |
`\ every additional keystroke or mouseclick required to make it |
_o__) work.” —Carl Ellison |
Ben Finney
--
https://mail.py
to use? Where is its documentation? What
specifically are you wanting to know?
--
\ “The cost of education is trivial compared to the cost of |
`\ ignorance.” —Thomas Jefferson |
_o__)
“You can never entirely stop being what you once were. That's |
`\ why it's important to be the right person today, and not put it |
_o__) off until tomorrow.” —Larry Wall |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
is not a state.… a state must have people. There |
`\are no Vaticanians.… No-one gets born in the Vatican except by |
_o__)an unfortunate accident.” —Geoffrey Robertson, 2010-09-18 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
l.python.org+python-list+tutorial>
Good hunting!
--
\ “How many people here have telekenetic powers? Raise my hand.” |
`\ —Emo Philips |
_o__) |
Ben Finney
--
https://
“I was in Las Vegas, at the roulette table, having a furious |
`\ argument over what I considered to be an odd number.” —Steven |
_o__) Wright |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
;t have everything; where would you put it?” —Steven |
`\Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Well, I don't have an alibi.” —Emo Philips |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
anity's fate.” |
_o__) —Richard Buckminster Fuller, _Critical Path_, 1981 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
being able to choose your master. Freedom means not having a |
_o__) master.” —Richard M. Stallman, 2007-05-16 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
“If we have to give up either religion or education, we should |
`\ give up education.” —William Jennings Bryan, 1923-01 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
me better watch out!” —Futurama |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
se.
Hopefully this is quick enough.
--
\ “If you don't fail at least 90 percent of the time, you're not |
`\aiming high enough.” —Alan Kay |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
lly, really, |
_o__) really... good.” —Homer, _The Simpsons_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
therwise working fine. So you only
get the newer widgets by asking for them explicitly.
--
\“Members of the general public commonly find copyright rules |
`\implausible, and simply disbelieve them.” —Jessica Litman, |
_o__) _Digita
ewing through the leather |
`\ straps.” —Emo Philips |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ncken |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
and borrowed a circus tent by mistake. I didn't |
`\ notice until I got it set up. People complained because they |
_o__) couldn't see the lake.” —Steven Wright |
Ben Finney
--
https://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
--
https://mail.python.org/mailman/listinfo/python-list
esponsibility.” —Ambrose Bierce, |
_o__) _The Devil's Dictionary_, 1906 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
re on Earth to fart around. Don't let anybody |
`\ tell you otherwise.” —_Timequake_, Kurt Vonnegut |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
lt realities, and |
`\ I see no virtue in savoring excuses for avoiding a search for |
_o__)real answers.” —Paul Z. Myers, 2009-09-12 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
e to work, and
code targeting Python 3 will not accidentally get an incompatible Python
2 interpreter.
--
\ “I don't want to live peacefully with difficult realities, and |
`\ I see no virtue in savoring excuses for avoiding a search for |
_o__)real answers.
A lie can be told in a few words. Debunking that lie can take |
`\ pages. That is why my book… is five hundred pages long.” —Chris |
_o__) Rodda, 2011-05-05 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
`\ strict truth.” —Mark Twain, _Following the Equator_ |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
dard library, unlike proposed replacements.
--
\ “Instead of having ‘answers’ on a math test, they should just |
`\ call them ‘impressions’, and if you got a different |
_o__) ‘impression’, so what, can't we all be brothers?” —Jack Handey |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
for how to specify exactly how you want values to be formatted as
text.
--
\ “The double standard that exempts religious activities from |
`\ almost all standards of accountability should be dismantled |
_o__) once and for all.” —Daniel Dennett, 2010-01-12 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> Assuming we're talking about a ‘float’ value::
>
> >>> foo = 5.223701009526849e-05
> >>> "{foo:5.1}".format(foo=foo)
> '5e-05'
That's not as clear as it could be. Better is to be explicit about
choos
c.) and leave the docstrings readable.
--
\ “Generally speaking, the errors in religion are dangerous; |
`\those in philosophy only ridiculous.” —David Hume, _A Treatise |
_o__) of Human Nature_, 1739 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
—Douglas Hofstadter |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
owth can go on forever in a |
`\finite world is either a madman or an economist.” —Kenneth |
_o__) Boulding |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
vehicle.unload()
https://docs.python.org/3/library/collections.html#collections.namedtuple>
documents the surprisingly useful ‘namedtuple’ factory.
--
\ “It's a terrible paradox that 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
--
https://mail.python.org/mailman/listinfo/python-list
material. Keep attribution lines for the material you're
quoting.
--
\“We have to go forth and crush every world view that doesn't |
`\believe in tolerance and free speech.” —David Brin |
_o__)
t also don't take on an unreasonable burden. Involve them in
the process.
--
\ “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
Rob Gaddi writes:
> On Wed, 13 May 2015 08:35:02 +1000, Ben Finney wrote:
>
> > Rob Gaddi writes:
> >
> >> B) If I can't manage that, what's the etiquette behind having later
> >> versions of a module break compatibility with older versions of
>
Here is a course on problem solving with algorithms that uses Python
http://interactivepython.org/runestone/static/pythonds/index.html>.
Good hunting!
--
\“We cannot solve our problems with the same thinking we used |
`\ when we created them.” —Albert Einstein |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
unate accident.” —Geoffrey Robertson, 2010-09-18 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
it well.” —Rene Descartes |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
1601 - 1700 of 4138 matches
Mail list logo