Re: How Do You Replace Variables With Their Values?

2019-07-11 Thread Ben Finney
'Banana Split'] The above code produces this output, without any need for binding new names. So what is it you are actually trying to achieve, and why do you think the new bindings are necessary? -- \“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
do you need to also have them bound to separate names; what problem 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 pas

Re: Instance vs Class variable oddity

2019-05-15 Thread Ben Finney
;s no music, no | `\ choreography, and the 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
imity | `\of the graveyard.” —Justice Roberts in 319 U.S. 624 (1943) | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: formatted docstrings

2019-04-03 Thread Ben Finney
x27;s going to change 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
ssed 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.p

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
is 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
ex tasks we expect 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__)

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 inde

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

2019-03-18 Thread Ben Finney
sier when the 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
ne by 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
ovenance 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
is to 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
purpose:: 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.” —Pau

Re: Multiprocessing performance question

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

Re: What's the address for?

2019-02-18 Thread Ben Finney
t containers, 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
n't know what 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
to 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
eve that they own 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
assumes some other 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__)

Re: When to Use Django & Flask frame work

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

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 software: you a

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
ied 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
ing 60 MPH.” | _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
received and 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
“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

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

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

2018-10-01 Thread Ben Finney
which prompted this instance. -- \ “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(paddi

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

2018-09-28 Thread Ben Finney
whatever optimisations the in-built comprehension 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 t

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

2018-09-27 Thread Ben Finney
hat object. > And > L =[] All the above description 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

Re: Enum with nested classes or with types as members

2018-09-12 Thread Ben Finney
ferences.” —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-06 Thread Ben Finney
son & Sussman, | _o__) _Structure and Interpretation of Computer Programs_ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: How to start gnuradio

2018-07-31 Thread Ben Finney
believe in it.” —Neil deGrasse 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
and incorporated 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
frameworks of many 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

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 Wolfga

Re: For next loops

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

Re: functions vs methods

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

Re: functions vs methods

2018-07-22 Thread Ben Finney
gress has 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
erested 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? > > Three

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

2018-07-03 Thread Ben Finney via Python-list
ite" 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
st 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/mailm

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* > &

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

2018-06-28 Thread Ben Finney
nses overpowers what our 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()] > > retu

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 questio

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 > >>> > (u

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

2018-06-24 Thread Ben Finney
“I wish there was a 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
mane), and am not receiving anything like that. -- \ “Today, I was — no, that wasn't me.” —Steven Wright | `\ | _o__) | Ben Finney -- https://

Re: Package directory question

2018-06-24 Thread Ben Finney
at all that does. -- \“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
ect. -- \ “DRM doesn'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
g 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
our own. -- \ “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
ome recent ones 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
correct, not tried it.” —Donald Knuth, 1977-03-29 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: syntax difference

2018-06-16 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
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
ure a properly secure 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.o

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

Re: mutable sequences

2018-06-14 Thread Ben Finney
these computers | `\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
car Wilde, _De | _o__) Profundis_, 1897 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: mutable sequences

2018-06-13 Thread Ben Finney
ackages, is | `\ 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
religion, and he'll starve to 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
exhaustive 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
d | `\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
funny gag | _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
ent to the cinema, 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 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,

Re: Some Issues on Tagging Text

2018-05-25 Thread Ben Finney
cise 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 how to use my telephone.” —Bjarne Stroustrup | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: List replication operator

2018-05-24 Thread Ben Finney
ugh. So this is another way to get that result: foo = [ [] for __ in range(5) ] -- \ “We now have access to so much information that we can find | `\ support for any prejudice or opinion.” —David Suzuki, 2008-06-27 | _o__)

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

2018-05-23 Thread Ben Finney
l answer, other than to stop thinking that's a race that you can win. -- \ “DRM doesn't inconvenience [lawbreakers] — indeed, over time it | `\ trains law-abiding users to become [lawbreakers] out of sheer | _o__)frustration.” —Charles Stross, 2010-

Re: "Data blocks" syntax specification draft

2018-05-21 Thread Ben Finney
Vonnegut | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: what does := means simply?

2018-05-17 Thread Ben Finney
unting 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 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 on the crux of the matter. Why cannot bo

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 Crisp | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

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

2018-05-15 Thread Ben Finney
? To the extent I understand that 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 | `\ responsibility better than you do.” —Ralph Waldo Emerson | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: object types, mutable or not?

2018-05-15 Thread Ben Finney
name–object binding (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 -- https://mail.python.org/mailman/listinfo/python-list

Re: object types, mutable or not?

2018-05-14 Thread Ben Finney
war, a world without | `\ hate. And I can picture us attacking that world, because they'd | _o__) never expect it.” —Jack Handey | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggestion for a "data" object syntax

2018-05-08 Thread Ben Finney
as no need of another thread attempting to “win” an argument that one side believes is dishonest. -- \ “The best in us does not require the worst in us: Our love of | `\ other human beings does not need to be nurtured by delusion.” | _o__) —Sam Harr

Re: Module, Package

2018-05-07 Thread Ben Finney
org/3/reference/import.html>. -- \ “If we could change ourselves, the tendencies in the world | `\ would also change.” —Mohandas K. Gandhi, _Collected Works_, 1913 | _o__) | Ben Finney -- https://mail.python.or

Re: Thanks

2018-04-19 Thread Ben Finney
slade: “What were you doing there?” | _o__) Eccles: “Buying a tie.” —The Goon Show, _The Greenslade Story_ | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Accessing parent objects

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

Re: Accessing parent objects

2018-03-26 Thread Ben Finney
to elaborate on what the question is? -- \ “Natural catastrophes are rare, but they come often enough. We | `\ need not force the hand of nature.” —Carl Sagan, _Cosmos_, 1980 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

Re: Putting Unicode characters in JSON

2018-03-22 Thread Ben Finney
orian, 1914–2004 | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   6   7   8   9   10   >