Ben Finney added the comment:
> tempfile.mktemp() still exists and works without raising a deprecation
> warning. Of course it's still marked as deprecated in the docs.
Right. So, the issue is not resolved: Functionality to create a temporary file
path is maintained in the standard l
“The number of UNIX installations has grown to 10, with more |
`\ expected.” —Unix Programmer's Manual, 2nd Ed., 1972-06-12 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
lem
are you trying to solve that you think this will help?
--
\ “If [a technology company] has confidence in their future |
`\ ability to innovate, the importance they place on protecting |
_o__) their past innovations really should decline.” —Gary Barnett |
Ben Finney
dancers hit each other.” —Jack Handey |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
|
`\of the graveyard.” —Justice Roberts in 319 U.S. 624 (1943) |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ben Finney added the comment:
On 28-Apr-2019, Berker Peksag wrote:
> The original problem has already been solved by making
> tokenize.generate_tokens() public in issue 12486.
I don't understand how that would affect the resolution of this issue.
Isn't the correct resolution here
e depending on
the environment).
--
\ “Courage is not the absence of fear, but the decision that |
`\ something else is more important than fear.” —Ambrose Redmoon |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
before?
Too many times to count :-)
--
\ “Theology is the effort to explain the unknowable in terms of |
`\ the not worth knowing.” —Henry L. Mencken |
_o__) |
Ben Finney
--
https://mail.python
approaches zero. All non-Free software is a dead end.” —Mark |
_o__) Pilgrim, 2006 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
not ignorance but the illusion of |
_o__)knowledge.” —Daniel J. Boorstin, historian, 1914–2004 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ect of a programmer's editor like
Vim or GNU Emacs.
--
\“The reason we come up with new versions is not to fix bugs. |
`\ It's absolutely not.” —Bill Gates, 1995-10-23 |
_o__) |
Ben Finney
--
ht
Arup Rakshit writes:
Michael Torrie writes:
> On 03/18/2019 05:55 PM, Ben Finney wrote:
> >> If I call `_c_to_f`, `_f_to_c` methods on `self` instead of
> >> `RefrigeratedShippingContainer` class object, still it works.
> >
> > That's right, and is indeed th
he RefrigeratedShippingContainer encapsulates
the conversions of temperature units.
--
\ “When we pray to God we must be seeking nothing — nothing.” |
`\—Francis of Assisi |
_o__)
children. |
`\ They had all the paintings up on refrigerators.” —Steven Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
nce of the key that made the signature.
--
\“Human 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
o the |
_o__) culinary arts.” —Michael Bacarella |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
with foo.open() as logfile:
frobnicate_the_whelk(logfile=logfile)
--
\ “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, 200
tried using that library and timing the result?
--
\ “You don't need a book of any description to help you have some |
`\kind of moral awareness.” —Dr. Francesca Stavrakoloulou, bible |
_o__) scholar, 2011-05-08 |
Ben Finney
--
https://mail.python
, and thinking of them that way will frequently lead you to
the wrong conclusion.
https://nedbatchelder.com/text/names1.html>
--
\ “Theology is the effort to explain the unknowable in terms of |
`\ the not worth knowing.” —Henry L. Mencken |
_o__)
at it |
`\is. Every once in a while I'll be listening to the radio and I |
_o__) say, ‘I think I might have written that.’” —Steven Wright |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
o information. They are the tool of choice for the internet |
_o__) highwayman.” —Anthony Taylor |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
culture, they are so |
_o__) self-righteous about it …” —Nina Paley, 2011 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
her code has decided which items
to handle; it becomes correspondingly simpler.
--
\ “Two possibilities exist: Either we are alone in the Universe |
`\ or we are not. Both are equally terrifying.” —Arthur C. Clarke, |
_o__) 1999 |
Ben F
thout needing to diverge from the default.
--
\ “If I ever get real rich, I hope I'm not real mean to poor |
`\ people, like I am now.” —Jack Handey |
_o__) |
Ben Finney
--
https://mail.pytho
. They can only give you answers.” —Pablo |
`\ Picasso |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
license is a statement, preferably brief, that says exactly
what the work is, who holds copyright, who receives a grant of license,
and what that grants the recipient to do, under what explicit conditions.
For example:
Copyright © 2018 Ben Finney
Purple Drachma is free sof
Ben Finney added the comment:
Hah, sorry to use a local-filesystem URL. (Hooray for locally-installed
developer documentation!)
The same section is online at
https://docs.python.org/3/library/functools.html#functools.reduce .
--
___
Python
Ben Finney added the comment:
The library documentation (e.g.
file:///usr/share/doc/python3/html/library/functools.html#functools.reduce )
also has this dissonance:
> functools.reduce(`function`, `iterable` [, `initializer` ])
>
>Apply function of two arguments cum
o1bigtenor writes:
> On Tue, Nov 20, 2018 at 12:09 PM Ben Finney
> wrote:
> > o1bigtenor writes:
> > > It could be useful to see the longer time spans as weeks rather
> > > than as days but seeing the larger time frames only as months
> > > woul
d with the |
`\best.” —Oscar Wilde, quoted in _Chicago Brothers of the Book_, |
_o__) 1917 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
.” |
_o__) —Steven Wright |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
am still receiving” —Albert Einstein |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
e 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
its speaker a raving lunatic.” —Dresden James |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ethan Furman writes:
> On 10/01/2018 04:26 PM, Ben Finney wrote:
> > If there is some specific formal meaning to the above statement, I
> > don't know where it's documented. If it's not a specific formal
> > statement, that is itself troubling, because it's not clear what
nce.
--
\ “Truth would quickly cease to become stranger than fiction, |
`\ once we got as used to it.” —Henry L. Mencken |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> You can use a comprehension, iterating over the full range of index you
> want::
>
> words = shlex.split(line)
> padding_length = 5
> words_padded = [
> (words[index] if index < len(words))
> for index in range(p
ehension mechanics provide.
--
\ “Pray, v. To ask that the laws of the universe be annulled in |
`\ behalf of a single petitioner confessedly unworthy.” —Ambrose |
_o__) Bierce, _The Devil's Dictionary_, 1906 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> Ajay Patel writes:
>
> > L = [1,2,3]
>
> That's not an expression; it is an assignment statement.
>
> The right-hand side is an expression. […] in this case, [the object] a new
> instance of 'list' […] is the result of evaluating the right-hand s
scription also applies to that assignment statement.
--
\“If you go parachuting, and your parachute doesn't open, and |
`\you friends are all watching you fall, I think a funny gag |
_o__) would be to pretend you were swimming.” —Jack Handey |
Ben Finney
—David Weinberger |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Pilgrim, 2006 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
_o__) _Structure and Interpretation of Computer Programs_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Grasse Tyson, 2011-02-04 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
orated into law and policy.” |
_o__) —Russell Blackford, 2010-03-06 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
languages,
including Python's ‘logging’ module.
--
\ “When I turned two I was really anxious, because I'd doubled my |
`\ age in a year. I thought, if this keeps up, by the time I'm six |
_o__) I'll be ninety.” —Steven Wright |
Ben Finney
--
https://mail.p
-typed reference to an object.
I expect both of these requests to meet with little satisfaction.
--
\ “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 Pa
o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
ived from it) to improve the
documentation as you suggest.
--
\ “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, 2005-01-18 |
Ben Finney
resulted from people who took unpopular |
`\ positions.” —Adlai Stevenson |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
1988 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
\ “If sharing a thing in no way diminishes it, it is not rightly |
`\ owned if it is not shared.” —Augustine of Hippo (354–430 CE) |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
nterested any
more.
--
\“This sentence contradicts itself — no actually it doesn't.” |
`\ —Douglas Hofstadter |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
t rare story of which you happen to have first-hand |
_o__) knowledge.” —Erwin Knoll |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
T Berger writes:
> On Tuesday, July 3, 2018 at 4:00:03 PM UTC-4, Ben Finney wrote:
> > Given that history [of ignoring user requests for improvement], you
> > might want to avoid Google Groups for interacting with forums, and
> > choose software that works better with di
Jim Lee writes:
> On 07/03/18 19:58, Ben Finney via Python-list wrote:
> > Jim Lee writes:
> >
> >> If you were to say John had 2 apples, Jane had 4 apples, and Joe had
> >> an indefinite number of apples, how many numbers are we talking about?
> > Thr
uot; is a number”.
--
\“That's the essence of science: Ask an impertinent question, |
`\and you're on the way to the pertinent answer.” —Jacob |
_o__) Bronowski, _The Ascent of Man_, 1973 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Lowell |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
place to get that help.
--
\ “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 Finney
--
https://mail.python.org/mailman/li
ary.
--
\ “The entertainment industry calls DRM "security" software, |
`\ because it makes them secure from their customers.” —Cory |
_o__) Doctorow, 2014-02-05 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ethan Furman writes:
> On 06/28/2018 05:58 PM, Ben Finney wrote:
>
> > So I remain dumbfounded as to why anyone would want a class to *both* be
> > an enumerated type, *and* have callable attributes in its API.
>
> Perhaps I am using Enum incorrectly, but here is
Ian Kelly writes:
> On Thu, Jun 28, 2018 at 4:38 AM Ben Finney wrote:
> >
> > Ethan Furman writes:
> >
> > Specifically, I can't make sense of why someone would want to have a
> > class that is simultaneously behaving as an enumerated type, *and*
> > h
ur measuring |
`\ devices tell us about the actual nature of reality.” —Ann |
_o__) Druyan, _Cosmos_, 2014 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
From: Ben Finney
Paul Moore writes:
> On 24 June 2018 at 06:03, Steven D'Aprano
> wrote:
> > Given this function:
> >
> > def test():
> > a = 1
> > b = 2
> > result = [value for key, value in locals().items()]
> > return
From: Ben Finney
Steven D'Aprano writes:
> Anyone on the Python-Dev mailing list, are you getting private emails
> containing nothing but stream of consciousness word-salad from
> somebody (some bot?) calling himself "Chanel Marvin" with a gmail
> address?
I am on
From: Ben Finney
Robert Latest via Python-list writes:
> Because the main.py script needs to import the tables.py module from
> backend, I put this at the top if main.py:
>
>sys.path.append('../..')
>import jobwatch.backend.tables as tables
>
> My question is: Is t
From: Ben Finney
Richard Damon writes:
> On 6/23/18 11:27 AM, Steven D'Aprano wrote:
> >> On 6/23/18 9:05 AM, Marko Rauhamaa wrote:
> >>> Richard Damon wrote:
> >>> > Data presented to the user should normally use his locale
> >>> > (unless
knob on the TV to turn up the intelligence. |
`\ There's a knob called ‘brightness’ but it doesn't work.” |
_o__) —Eugene P. Gallagher |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
, and am not receiving anything like that.
--
\ “Today, I was — no, that wasn't me.” —Steven Wright |
`\ |
_o__) |
Ben Finney
--
https://mail.pytho
-
\“Telling pious lies to trusting children is a form of abuse, |
`\plain and simple.” —Daniel Dennett, 2010-01-12 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
sn't inconvenience [lawbreakers] — 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
olving that problem?
--
\ “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/mailman/listinfo/
--
\ “Now Maggie, I’ll be watching you too, in case God is busy |
`\ creating tornadoes or not existing.” —Homer, _The Simpsons_ |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
include “spunge”, “nardle”, “crun”,
etc.
--
\ “Pinky, are you pondering what I'm pondering?” “I think so, |
`\ Brain, but where are we going to find a duck and a hose at this |
_o__) hour?” —_Pinky and The Brain_ |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
d it.” —Donald Knuth, 1977-03-29 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Chris Angelico writes:
> On Sun, Jun 17, 2018 at 3:30 PM, Ben Finney
> wrote:
> > (or, if you want to continue with the older less-flexible style,
(I gave an unhelpful URL for that documentation. Try this instead
https://docs.python.org/3/library/stdtypes.html#printf-style-strin
es sense in different use cases.
--
\“A right is not what someone gives you; it's what no one can |
`\ take from you.” —Ramsey Clark |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
e WSGI server).
--
\ “[F]reedom of speech does not entail freedom to have your ideas |
`\accepted by governments and incorporated into law and policy.” |
_o__) —Russell Blackford, 2010-03-06 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/
Dennis Lee Bieber writes:
> On Fri, 15 Jun 2018 05:39:08 +1000, Ben Finney
> declaimed the following:
>
> >Don't choose the daily digest, because it makes a special “digest”
> >message for you each day. That message is disconnected from any other
> >message, and so yo
Ben Finney added the comment:
On Thu, 2018-06-14 23:46 +, Aaron Meurer wrote:
> Couldn't such a tool exist outside the standard library.
I've tried writing such a tool. It would ideally re-use as much as feasible of
the functionality that assembles the usage mess
Ben Finney added the comment:
On Thu, 2018-06-14 20:02 +, Pablo Galindo Salgado
wrote:
> The (possible) confusion is the existence of a manpage only available
> though argparse (`./python foo.py --manpage`)
This report isn't asking for that. (I see only one person pro
`\and digital gadgets are no good. They just fill your head with |
_o__) numbers and that can't be good for you.” —Prince, 2010-07-05 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
|
_o__) Profundis_, 1897 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Ben Finney added the comment:
On 14-Jun-2018, Pablo Galindo Salgado wrote:
> I think this should be something that is not included in argparse
> itself. I can imagine a scenario in which the manpage is accessible
> through `./python foo.py --manpage` but the manpage is not
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
death while praying for a fish.” |
_o__) —Anonymous |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
e set (rather than deliberately unspecified)? What are you
hoping to do with that information?
--
\ “Good design adds value faster than it adds cost.” —Thomas C. |
`\ Gale |
_o__)
place to begin or end, and it's hard to keep track of what |
_o__) you've already covered.” —anonymous |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
|
_o__) would be to pretend you were swimming.” —Jack Handey |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
it said ‘Adults: $5.00, Children $2.50’. |
`\ So I said ‘Give me two boys and a girl.’” —Steven Wright |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Mike McClain <mike.junk...@att.net> writes:
> Steven D'Aprano and Ben Finney used these '_' and '__'.
> Steve said, "[[] for _ in range(5)]".
> Ben said, "[ [] for __ in range(5) ]".
>
> These aren't listed separately in the index
That's right, the n
th those questions.
Then, you have a statement that is precise enough to write tests for,
and therefore to write in code.
--
\ “I have always wished for my computer to be as easy to use as |
`\ my telephone; my wish has come true because I can no longer |
_o__) figure out h
2008-06-27 |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
es Stross, 2010-05-09 |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
—_Slapstick_, |
`\ Kurt Vonnegut |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
nt
languages :-)
--
\ “Puritanism: The haunting fear that someone, somewhere, may be |
`\ happy.” —Henry L. Mencken |
_o__) |
Ben Finney
--
https://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> writes:
> On Wed, 16 May 2018 11:30:26 +1000, Ben Finney wrote:
>
> > An object is not a value; an object *has* a value. The object
> > retains its identity even when its value changes.
>
> Here you have hit
the “a value is an
object” false equivalence needs un-learning, I can't let it pass.
--
\“The idea that He would take his attention away from the |
`\ universe in order to give me a bicycle with three speeds is |
_o__) just so unlikely that I can't go along with it.” —Quentin C
t question, the answer is no.
Rather, the ‘bytes’ and ‘str’ types are now entirely incompatible, and
implicit conversions are never done between them. Any conversions
between them must be explicit.
--
\“There are always those who think they know what is your |
`\ resp
inding (the “variable”). The type is
a property of the object.
--
\ “It is the fundamental duty of the citizen to resist and to |
`\ restrain the violence of the state.” —Noam Chomsky, 1971 |
_o__) |
Ben Finney
--
1 - 100 of 4158 matches
Mail list logo