[issue26362] Approved API for creating a temporary file path

2021-03-12 Thread Ben Finney
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

Re: How Do You Replace Variables With Their Values?

2019-07-11 Thread Ben Finney
“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

Re: How Do You Replace Variables With Their Values?

2019-07-10 Thread Ben Finney
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

Re: Instance vs Class variable oddity

2019-05-15 Thread Ben Finney
dancers hit each other.” —Jack Handey | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: convert .py to Android ?

2019-05-14 Thread Ben Finney
| `\of the graveyard.” —Justice Roberts in 319 U.S. 624 (1943) | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

[issue23297] Clarify error when ‘tokenize.detect_encoding’ receives text

2019-04-28 Thread Ben Finney
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

Re: formatted docstrings

2019-04-03 Thread Ben Finney
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

Re: Syntax for one-line "nonymous" functions in "declaration style"

2019-03-27 Thread Ben Finney
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

Re: configparser - which one?

2019-03-27 Thread Ben Finney
approaches zero. All non-Free software is a dead end.” —Mark | _o__) Pilgrim, 2006 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Your IDE's?

2019-03-27 Thread Ben Finney
not ignorance but the illusion of | _o__)knowledge.” —Daniel J. Boorstin, historian, 1914–2004 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Your IDE's?

2019-03-25 Thread Ben Finney
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

Re: Reasoning of calling a method on class object instead of class instance object

2019-03-18 Thread Ben Finney
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

Re: Reasoning of calling a method on class object instead of class instance object

2019-03-18 Thread Ben Finney
he RefrigeratedShippingContainer encapsulates the conversions of temperature units. -- \ “When we pray to God we must be seeking nothing — nothing.” | `\—Francis of Assisi | _o__)

Re: Not a python question, just programming logic trap?

2019-03-13 Thread Ben Finney
children. | `\ They had all the paintings up on refrigerators.” —Steven Wright | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Totally Legit Signing Key?

2019-03-04 Thread Ben Finney
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

Re: Two Tier Cloud Network

2019-02-25 Thread Ben Finney
o the | _o__) culinary arts.” —Michael Bacarella | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Feature suggestions: "Using declarations" i.e. context managers ("with" blocks) tied to scope/lifetime of the variable rather than to nesting

2019-02-19 Thread Ben Finney
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

Re: Multiprocessing performance question

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

Re: What's the address for?

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

Re: The NaNny State

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

Re: Problem : Generator

2019-02-14 Thread Ben Finney
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

Re: Can't run setup.py offline due to setup_requires - setup.py calls home

2019-02-11 Thread Ben Finney
culture, they are so | _o__) self-righteous about it …” —Nina Paley, 2011 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Loop with else clause

2019-02-05 Thread Ben Finney
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

Re: When to Use Django & Flask frame work

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

Re: Help - Python REST API

2018-12-12 Thread Ben Finney
. They can only give you answers.” —Pablo | `\ Picasso | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: setup.py and licensing questions

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

[issue33130] functools.reduce signature uses `iterable`, documentation should use the same term

2018-11-30 Thread Ben Finney
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

[issue33130] functools.reduce signature uses `iterable`, documentation should use the same term

2018-11-30 Thread Ben Finney
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

Re: question on the 'calendar' function

2018-11-20 Thread Ben Finney
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

Re: question on the 'calendar' function

2018-11-20 Thread Ben Finney
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

Re: PEP 394

2018-10-19 Thread Ben Finney
.” | _o__) —Steven Wright | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: ESR "Waning of Python" post

2018-10-11 Thread Ben Finney
am still receiving” —Albert Einstein | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Python indentation (3 spaces)

2018-10-08 Thread Ben Finney
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

Python indentation (correct behaviour) (was: Python indentation (3 spaces))

2018-10-08 Thread Ben Finney
its speaker a raving lunatic.” —Dresden James | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: This thread is closed [an actual new thread]

2018-10-02 Thread Ben Finney
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

This thread is closed (was: [OT] master/slave debate in Python)

2018-10-01 Thread Ben Finney
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

Re: What's an elegant way to test for list index existing?

2018-09-29 Thread Ben Finney
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

Re: What's an elegant way to test for list index existing?

2018-09-28 Thread Ben Finney
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

Re: Which class method is being called when we declare below expression?

2018-09-28 Thread Ben Finney
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

Re: Which class method is being called when we declare below expression?

2018-09-28 Thread Ben Finney
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

Re: Enum with nested classes or with types as members

2018-09-12 Thread Ben Finney
—David Weinberger | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: How to pass Python command line options (vs arguments) when running script directly vs via Python interpreter?

2018-08-15 Thread Ben Finney
Pilgrim, 2006 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Good reason not to obfuscate URLs (was: Fishing from PyPI ?)

2018-08-07 Thread Ben Finney
_o__) _Structure and Interpretation of Computer Programs_ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: How to start gnuradio

2018-08-01 Thread Ben Finney
Grasse Tyson, 2011-02-04 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Why did logging not undergo PEP8 API change?

2018-07-30 Thread Ben Finney
orated into law and policy.” | _o__) —Russell Blackford, 2010-03-06 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Anyone using cloud based monitoring/logging services with Python logging module?

2018-07-26 Thread Ben Finney
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

