Lily Tomlin |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
without complicated algorithms?
--
\ “A fine is a tax for doing wrong. A tax is a fine for doing |
`\ well.” —anonymous |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
whether machines can think … is about as |
`\ relevant as the question of whether submarines can swim.” |
_o__) —Edsger W. Dijkstra |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Paul McNett writes:
> Ben Finney wrote:
> > For Thunderbird (which I see you're using, Paul), the open bug
> > report is
> > https://bugzilla.mozilla.org/show_bug.cgi?id=45715>.
> > Meanwhile, you can install an add-on to provide the function
>
em
unless they actually *do* clarify the code; sometimes an explicit
looping construct is clearer.
--
\“Like the creators of sitcoms or junk food or package tours, |
`\ Java's designers were consciously designing a product for |
_o__) people not as smart as them.” —Paul Graham |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
|
`\ —Henry L. Mencken |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
e rather refers to the Hormel Foods product.
--
\ “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://
anywhere near the place.” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Terry Reedy <[EMAIL PROTECTED]> writes:
> Ben Finney wrote:
> > Can I request, in the interest of reducing confusion, that any
> > announcements of pre-release versions of 2.5.3 (or any other
> > Python release) be announced *without* saying “RELEASED: A
> > not
—Ambrose Bierce, _The Devil's Dictionary_, 1906 |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
27;ve got the brain of a four-year-old boy, and I'll bet he |
`\ was glad to get rid of it.” —Groucho Marx |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
and he ran around |
_o__) in circles.” —Steven Wright |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
whatever)
*any* instruction from an untrusted path; especially not arbitrary
data from an input stream.
--
\ “A hundred times every day I remind myself that […] I must |
`\ exert myself in order to give in the same measure as I have |
_o__)received and am still rece
you know.” —Sassan Tat |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
s
relative imports http://www.python.org/dev/peps/pep-0328>. See
the “Timeline” section in that PEP for what import behaviour to
expect under different Python versions.
--
\ “Contentment is a pearl of great price, and whosoever procures |
`\it at the expense of ten
s and then *write some* yourself, present it
here, and we can discuss it in public for the benefit of all.
--
\ “Yesterday I told a chicken to cross the road. It said, ‘What |
`\ for?’” —Steven Wright |
_o__)
n1 :
--
\ “Pinky, are you pondering what I'm pondering?” “I think so, |
`\Brain, but don't you need a swimming pool to play Marco Polo?” |
_o__) —_Pinky and The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
e default
search for individual test functions.
--
\ “Remember: every member of your ‘target audience’ also owns a |
`\ broadcasting station. These ‘targets’ can shoot back.” —Michael |
_o__) Rathbun to advertisers, news.admin.net-abuse.email |
Ben Finney
--
http://mail.python.
x27;m pondering?” “I think so, |
`\Brain, but I find scratching just makes it worse.” —_Pinky and |
_o__) The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
\ “If I had known what it would be like to have it all... I might |
`\ have been willing to settle for less.” —Jane Wagner, via Lily |
_o__) Tomlin |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
derstanding it.” —Upton Sinclair, |
_o__) 1935 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
table.” —John |
_o__)Kenneth Galbraith, 1962-03-02 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Jorgen Grahn <[EMAIL PROTECTED]> writes:
> On Thu, 16 Oct 2008 07:47:36 +1100, Ben Finney <[EMAIL PROTECTED]> wrote:
> > Instead, I find the greater gain comes from a working environment
> > of *loosely-coupled* tools, with standard well-defined interfaces,
> &g
leave politics alone, but politics won't leave you alone.” |
_o__)—Richard Stallman, 2002-07-26 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
there yet and it would be a grave mistake
for Python to falsely behave as though we were.
--
\ “I went to a fancy French restaurant called ‘Déjà Vu’. The head |
`\ waiter said, ‘Don't I know you?’” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
es.” —Steven Wright |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
red and green and has bells on it, and the ends |
_o__) curl up.” —Steven Wright |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
org/> useful.
--
\ “Pinky, are you pondering what I'm pondering?” “I think so, |
`\Brain, but this time *you* put the trousers on the chimp.” |
_o__) —_Pinky and The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
John Machin <[EMAIL PROTECTED]> writes:
> On Oct 21, 11:03 pm, Ben Finney <[EMAIL PROTECTED]>
> wrote:
> > John Machin <[EMAIL PROTECTED]> writes:
> > > I don't understand the point or value of filtering out all byte values
> > > greater th
d. It said, ‘What |
`\ for?’” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
\ “The most common of all follies is to believe passionately in |
`\the palpably not true. It is the chief occupation of mankind.” |
_o__) —Henry L. Mencken |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
rpose.
--
\“You can't have everything; where would you put it?” —Steven |
`\ Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
her way, how would we ride a bicycle?” |
_o__) —_Pinky and The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
t;>> type( ('foo') )
However, for making a literal list, the brackets do matter:
>>> type( ['foo', 'bar'] )
>>> type( ['foo',] )
>>> type( ['foo'] )
--
\ “The way to build larg
"Paulo J. Matos" <[EMAIL PROTECTED]> writes:
> On Mon, Nov 3, 2008 at 12:32 PM, Ben Finney
> <[EMAIL PROTECTED]> wrote:
> > I'm wondering a more fundamental question: What are structures?
> > That is, what do *you* mean by that term; without k
nputs each time?
--
\ “The right to use [strong cryptography] is the right to speak |
`\ Navajo.” —Eben Moglen |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
To The Galaxy_, Douglas |
_o__) Adams |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
n't have it installed)? Is there a later PEP that I've missed which
finally makes ‘bool’ a type independent from ‘int’?
--
\ “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.” —Mahatma Gandhi |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
ation creates a generator; so it, too, won't need
to load all the lines in memory at the same time
--
\“Program testing can be a very effective way to show the |
`\presence of bugs, but is hopelessly inadequate for showing |
_o__) their a
end because the
file is finite size) never end, so feeding them to a constructor this
way will never return.
--
\ “It is far better to grasp the universe as it really is than to |
`\persist in delusion, however satisfying and reassuring.” —Carl |
_o__)
xpression from
surrounding syntax.
--
\ “bash awk grep perl sed, df du, du-du du-du, vi troff su fsck |
`\ rm * halt LART LART LART!” —The Swedish BOFH, |
_o__)alt.sysadmin.recovery |
Ben Finney
--
http://mail.python.or
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> writes:
> On Wed, 05 Nov 2008 12:06:42 +1100, Ben Finney wrote:
>
> > Falcolas <[EMAIL PROTECTED]> writes:
> >
> >> Using the surrounding parentheses creates a generator object
> >
> >
important that you do it.” —Mahatma Gandhi |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> writes:
> On Wed, 05 Nov 2008 13:18:27 +1100, Ben Finney wrote:
>
> > Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> writes:
> >
> > Your example shows only that they're important for g
ful approach than trying
to force-fit object-orientation to this procedural problem.
--
\ “Some mornings, it's just not worth chewing through the leather |
`\ straps.” —Emo Philips |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
calls with only one argument.
It's a fair cop. Thanks for setting me straight.
--
\ “We can't depend for the long run on distinguishing one |
`\ bitstream from another in order to figure out which rules |
_o__) apply.” —Eben Moglen, _Anarchism
ney’.” —Jack Handey |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
smethod(_from_string)
del _from_string
without the intermediate binding of the ‘_from_string’ name.
--
\ “The best way to get information on Usenet is not to ask a |
`\ question, but to post the wrong information.” —Aahz |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
r’ classmethod factory
functions for other cases. The caller then needs to specify which case
is being requested.
--
\ “I was in the first submarine. Instead of a periscope, they had |
`\ a kaleidoscope. ‘We're surrounded.’” —Steven Wright |
_o__)
\ “Friendship is born at that moment when one person says to |
`\another, ‘What! You too? I thought I was the only one!’” —C.S. |
_o__)Lewis |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Arnaud Delobelle <[EMAIL PROTECTED]> writes:
> Ben Finney <[EMAIL PROTECTED]> writes:
> [...]
> > All you need to know to understand the above is that it will have
> > essentially the same result as:
> >
> > class A(object):
> >
TW
--
\ Eccles: “I'll get [the job] too, you'll see. I'm wearing a |
`\Cambridge tie.” Greenslade: “What were you doing there?” |
_o__) Eccles: “Buying a tie.” —The Goon Show, _The Greenslade Story_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
ted certainly encourages
readers to make such a false interpretation.
--
\ “I know you believe you understood what you think I said, but I |
`\ am not sure you realize that what you heard is not what I |
_o__) meant.” —Robert J. McCloskey |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
xy object to a string, it displays like a
tuple. See the documentation for other ways of accessing various
attributes of a ResultProxy object.
--
\ “What is it that makes a complete stranger dive into an icy |
`\ river to save a solid gold baby? Maybe we'll never know.” —Jack |
_o__)
My apologies, my response was rather confused.
Ben Finney <[EMAIL PROTECTED]> writes:
> The result of an SQL SELECT is a sequence of tuples, where each item
> in the tuple is a value for a column as specified in the SELECT
> clause.
This remains true. No matter how many columns
.” —Voltaire |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
up all night playing poker with tarot cards. I got a |
`\ full house and four people died.” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
saw a sign: ‘Rest Area 25 Miles’. That's pretty big. Some |
`\ people must be really tired.” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
s world in arms is not spending money alone. It is spending |
`\ the sweat of its laborers, the genius of its scientists, the |
_o__) hopes of its children.” —Dwight Eisenhower, 1953-04-16 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
-
\ “He who allows oppression, shares the crime.” —Erasmus Darwin, |
`\ grandfather of Charles Darwin |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
7;t
impact the usefulness of the tests themselves on machines that don't
have ‘nose’ installed.
--
\“Holy contributing to the delinquency of minors, Batman!” —Robin |
`\ |
_o__)
s.
Right, so you should be providing these OpenIDs and OAuth profiles as
part of whatever other data collection and account set-up needs to be
done.
--
\ “If you make people think they're thinking, they'll love you; |
`\ but if you really make them think, they'll hate you
Steven D'Aprano <[EMAIL PROTECTED]> writes:
> On Wed, 12 Nov 2008 10:08:45 +1100, Ben Finney wrote:
>
> > Eric <[EMAIL PROTECTED]> writes:
> >> In MATLAB, if I just want the first, fifth and eighth element I
> >> might do something like this:
>
t;.
Good hunting!
--
\ “I can picture in my mind a world without war, a world without |
`\ hate. And I can picture us attacking that world, because they'd |
_o__) never expect it.” —Jack Handey |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
tel times anything will still give you Zero |
_o__) Mostel.” —_Pinky and The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
-
\ “I hope that after I die, people will say of me: ‘That guy sure |
`\owed me a lot of money’.” —Jack Handey |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
`\ 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
you need to use a specific
tool to get there. Instead, you're being shown that your assumption is
false: there's a better tool available to achieve your goal.
--
\ “Why, I'd horse-whip you if I had a horse.” —Groucho Marx |
`\
ing Slinkies on the escalators.” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
as far as others, it is because giants were |
`\ standing on my shoulders.” —Hal Abelson |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
rebellious, and immature.” —Tom Robbins |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
they do |
`\it from religious conviction.” —Blaise Pascal (1623-1662), |
_o__) Pensées, #894. |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
comparisons are different in Python 3.0?
--
\ “[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
--
http://mail.pyt
__) other enemas...” —Emo Philips |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Lord, make my enemies ridiculous!’ And God granted it.” |
_o__) —Voltaire |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
ead or my watch has stopped.” —Groucho Marx |
`\ |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
“Pinky, are you pondering what I'm pondering?” “Wuh, I think |
`\ so, Brain, but wouldn't anything lose its flavor on the bedpost |
_o__) overnight?” —_Pinky and The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
“Pinky, are you pondering what I'm pondering?” “I think so, |
`\ Brain, but if it was only supposed to be a three hour tour, why |
_o__) did the Howells bring all their money?” —_Pinky and The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
s.html#sys.path>, to have an
entry for each path you want to be searched when importing a module.
--
\ “The right to use [strong cryptography] is the right to speak |
`\ Navajo.” —Eben Moglen |
_o__)
standard IIRC. No need to re-write the entire
‘args’.
--
\“Humanity has advanced, when it has advanced, not because it |
`\ has been sober, responsible, and cautious, but because it has |
_o__)been playful, rebellious, and immature.” —Tom Robbins |
Ben Finney
--
h
ard Buckminster Fuller, |
`\ _Shelter_, 1932 |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
ps/pep-0328/>.
--
\ “All my life I've had one dream: to achieve my many goals.” |
`\—Homer, _The Simpsons_ |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
--
\“I fly Air Bizarre. You buy a combination one-way round-trip |
`\ticket. Leave any Monday, and they bring you back the previous |
_o__) Friday. That way you still have the weekend.” —Steven Wright |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
`\ danger, screaming and tripping and begging for mercy, then yes, |
_o__) Mr. Brave man, I guess I'm a coward.” —Jack Handey |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
ven remotely true!” —Homer, _The Simpsons_ |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> Writing a Python program to become a Unix daemon is relatively
> well-documented: there's a recipe for detaching the process and
> running in its own process group. However, there's much more to a
> Unix daemon than simply detaching.
[…]
> My search
Ben Finney writes:
> I've submitted PEP 3143 http://www.python.org/dev/peps/pep-3143/>
> to meet this need, and have re-worked an existing library into a new
> ‘python-daemon’ http://pypi.python.org/pypi/python-daemon/>
> library, the reference implementation.
>
>
Claus is missing.” —Steven Wright |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
\ “Science shows that belief in God is not only obsolete. It is |
`\also incoherent.” —Victor J. Stenger, 2001 |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
27;t setting the EUID and EGID something that is just as easily done
*after* the program achieves a daemon process?
--
\“If it ain't bust don't fix it is a very sound principle and |
`\ remains so despite the fact that I have slavishly ignored it |
_o__) all my life.” —Douglas Adams |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
7;m pondering?” “I think so, Brain, but |
`\why would anyone want a depressed tongue?” —_Pinky and The |
_o__) Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Jean-Paul Calderone writes:
> On Tue, 24 Mar 2009 15:42:46 +1100, Ben Finney
> wrote:
> >That sounds rather more specific than is needed for the generic
> >library being proposed here. I'm wary of adding features to an API
> >that is already quite complex.
>
nefit in changing it.
--
\“The number of UNIX installations has grown to 10, with more |
`\ expected.” —Unix Programmer's Manual, 2nd Ed., 1972-06-12 |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> I've submitted PEP 3143
> http://www.python.org/dev/peps/pep-3143/> to meet this need,
> and have re-worked an existing library into a new ‘python-daemon’
> http://pypi.python.org/pypi/python-daemon/> library, the
> reference implementation.
>
&
(replying in ‘comp.lang.python’ for wider feedback on this issue)
On 26-Mar-2009, Francis Irving wrote:
> On Thu, Mar 26, 2009 at 12:51:06AM +1100, Ben Finney wrote:
> > The ‘python-daemon’ distribution includes a module,
> > ‘daemon.pidlockfile’. The ‘daemon.pidlockfile.PIDLoc
Ben Finney writes:
> (replying in ‘comp.lang.python’ for wider feedback on this issue)
>
> On 26-Mar-2009, Francis Irving wrote:
> > ourlockfile.path = '/tmp/mydaemon.pid'
> > context = daemon.DaemonContext(
> > pidfile=ourlockfile,
> &g
plit()[2]
The version of my works is usually a string that is set and changed
manually and persists over many revisions, not something derived from
the VCS.
Here's a typical module header of mine:
=
$ cat gracie/server.py
# -*- coding: utf-8 -*-
# gracie/server.py
# Part of Gracie, an
a...@pythoncraft.com (Aahz) writes:
> In article <87iqlwvemo@benfinney.id.au>,
> Ben Finney wrote:
> >In the case of the ‘lockfile’ library, Skip is aiming for a
> >cross-platform solution, with atomic behaviour; he has implemented
> >lock acquisition with
modate it.
--
\ “People come up to me and say, ‘Emo, do people really come up |
`\to you?’” —Emo Philips |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
_o__) Ingersoll, _The Liberty of Man, Woman and Child_, 1877 |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list
3001 - 3100 of 4138 matches
Mail list logo