Re: fileno() not supported in Python 3.1

2014-11-13 Thread Ben Finney
empt for the law.” —Justice Louis Brandeis | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: caught in the import web again

2014-11-15 Thread Ben Finney
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

Re: encode and decode builtins

2014-11-15 Thread Ben Finney
'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

Re: isiter builtin

2014-11-16 Thread Ben Finney
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

Messages from code analysis tools (was: Using map())

2014-11-16 Thread Ben Finney
—Alvin Toffler | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: How modules work in Python

2014-11-16 Thread Ben Finney
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

Re: Error when trying to open an image

2014-11-16 Thread Ben Finney
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

Python-friendly IDE (was: Python IDE.)

2014-11-21 Thread Ben Finney
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

Import a module from a specific file path (was: PyWart: "Python's import statement and the history of external dependencies")

2014-11-21 Thread Ben Finney
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

Re: Import a module from a specific file path

2014-11-21 Thread Ben Finney
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

Re: PyWart: "Python's import statement and the history of external dependencies"

2014-11-22 Thread Ben Finney
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

Re: Quotation Ugliness

2014-11-25 Thread Ben Finney
esus, as quoted in Luke | _o__) 12:5 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Using a password with ‘sudo’ (was: Quotation Ugliness)

2014-11-25 Thread Ben Finney
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

Re: Quotation Ugliness

2014-11-26 Thread Ben Finney
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

Re: Python and GUI development

2014-12-01 Thread Ben Finney
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

Re: Python handles globals badly.

2014-12-02 Thread Ben Finney
nd madder.” —Homer, _The Simpsons_ | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

The binding operator, and what gets bound to what (was: About Modifying Globals)

2014-12-04 Thread Ben Finney
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

Different “reply” functions: reply-to-sender, reply-to-list, reply-to-all (was: Setting default_factory of defaultdict to key)

2014-12-07 Thread Ben Finney
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

Reasons for source code line length limits (was: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?)

2014-12-07 Thread Ben Finney
sley Amis | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?

2014-12-07 Thread Ben Finney
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__)

Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?

2014-12-07 Thread Ben Finney
“You can be a victor without having victims.” —Harriet Woods, | `\ 1927–2007 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Reasons for source code line length limits

2014-12-07 Thread Ben Finney
morphic.” —Albert | _o__)Einstein, unsent letter, 1955 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?

2014-12-08 Thread Ben Finney
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

Re: Question on lambdas

2014-12-08 Thread Ben Finney
“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

Re: Question on lambdas

2014-12-08 Thread Ben Finney
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

Re: Question on lambdas

2014-12-08 Thread Ben Finney
-- \ “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

Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?

2014-12-09 Thread Ben Finney
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

Re: Do you like the current design of python.org?

2014-12-09 Thread Ben Finney
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 -

[RELEASE] ‘python-daemon’ version 1.5.6 released

2014-12-09 Thread Ben Finney
repose in the | `\ boots of ascension.” —ski hotel, Austria | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: When do default parameters get their values set?

2014-12-10 Thread Ben Finney
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

Re: Python script isn't producing text in data file

2014-12-10 Thread Ben Finney
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__)

Re: Python script isn't producing text in data file

2014-12-10 Thread Ben Finney
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

Re: Python 2.x and 3.x use survey, 2014 edition

2014-12-11 Thread Ben Finney
essions’. Now they have two problems.” | _o__) —Jamie Zawinski, in alt.religion.emacs | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: is_ as method or property?

2014-12-11 Thread Ben Finney
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

Re: How to detect that a function argument is the default one

2014-12-11 Thread Ben Finney
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

Re: Extension of while syntax

2014-12-11 Thread Ben Finney
`\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

Re: Extension of while syntax

2014-12-11 Thread Ben Finney
meek, for they shall inherit the earth.” —Donald | `\ Robert Perry Marquis | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Portable code: __import__ demands different string types between 2 and 3

2014-12-14 Thread Ben Finney
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

Portable code: ‘from __future__ import unicode_literals’ a good idea? (was: Portable code: __import__ demands different string types between 2 and 3)

2014-12-15 Thread Ben Finney
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 &#x

Re: Portable code: __import__ demands different string types between 2 and 3

2014-12-15 Thread Ben Finney
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

Re: Portable code: ‘from __future__ import unicode_literals’ a good idea?

2014-12-15 Thread Ben Finney
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

Re: Portable code: __import__ demands different string types between 2 and 3

2014-12-15 Thread Ben Finney
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

Re: Portable code: __import__ demands different string types between 2 and 3

2014-12-15 Thread Ben Finney
o__) of nature in its beauty.” —Albert Einstein | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

[RELEASE] ‘python-daemon’ version 1.5.7 released

2014-12-19 Thread Ben Finney
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__)

Re: Bug? Feature? setattr(foo, '3', 4) works!

2014-12-19 Thread Ben Finney
't even know you didn't | `\ know.” —Daniel J. Boorstin, historian, 1914–2004 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Changing script's search path at install time

2014-12-19 Thread Ben Finney
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

Sending plain text messages (was: what is wrong with d.clear()?)

2014-12-23 Thread Ben Finney
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

Re: learning to use iterators

2014-12-23 Thread Ben Finney
\ “Any sufficiently advanced bug is indistinguishable from a | `\ feature.” —Rich Kulawiec | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Sending plain text messages (was: what is wrong with d.clear()?)

2014-12-23 Thread Ben Finney
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

Re: learning to use iterators

2014-12-24 Thread Ben Finney
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

Re: suggestions for VIN parsing