Re: coding style - where to declare variables

2018-07-23 Thread Ben Finney
-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

Re: For next loops

2018-07-23 Thread Ben Finney
o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: functions vs methods

2018-07-22 Thread Ben Finney
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

Re: functions vs methods

2018-07-22 Thread Ben Finney
resulted from people who took unpopular | `\ positions.” —Adlai Stevenson | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Looking for a recent quote about dynamic typing, possibly on this list

2018-07-06 Thread Ben Finney
1988 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Using Python with a website

2018-07-04 Thread Ben Finney
\ “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

Re: PEP 526 - var annotations and the spirit of python

2018-07-03 Thread Ben Finney
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

Re: PEP 526 - var annotations and the spirit of python

2018-07-03 Thread Ben Finney
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

Re: Getting posts to sort chronologically in tree view

2018-07-03 Thread Ben Finney
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

Re: PEP 526 - var annotations and the spirit of python

2018-07-03 Thread Ben Finney
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

Re: PEP 526 - var annotations and the spirit of python

2018-07-03 Thread Ben Finney via Python-list
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

Re: Getting posts to sort chronologically in tree view

2018-07-03 Thread Ben Finney
Lowell | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread Ben Finney
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

Re: Getting posts to sort chronologically in tree view

2018-07-02 Thread Ben Finney
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

Re: Should nested classes in an Enum be Enum members?

2018-06-28 Thread Ben Finney
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

Re: Should nested classes in an Enum be Enum members?

2018-06-28 Thread Ben Finney
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

Re: Should nested classes in an Enum be Enum members?

2018-06-28 Thread Ben Finney
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

Re: Quick survey: locals in comprehensions (Python 3 only)

2018-06-26 Thread Ben Finney
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

Re: Anyone here on Python-Dev mailing list?

2018-06-26 Thread Ben Finney
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

Re: Package directory question

2018-06-26 Thread Ben Finney
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

Re: translating foreign data

2018-06-25 Thread Ben Finney
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

Re: Quick survey: locals in comprehensions (Python 3 only)

2018-06-24 Thread Ben Finney
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

Re: Anyone here on Python-Dev mailing list?

2018-06-24 Thread Ben Finney
, and am not receiving anything like that. -- \ “Today, I was — no, that wasn't me.” —Steven Wright | `\ | _o__) | Ben Finney -- https://mail.pytho

Re: Package directory question

2018-06-24 Thread Ben Finney
- \“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

Re: translating foreign data

2018-06-23 Thread Ben Finney
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

Re: Is it possible to call a class but without a new instance created?

2018-06-18 Thread Ben Finney
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/

Re: Is it possible to call a class but without a new instance created?

2018-06-18 Thread Ben Finney
-- \ “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

Re: Metasyntactic thingies

2018-06-17 Thread Ben Finney
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

Re: syntax difference

2018-06-17 Thread Ben Finney
d it.” —Donald Knuth, 1977-03-29 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: syntax difference

2018-06-17 Thread Ben Finney
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

Re: syntax difference

2018-06-16 Thread Ben Finney
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

Re: Server warning

2018-06-15 Thread Ben Finney
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/

Re: How to apply filters to posts

2018-06-14 Thread Ben Finney
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

[issue14102] argparse: add ability to create a man page

2018-06-14 Thread Ben Finney
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

[issue14102] argparse: add ability to create a man page

2018-06-14 Thread Ben Finney
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

Re: mutable sequences

2018-06-14 Thread Ben Finney
`\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

Re: How to apply filters to posts

2018-06-14 Thread Ben Finney
| _o__) Profundis_, 1897 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

[issue14102] argparse: add ability to create a man page

2018-06-14 Thread Ben Finney
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

Re: mutable sequences

2018-06-13 Thread Ben Finney
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

Re: Why exception from os.path.exists()?

2018-06-07 Thread Ben Finney
death while praying for a fish.” | _o__) —Anonymous | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Valid encodings for a Python source file

2018-06-07 Thread Ben Finney via 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__)

Re: Attachments

2018-06-05 Thread Ben Finney
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

Re: Attachments

2018-06-04 Thread Ben Finney
| _o__) would be to pretend you were swimming.” —Jack Handey | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: How can an int be '+' with a tuple?

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

Re: '_' and '__'

2018-05-26 Thread Ben Finney
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

Re: Some Issues on Tagging Text

2018-05-25 Thread Ben Finney
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

Re: List replication operator

2018-05-24 Thread Ben Finney
2008-06-27 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: how to handle captcha through machanize module or any module

2018-05-23 Thread Ben Finney
es Stross, 2010-05-09 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: "Data blocks" syntax specification draft

2018-05-21 Thread Ben Finney
—_Slapstick_, | `\ Kurt Vonnegut | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: what does := means simply?

2018-05-17 Thread Ben Finney
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

Re: object types, mutable or not?

2018-05-16 Thread Ben Finney
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

Re: object types, mutable or not?

2018-05-15 Thread Ben Finney
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

Re: What's the rationale for b"..." in this example?

2018-05-15 Thread Ben Finney
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

Re: object types, mutable or not?

2018-05-15 Thread Ben Finney
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   2   3   4   5   6   7   8   9   10   >