t results.” —dry cleaner, |
`\ Bangkok |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
e" on Windows unless it cannot be
> avoided.
Agreed :-)
--
\ “Wrinkles should merely indicate where smiles have been.” —Mark |
`\Twain, _Following the Equator_ |
_o__) |
Ben Finney
to mountains of waste is not more |
`\ landfill sites but fewer shopping centres.” —Clive Hamilton, |
_o__) _Affluenza_, 2005 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
paul.hermeneu...@gmail.com writes:
> On Fri, Feb 5, 2016 at 11:52 AM, Ben Finney <ben+pyt...@benfinney.id.au>
> wrote:
> > Since MS Windows lacks those facilities, ‘python-daemon’ can't use
> > them.
>
> As you might imagine, I am not always able to specify whi
That's been answered, but I'm curious to know what your program will do
with that information?
--
\ “But Marge, what if we chose the wrong religion? Each week we |
`\ just make God madder and madder.” —Homer, _The Simpsons_ |
_o__)
ivities 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
an Empire was |
`\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
his way, and correctly
interact with mailing list technology.
--
\ “In economics, hope and faith coexist with great scientific |
`\ pretension and also a deep desire for respectability.” —John |
_o__) Kenneth Galbraith, 1970-06-07 |
Ben Finney
hour …” —F. H. Wales, 1936 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Random832 <random...@fastmail.com> writes:
> On Wed, Feb 3, 2016, at 16:50, Ben Finney wrote:
> > (You will also have a “reply to all” command. That's almost never
> > appropriate in a forum like this.)
>
> Why not? People reply all to messages I write all the tim
|
_o__) 1995-10-23 |
Ben Finney <b...@benfinney.id.au>
--
https://mail.python.org/mailman/listinfo/python-list
um is also welcome.
--
\ “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 Finney
--
https://mail.python.org/mailman/listinfo/python-list
on 3 is the only one
that is actively developed.
--
\ “We spend the first twelve months of our children's lives |
`\ teaching them to walk and talk and the next twelve years |
_o__) telling them to sit down and shut up.” —Phyllis Diller |
Ben Finney
--
https://ma
guage,
Python 3 <URL:https://docs.python.org/3/tutorial/>.
--
\ “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 |
y |
`\ river to save a solid gold baby? Maybe we'll never know.” —Jack |
_o__) Handey |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
human-readable string. If you actually
want to do comparisons, use ‘sys.version_info’ for its much more
fine-grained structure.
--
\ “If you can't annoy somebody there is little point in writing.” |
`\—Kingsley Amis |
_o__)
t upset me. I just think, why did they |
`\ believe me?” —Jack Handey |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
t;> increment
datetime.timedelta(0, 18)
>>> foo_timestamp + increment
datetime.datetime(2000, 1, 1, 16, 36, 43)
--
\“You don't change the world by placidly finding your bliss — |
`\you do it by focusing your discontent in productive ways.” |
_o__)
don't even know the name / |
`\But if I did, well, really, what's it to you?” —Leonard Cohen, |
_o__) _Hallelujah_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
python.org/3/reference/expressions.html#binary-arithmetic-operations>.
--
\ “Timid men prefer the calm of despotism to the boisterous sea |
`\of liberty.” —Thomas Jefferson |
_o__)
knowledge of reality is incompatible |
_o__) with bullshit.” —Paul Z. Myers, 2010-03-14 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ng and consuming them. Learning to use them is an
important tool in avoiding more complex and error-prone code.
--
\ “[F]reedom of speech does not entail freedom to have your ideas |
`\accepted by governments and incorporated into law and policy.” |
_o__)
o confuse only one issue at a time.” —Brian W. |
`\Kernighan and Dennis M. Ritchie, _The C programming language_, |
_o__) 1988 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
you need to pay a lawyer for advice. So I
advise you don't make such a restrictive work.
--
\ “The way to build large Python applications is to componentize |
`\ and loosely-couple the hell out of everything.” —Aahz |
_o__)
t match what you expect?
--
\“Of course, everybody says they're for peace. Hitler was for |
`\ peace. Everybody is for peace. The question is: what kind of |
_o__)peace?” —Noam Chomsky, 1984-05-14 |
Ben Finney
--
https://mail.python.org/mailman/lis
Robert <rxjw...@gmail.com> writes:
> On Monday, January 4, 2016 at 9:26:47 PM UTC-5, Ben Finney wrote:
> > Can you show example code that you would expect, and specifically what about
> > the actual code doesn't match what you expect?
>
> Excuse me for the incomplete in
difference between a moral man and a man of honor is that |
`\ the latter regrets a discreditable act, even when it has worked |
_o__) and he has not been caught.” —Henry L. Mencken |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ntil they do, it is foolish for a community to
willingly put their correspondence data into it.
--
\ “Come on Milhouse, there’s no such thing as a soul! It’s just |
`\ something they made up to scare kids, like the Boogie Man or |
_o__) Michael Jackson.” —Bart,
“There's no excuse to be bored. Sad, yes. Angry, yes. |
`\Depressed, yes. Crazy, yes. But there's no excuse for boredom, |
_o__) ever.” —Viggo Mortensen |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Chris Angelico <ros...@gmail.com> writes:
> On Sun, Jan 3, 2016 at 7:45 PM, Ben Finney <ben+pyt...@benfinney.id.au> wrote:
> > Anyone can take email data from the email server, migrate it to a
> > different implementation of the same email system, keep it running
>
oth a polite reminder to
do that, and an attempt to get you to do so if you didn't.
If you didn't, then answering “yes” is wasting everyone's time.
--
\ “As the most participatory form of mass speech yet developed, |
`\the Internet deserves the highest protection from governmental
Michael Torrie <torr...@gmail.com> writes:
> On 01/02/2016 12:02 AM, Ben Finney wrote:
> > GitHub's “pull request” workflow is entirely proprietary and can
> > only be done within GitHub.
>
> Really? This seems like an entirely artificial github requirement.
Yes, i
b.
What will be done to ensure other Git repositories remain on a level
playing field not only technically, but socially?
--
\ “Ours is a world where people don't know what they want and are |
`\ willing to go through hell to get it.” —Donald Robert Perry |
_o__)
ing 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
"Charles T. Smith" <cts.private.ya...@gmail.com> writes:
> On Thu, 31 Dec 2015 11:21:59 +1100, Ben Finney wrote:
>
> > Tersely: the relationship between an object and its attributes, is
> > not the same as the relationship between a dictionary and its it
ng out twice.” |
_o__) —Henry L. Mencken |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Chris Angelico <ros...@gmail.com> writes:
> On Fri, Jan 1, 2016 at 7:18 AM, Ben Finney <ben+pyt...@benfinney.id.au> wrote:
> > Given how very often such decisions make my debugging tasks
> > needlessly difficult, I'm not seeing how that's a desirable feature.
>
>
fficial Python 2 support ends.
I tell them I can't say, because I don't have 2020 vision.
--
\ “Science shows that belief in God is not only obsolete. It is |
`\also incoherent.” —Victor J. Stenger, 2001 |
_o__)
Steven D'Aprano <st...@pearwood.info> writes:
> On Thu, 31 Dec 2015 10:13 am, Ben Finney wrote:
>
> > You may be familiar with other languages where the distinction
> > between “attribute of an object” is not distinct from “item in a
> > dictionary”. Python
Lily Tomlin |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
f Faith_, 2004 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
|
_o__) —Carl Sagan, _The Burden of Skepticism_, 1987 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
deliberately raises an exception. Is that your intent?
--
\ “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.” —Paul Z. Myers, 2009-09-12 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Batman!” —Robin |
`\ |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
tevenson |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
arris, _The End |
`\ of Faith_, 2004 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
e the tub.” —hotel room, Japan |
`\ |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
l answers.
--
\ “When cryptography is outlawed, bayl bhgynjf jvyy unir |
`\ cevinpl.” —Anonymous |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
thon libraries you can use for accessing
that interface.
--
\ “If you do not trust the source do not use this program.” |
`\—Microsoft Vista security dialogue |
_o__) |
Ben Finney
--
h
mation |
`\ 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
nt with each example to understand it before
continuing.
--
\ “Anyone who believes exponential growth 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
a slap-down.
Please work to keep our community welcoming, and assume good faith in
newcomers.
--
\ “Do unto others twenty-five percent better than you expect them |
`\ to do unto you. (The twenty-five percent is [to correct] for |
_o__) error.)” —Linus Pa
eryk sun <eryk...@gmail.com> writes:
> On Wed, Dec 23, 2015 at 7:36 PM, Ben Finney <ben+pyt...@benfinney.id.au>
> wrote:
> > So how do I get from a Python 2 ‘file’ object, to whatever
> > ‘io.TextIOWrapper’ wants?
>
> I would dup the file descriptor an
y opened, such as a
‘Popen.stdout’ attribute – in a text wrapper with a particular encoding?
--
\ “With Lisp or Forth, a master programmer has unlimited power |
`\ and expressiveness. With Python, even a regular guy can reach |
_o__) for the stars.” —Raymond Hettinger |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
I left the Subject field with the wrong question. The immediate answer
is “it presents the ‘file’ interface”. The consequent questions remain:
Ben Finney <ben+pyt...@benfinney.id.au> writes:
> $ python2
[…]
> >>> gnupg_stdout = io.TextIOWrapper(gnupg_subprocess.st
whatever a questioner has in mind.” —Noam Chomsky |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
y Bysshe |
_o__)Shelley, _The Necessity of Atheism_, 1811 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
L. Mencken |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
you I did not have C++ in mind.” —Alan Kay, creator of |
_o__) Smalltalk, at OOPSLA 1997 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
n.” —William Jennings Bryan, 1923-01 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
g?” “I think so, |
`\ Brain, but there's still a bug stuck in here from last time.” |
_o__) —_Pinky and The Brain_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
nks this is the best of all possible worlds. |
`\ The pessimist fears it is true.” —J. Robert Oppenheimer |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
n't depend for the long run on distinguishing one |
`\ bitstream from another in order to figure out which rules |
_o__) apply.” —Eben Moglen, _Anarchism Triumphant_, 1999 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
your operating system, not use it within Python.
But I can only guess, until you show us which page from which tutorial
you're referring to.
--
\“Technology is neither good nor bad; nor is it neutral.” |
`\ —Melvin Kranzberg's First Law of Technology
(exit_status)
--
\“The greatest tragedy in mankind's entire history may be the |
`\ hijacking of morality by religion.” —Arthur C. Clarke, 1991 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
executed in a particular
sequence, the ‘unittest’ module is a poor fit.
--
\ “Come on, if your religion is so vulnerable that a little bit |
`\ of disrespect is going to bring it down, it's not worth |
_o__) believing in, frankly.” —Terry Gilliam, 2
|
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
“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
wbreakers] — indeed, over time it |
`\ trains law-abiding users to become [lawbreakers] out of sheer |
_o__)frustration.” —Charles Stross, 2010-05-09 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
f, |
_o__) comp.lang.python, 2012-12-27 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
thout moving. He said it was elevator |
_o__)practice.” —Steven Wright |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
unto you. (The twenty-five percent is [to correct] for |
_o__) error.)” —Linus Pauling's Golden Rule |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano <st...@pearwood.info> writes:
> On Fri, 27 Nov 2015 12:40 pm, Ben Finney wrote:
>
> > It's still not been expressed what “fake” refers to here. Or, rather,
> > what “real” thing was being expected, and how these don't qualify.
>
&g
Python documentation.
--
\“Absurdity, n. A statement or belief manifestly inconsistent |
`\with one's own opinion.” —Ambrose Bierce, _The Devil's |
_o__)Dictionary_, 1906 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
`\ it breeds contempt for the law.” —Justice Louis Brandeis |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ion to embrace all humanity and the whole |
_o__) of nature in its beauty.” —Albert Einstein |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ian Kelly <ian.g.ke...@gmail.com> writes:
> On Wed, Nov 25, 2015 at 5:52 PM, Random832 <random...@fastmail.com> wrote:
> > On 2015-11-25, Ben Finney <ben+pyt...@benfinney.id.au> wrote:
> >> That is, the ‘2’ in ‘cartesian_point = (2, 3)’ means something
> >
prove anything |
`\that's even remotely true!” —Homer, _The Simpsons_ |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
s Henry Huxley, _Essays on |
_o__) Controversial Questions_, 1889 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
an expiration date.” —Steven Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
break it up by assigning some sub-parts to
temporary well-chosen descriptive names (not ‘t’).
--
\ “It is far better to grasp the universe as it really is than to |
`\persist in delusion, however satisfying and reassuring.” —Carl |
_o__)Sagan |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
wiki/Posting_style#Interleaved_style>.)
--
\ “Anyone who puts a small gloss on [a] fundamental technology, |
`\ calls it proprietary, and then tries to keep others from |
_o__) building on it, is a thief.” —Tim O'Reilly, 2000-01-25 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
—Russell Blackford, 2010-03-06 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
s a reference to the value, the value
remains unaffected when you delete the reference ‘list1’.
--
\ “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__)
s a
solution can be offered.
--
\ “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 Finney
--
https://mail.python.org/mail
man/listinfo/tutor>.
--
\ “Philosophy is questions that may never be answered. Religion |
`\ is answers that may never be questioned.” —anonymous |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
now what to add.” |
`\—Steven Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
always been in excess of |
`\ the demand.” —Josh Billings |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ection("bsu5000")
gen = do_stuff(bsu5000_conn)
do_more_things_with(bsu5000_conn)
--
\ “I don't know anything about music. In my line you don't have |
`\ to.” —Elvis Aaron Presley (1935–1977) |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Laura Creighton <l...@openend.se> writes:
> In a message of Tue, 10 Nov 2015 17:10:09 +1100, Ben Finney writes:
> >I am a Bear of Little Brain, but: Isn't anything that the *compiler*
> >does, by definition done at *compile* time?
>
> No.
>
> We used to have a p
BartC <b...@freeuk.com> writes:
> On 09/11/2015 01:04, Ben Finney wrote:
> > There isn't a way for the compiler to *know*, in all cases, whether
> > module attributes will be updated during the lifetime of the program
>
> In what way can an attribute be u
the “problem” being addressed is essentially the dynamism of
Python. The proposal is misguided.
--
\ “Truth would quickly cease to become stranger than fiction, |
`\ once we got as used to it.” —Henry L. Mencken |
_o__)
about not
just the compiler any more. No?
--
\ “Any sufficiently advanced bug is indistinguishable from a |
`\ feature.” —Rich Kulawiec |
_o__) |
Ben Finney
--
https://mail.pyt
Laura Creighton <l...@openend.se> writes:
> In a message of Tue, 10 Nov 2015 06:45:40 +1100, Ben Finney writes:
> >So the remaining space of code that is safe for the proposed
> >optimisation is trivially small. Why bother with such optimisations, if
> >the only code t
Antoon Pardon <antoon.par...@rece.vub.ac.be> writes:
> Op 07-11-15 om 04:43 schreef Ben Finney:
> > Python assumes the programmers using it are consenting adults. Doing
> > harmful things is difficult but not forbidden.
>
> I find that to be contradictory. Why should y
|
`\inappropriate for religion to play any role in issues of state |
_o__)[of] a modern democracy.” —Lawrence M. Krauss, 2012-05-28 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
__) their past innovations really should decline.” —Gary Barnett |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
that should be sufficient to quash the desire to make them.
--
\ “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 Finne
apply.” —Eben Moglen, _Anarchism Triumphant_, 1999 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Chris Angelico <ros...@gmail.com> writes:
> On Mon, Nov 9, 2015 at 11:26 AM, Ben Finney <ben+pyt...@benfinney.id.au>
> wrote:
> > Chris Angelico <ros...@gmail.com> writes:
> >
> >> Testing/mocking is a completely separate consideration (eg you
601 - 700 of 4158 matches
Mail list logo