2014-12-25 Thread Ben Finney
(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

Re: Classes - "delegation" question.

2014-12-25 Thread Ben Finney
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

Re: suggestions for VIN parsing

2014-12-25 Thread Ben Finney
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 -

Re: How do I remove/unlink wildcarded files

2015-01-02 Thread Ben Finney
ver the world as the Nazis were.” —Kurt | _o__) Vonnegut, 2004 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Announce: PyPrimes 0.2.1a

2015-01-07 Thread Ben Finney
Descent of Man_, 1871 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

PyPI files should not change their payload (was: Announce: PyPrimes 0.2.1a)

2015-01-08 Thread Ben Finney
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

Using a ChangeLog as a canonical source of package metadata (was: Announce: PyPrimes 0.2.1a)

2015-01-08 Thread Ben Finney
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

Where to learn current best Python packaging practices (was: Announce: PyPrimes 0.2.1a)

2015-01-08 Thread Ben Finney
.” —Harriet Woods, 1927–2007 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Where to learn current best Python packaging practices

2015-01-08 Thread Ben Finney
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

Re: Decimals and other numbers

2015-01-08 Thread Ben Finney
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

Re: Decimals and other numbers

2015-01-08 Thread Ben Finney
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

Re: Announce: PyPrimes 0.2.1a

2015-01-09 Thread Ben Finney
t.” —Steven Wright | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

[RELEASE] ‘python-daemon’ version 2.0 released

2015-01-10 Thread Ben Finney
one.” —John Maynard Keynes | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

[RELEASE] ‘python-daemon’ version 2.0.1 released

2015-01-10 Thread Ben Finney
bout | _o__) nature…” —Niels Bohr | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Using a ChangeLog as a canonical source of package metadata

2015-01-11 Thread Ben Finney
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:

[RELEASE] ‘python-daemon’ version 2.0.2 released

2015-01-12 Thread Ben Finney
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

[RELEASE] ‘python-daemon’ version 2.0.3 released

2015-01-13 Thread Ben Finney
ck Handey | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Using a ChangeLog as a canonical source of package metadata

2015-01-14 Thread Ben Finney
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

Re: What does "pip install" do?

2015-01-14 Thread Ben Finney
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

Re: Trees

2015-01-19 Thread Ben Finney
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

Re: Random ALL CAPS posts on this group

2015-01-19 Thread Ben Finney
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

Re: Python is DOOMED! Again!

2015-01-22 Thread Ben Finney
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

[RELEASE] ‘python-daemon’ version 2.0.4 released

2015-01-22 Thread Ben Finney
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

Re: Random ALL CAPS posts on this group

2015-01-23 Thread Ben Finney
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,

Re: Random ALL CAPS posts on this group

2015-01-23 Thread Ben Finney
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,

Re: Idiomatic backtracking in Python

2015-01-25 Thread Ben Finney
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

Re: An object is an instance (or not)?

2015-01-27 Thread Ben Finney
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

Re: An object is an instance (or not)?

2015-01-27 Thread Ben Finney
) 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

Re: An object is an instance (or not)?

2015-01-27 Thread Ben Finney
`\ 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

Re: Is there a more elegant way to spell this?

2015-01-27 Thread Ben Finney
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

Re: An object is an instance (or not)?

2015-01-27 Thread Ben Finney
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

Re: An object is an instance (or not)?

2015-01-27 Thread Ben Finney
he water served here.” | `\ —hotel, Acapulco | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: An object is an instance (or not)?

2015-01-27 Thread Ben Finney
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

Re: An object is an instance (or not)?

2015-01-28 Thread Ben Finney
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

[RELEASE] ‘python-daemon’ version 2.0.5 released

2015-02-01 Thread Ben Finney
2012 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Downloading videos (in flash applications) using python

2015-02-02 Thread Ben Finney
ing and reassuring.” —Carl | _o__) Sagan | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Indentation issues with python

2015-02-04 Thread Ben Finney
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.

Re: Usage of some pastebin service proposed

2015-02-04 Thread Ben Finney
ith one | `\ trifling exception, is composed of others.” —John Andrew Holmes | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Setuptools, __init__ and __main__

2015-02-06 Thread Ben Finney
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__)

Re: Setuptools, __init__ and __main__

2015-02-06 Thread Ben Finney
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

Incompatible idioms: relative imports, top-level program file (was: Setuptools, __init__ and __main__)

2015-02-06 Thread Ben Finney
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

Re: Incompatible idioms: relative imports, top-level program file

2015-02-06 Thread Ben Finney
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

Parsing and comparing version strings (was: Odd version scheme)

2015-02-12 Thread Ben Finney
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

People hated it for the same reasons I found them cool (was: python implementation of a new integer encoding algorithm.)

2015-02-18 Thread Ben Finney
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

Re: sqlite3 and dates

2015-02-18 Thread Ben Finney
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

Re: 'Lite' Databases (Re: sqlite3 and dates)

2015-02-18 Thread Ben Finney
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__)

Re: What the Pythons docs means by "container" ?

2015-02-18 Thread Ben Finney
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

Re: 'Lite' Databases (Re: sqlite3 and dates)

2015-02-18 Thread Ben Finney
believe me?” —Jack Handey | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: 'Lite' Databases (Re: sqlite3 and dates)

2015-02-18 Thread Ben Finney
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__)

Re: 'Lite' Databases (Re: sqlite3 and dates)

2015-02-18 Thread Ben Finney
esire for respectability.” —John | _o__) Kenneth Galbraith, 1970-06-07 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

<    8   9   10   11   12   13   14   15   16   17   >