empt for the law.” —Justice Louis Brandeis |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ake it from scratch, without irrelevant parts
from the rest of your program, but ensure it still does what you're
confused by – and present it here.
--
\ “It's a terrible paradox that most charities are driven by |
`\ religious belief.… if you think altruism withou
't know. Why do you have to?
--
\ “God was invented to explain mystery. God is always invented to |
`\ explain those things that you do not understand.” —Richard P. |
_o__) Feynman, 1988 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ich is very Pythonic)?
--
\ “What is needed is not the will to believe but the will to find |
`\ out, which is the exact opposite.” —Bertrand Russell, _Free |
_o__) Thought and Official Propaganda_, 1928 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
—Alvin Toffler |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ction is not always a method.
A method is a function bound to a specific object instance.
--
\ “As soon as we abandon our own reason, and are content to rely |
`\ upon authority, there is no end to our troubles.” —Bertrand |
_o__) Russell, _Unpopular Es
sscce.org/>
--
\ “I bet one legend that keeps recurring throughout history, in |
`\ every culture, is the story of Popeye.” —Jack Handey |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
sides, see
https://wiki.python.org/moin/EclipsePythonIntegration>.
--
\ “Men never do evil so completely and cheerfully as when they do |
`\it from religious conviction.” —Blaise Pascal (1623–1662), |
_o__) Pensées, #894. |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ith how to do it today in Python: Do
you really consider that superior to simply specifying a filesystem path
for a file containing the module?
--
\“I'd take the awe of understanding over the awe of ignorance |
`\ any day.” —Douglas Adams
etension and also a deep desire for respectability.” —John |
_o__) Kenneth Galbraith, 1970-06-07 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ion in the
standard library.
--
\ “The generation of random numbers is too important to be left |
`\to chance.” —Robert R. Coveyou |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
esus, as quoted in Luke |
_o__) 12:5 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
sh 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
et the requirements changed, as they are
currently not implementable.
--
\ “Facts are stubborn things; and whatever may be our wishes, our |
`\ inclinations, or the dictates of our passion, they cannot alter |
_o__)the state of facts and evidence.” —John Adams, 1770-12-04 |
Ben Fin
ogramming>.
--
\ “Truth is stranger than fiction, but it is because fiction is |
`\ obliged to stick to possibilities, truth isn't.” —Mark Twain, |
_o__) _Following the Equator_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
nd madder.” —Homer, _The Simpsons_ |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
e to an object. The only
difference between the operations is the parameters.
--
\ “People always ask me, ‘Where were you when Kennedy was shot?’ |
`\Well, I don't have an alibi.” —Emo Philips |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
il client can show that relationship among messages forming a
discussion thread.
--
\ “I find the whole business of religion profoundly interesting. |
`\ But it does mystify me that otherwise intelligent people take |
_o__) it seriously.” —Douglas Adam
sley Amis |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ated “does this code meet the
agreed style guide?” test, but many do. Perhaps the OP is one.
--
\ “How wonderful that we have met with a paradox. Now we have |
`\some hope of making progress.” —Niels Bohr |
_o__)
“You can be a victor without having victims.” —Harriet Woods, |
`\ 1927–2007 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
morphic.” —Albert |
_o__)Einstein, unsent letter, 1955 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
he fundamental principle of science, the definition almost, |
`\ is this: the sole test of the validity of any idea is |
_o__) experiment.” —Richard P. Feynman |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
“Theology is the effort to explain the unknowable in terms of |
`\ the not worth knowing.” —Henry L. Mencken |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Christoph Becker writes:
> Ben Finney wrote:
>
> > It's best to remember that ‘lambda’ is syntactic sugar for creating
> > a function; the things it creates are not special in any way, they
> > are normal functions, not “lambdas”.
>
> Could you please ela
--
\ “Not to be absolutely certain is, I think, one of the essential |
`\ things in rationality.” —Bertrand Russell |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
hin 80 columns.
--
\ ΓÇ£The fundamental principle of science, the definition almost, |
`\ is this: the sole test of the validity of any idea is |
_o__) experiment.ΓÇ¥ ΓÇöRichard P. Feynman |
Ben Finney
--- SoupGate-Win32 v1.05
* Origin: nntp.gatew...@.p
at doesn't disqualify it
from also being useless.
--
\ “If you define cowardice as running away at the first sign of |
`\ danger, screaming and tripping and begging for mercy, then yes, |
_o__) Mr. Brave man, I guess I'm a coward.” —Jack Handey |
Ben Finney
-
repose in the |
`\ boots of ascension.” —ski hotel, Austria |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
real world; there is more
achievement in solving problems here.
--
\ “The power of accurate observation is frequently called |
`\cynicism by those who don't have it.” —George Bernard Shaw |
_o__) |
Ben Finn
Short, Self-Contained, Complete Example
http://sscce.org/> of code that exhibits the behaviour.
--
\ “When cryptography is outlawed, bayl bhgynjf jvyy unir |
`\ cevinpl.” —Anonymous |
_o__)
xhibit the behaviour you want explained.
--
\ “Properly read, the Bible is the most potent force for atheism |
`\ever conceived.” —Isaac Asimov |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
essions’. Now they have two problems.” |
_o__) —Jamie Zawinski, in alt.religion.emacs |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
o horrifying mistakes, |
`\ horrifying mistakes to God-I-wish-I-was-still-bored, and it |
_o__) goes downhill from there.” —Will Larson, 2008-11-04 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
to hide from criticism behind |
`\ the human shield of their believers' feelings.” —Richard M. |
_o__) Stallman |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
`\that, lacking zero, they had no way to indicate successful |
_o__) termination of their C programs.” —Robert Firth |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
meek, for they shall inherit the earth.” —Donald |
`\ Robert Perry Marquis |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
a bug which should be fixed so “use Unicode for text” remains
applicable advice?
--
\ “I do not believe in immortality of the individual, and I |
`\consider ethics to be an exclusively human concern with no |
_o__) superhuman authority behind it.” —Albert Einstein, letter, 1953 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Devin Jeanpierre writes:
> On Sun, Dec 14, 2014 at 11:29 PM, Ben Finney
> wrote:
> > from __future__ import unicode_literals
>
> Ordinarily, for 2.x/3.3+ code I would suggest not doing this --
> instead, b'...' for bytes, u'...' for unicode, and
Ethan Furman writes:
> On 12/14/2014 11:29 PM, Ben Finney wrote:
> > The ‘__import__’ built-in function, though, is tripping up.
>
> One work-around I have used is:
>
> if isinstance(some_var, bytes):
> some_var = some_var.decode('ascii')
> # at t
Ned Batchelder writes:
> On 12/15/14 7:42 PM, Ben Finney wrote:
> > As for the advice to avoid such a declaration, you're arguing against
> > the official guide for porting Python 2 code to 2-and-3 compatible code:
> >
> > For text you should eithe
Ethan Furman writes:
> On 12/15/2014 05:36 PM, Ben Finney wrote:
> > I'm increasingly of the opinion this is a subtle bug in ‘__import__’
> > that should be fixed instead of worked around.
And other people agree: https://bugs.python.org/issue21720>.
> Of course. But
o__) of nature in its beauty.” —Albert Einstein |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
thon-daemon’ is a Python library to implement a well-behaved Unix
daemon process.
--
\“Intellectual property is to the 21st century what the slave |
`\ trade was to the 16th.” —David Mertz |
_o__)
't even know you didn't |
`\ know.” —Daniel J. Boorstin, historian, 1914–2004 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
immediately, that doesn't remove
the need for a separate build step to go from “tree of files I'm editing
and managing in VCS”, to “tree of files in a different location ready to
run”.
--
\ “Some people have a problem, and they think “I know, I'll use |
`\ Perl!”. Now they h
en-In-Doubt-Send-Plain-Text-Email-Not-Fancy-Html.htm>
--
\ “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, c. 30 CE, as quoted in Matthew 24:34 |
Ben Fin
\ “Any sufficiently advanced bug is indistinguishable from a |
`\ feature.” —Rich Kulawiec |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
he long run nothing can withstand reason and experience, |
`\and the contradiction which religion offers to both is all too |
_o__)palpable.” —Sigmund Freud |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Terry Reedy writes:
> On 12/23/2014 4:25 PM, Ben Finney wrote:
> > To be clear: there's nothing about parentheses that produce a
> > generator expression.
>
> Incorrect; parentheses *are* as a part of 'generator expression'.
> From the doc:
> generat
(small!) code examples here to show your working.
Good hunting.
--
\ “The Vatican is not a state.… a state must have territory. This |
`\ is a palace with gardens, about as big as an average golf |
_o__) course.” —Geoffrey Robertson, 2010-09-18 |
Ben Fi
cense 2.0 would be better.
--
\ “When I get new information, I change my position. What, sir, |
`\ do you do with new information?” —John Maynard Keynes |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
his task to go beyond
‘str.startswith’, from what I can tell.
--
\ “We are stuck with technology when what we really want is just |
`\ stuff that works.” —Douglas Adams |
_o__) |
Ben Finney
-
ver the world as the Nazis were.” —Kurt |
_o__) Vonnegut, 2004 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Descent of Man_, 1871 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
er, which I'll address in a different message.
--
\ “Capitalism has destroyed our belief in any effective power but |
`\ that of self interest backed by force.” —George Bernard Shaw |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano writes:
> Ben Finney wrote:
> > The source has a ‘CHANGES.txt’ file which has no entry later than
> > version 0.2a. Why was the later version made, and when will the
> > change log be updated for that?
>
> Ah, I knew I forgot something!
Th
.” —Harriet Woods, 1927–2007 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Rick Johnson writes:
> On Thursday, January 8, 2015 at 7:12:18 PM UTC-6, Ben Finney wrote:
>
> > That does not contradict the position that [python packaging] is an
> > ornery beast full of hidden traps and compromises though; it just
> > means that everything that came
rd to learn Spanish. I turned it |
`\on and went to sleep; the record got stuck. The next day I |
_o__) could only stutter in Spanish.” —Steven Wright |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
either
case, a bug report is warranted IMO.
--
\ “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
--
https://mail.python.o
t.” —Steven Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
one.” —John Maynard Keynes |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
bout |
_o__) nature…” —Niels Bohr |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
tils’
already installed (a future ‘python-daemon’ distribution will declare
this dependency).
I'll be interested to see how Python developers like this.
--
\ “The process by which banks create money is so simple that the |
`\ mind is repelled.” —John Kenneth Galbraith, _Money:
o, they had no way to indicate successful |
_o__) termination of their C programs.” —Robert Firth |
Ben Finney
signature.asc
Description: Digital signature
--
https://mail.python.org/mailman/listinfo/python-list
ck Handey |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> The idea is to parse from the Changelog the version metadata, and
> record it in Setuptools metadata. Then the ‘pkg_resources’ module of
> Setuptools allows programmatic access to that metadata.
One tricky aspect is: at what specific point should the Changelog be
p
ing beyond the scope of the user guide. There's
nothing wrong with doing that, but you need to recognise the shift and
look for the appropriate documentation.
--
\ “The most common way people give up their power is by thinking |
`\ they don't have any.” —Alice Walker |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
e I utter must be understood not as an |
`\ affirmation, but as a question.” —Niels Bohr |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
expression.
--
\ “I planted some bird seed. A bird came up. Now I don't know |
`\ what to feed it.” —Steven Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
evision is that the people must 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
--
https://mail.python.org/mailman/listinfo/python-list
arge Python applications is to componentize |
`\ and loosely-couple the hell out of everything.” —Aahz |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano writes:
> Ben Finney wrote:
>
> > Freedom of expression entails an obligation on the state to not
> > quash anyone's expression. It does not affect anyone who is not the
> > state; it imposes no obligation on the PSF.
>
> By this reasoning,
Steven D'Aprano writes:
> Ben Finney wrote:
>
> > Freedom of expression entails an obligation on the state to not
> > quash anyone's expression. It does not affect anyone who is not the
> > state; it imposes no obligation on the PSF.
>
> By this reasoning,
s 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
oo' instance” would be an improvement.
--
\ “Pinky, are you pondering what I'm pondering?” “I think so, |
`\Brain, but I find scratching just makes it worse.” —_Pinky and |
_o__) The Brain_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
)
which is not an instance of some class. Python objects are always an
instance of some specific class.
--
\ “Books and opinions, no matter from whom they came, if they are |
`\ in opposition to human rights, are nothing but dead letters.” |
_o__) —Ernestine Rose |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
`\ happen at all. The conscientious historian will correct these |
_o__) defects.” —Mark Twain, _A Horse's Tale_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
themselves |
`\ to fact, not to try and make facts harmonise with my |
_o__) aspirations.“ —Thomas Henry Huxley, 1860-09-23 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
me
'Foo'”). The error message which inspired this thread needs improvement,
as I've said already.
Let's not dismiss anyone's experience without good reason.
--
\ “When people believe that they have absolute knowledge, with no |
`\ test in reality, this [the Ausch
he water served here.” |
`\ —hotel, Acapulco |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Devin Jeanpierre writes:
> […] as Ben Finney pointed out. (BTW I agree with literally every
> single thing he said in this thread, it's really amazing.)
Hmm, writing that doesn't annoy somebody is not worth writing [0].
It shouldn't annoy *everyone* though, so I'm
Steven D'Aprano writes:
> Ben Finney wrote:
>
> > * In the distant past of Python, some objects were not instances of any
> > class; the terminology in the documentation and messages shows some
> > confusing legacies from that ancient time.
>
>
> I presu
2012 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ing and reassuring.” —Carl |
_o__) Sagan |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ownload the code as a “plain text”
file.
--
\ “I got some new underwear the other day. Well, new to me.” —Emo |
`\ Philips |
_o__) |
Ben Finney
--
https://mail.python.
ith one |
`\ trifling exception, is composed of others.” —John Andrew Holmes |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
hat
all your code is importable by your unit tests; that way, it's ready for
a Setuptools entry point declaration without changes.
--
\ “Quidquid latine dictum sit, altum viditur.” (“Whatever is |
`\ said in Latin, sounds profound.”) —anonymous |
_o__)
x27;s design IMO, and we just
need to work with it.
--
\ “I find the whole business of religion profoundly interesting. |
`\ But it does mystify me that otherwise intelligent people take |
_o__)it seriously.” —Douglas Adams |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ethan Furman writes:
> On 02/06/2015 02:56 PM, Ben Finney wrote:
> > It is a deliberate design decision that direct import of a module
> > makes that module blind to its location in the package hierarchy.
> >
> > That's a design decision I deplore, because it ma
Ethan Furman writes:
> On 02/06/2015 04:44 PM, Ben Finney wrote:
> > A program will often have enough complexity that its implementation
> > occupies several sub-modules. There's no need to explose those in a
> > site package, they normally only need to be local to t
Distutils API. Try
http://epydoc.sourceforge.net/stdlib/distutils.version.StrictVersion-class.html>.
--
\ “Programs must be written for people to read, and only |
`\incidentally for machines to execute.” —Abelson & Sussman, |
_o__) _Structure and Interpreta
an reason is snatching everything to itself, leaving |
`\ nothing for faith.” —Bernard of Clairvaux, 1090–1153 CE |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
think you're propping up a straw man there; the
expectation is quite simple and its absence from SQLite is astonishing.
Your attempted mockery does not, IMO, hit home.
--
\ “When we call others dogmatic, what we really object to is |
`\ their holding dogmas that are different from our
and it commonly loses data silently. Don't use MySQL.)
But perhaps you don't need concurrency? Only you can tell us.
--
\ “It's up to the masses to distribute [music] however they want |
`\… The laws don't matter at that point. People sharing music in |
_o__)
have the law on your side, pound the law. If you have neither |
_o__) on your side, pound the table.” —anonymous |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
believe me?” —Jack Handey |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
database.
But is this what you mean by your requirements not being met by SQLite?
--
\ “Natural catastrophes are rare, but they come often enough. We |
`\ need not force the hand of nature.” —Carl Sagan, _Cosmos_, 1980 |
_o__)
esire for respectability.” —John |
_o__) Kenneth Galbraith, 1970-06-07 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
1201 - 1300 of 4138 matches
Mail list logo