Re: backslash in triple quoted string

2025-05-12 Thread Ethan Furman via Python-list
Chris and Oleg (sp?), please control your tempers; your latter posts added nothing useful to the conversation. (Apologies for the late reply, I was out of town.) -- ~Ethan~ Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-14 Thread Ethan Furman via Python-list
at they aren't experts on, while the latter are :) Well, since this is a Python list, perhaps you could make sure your advice is also Python appropriate. I appreciate diversions into general areas and learning new things, but your general claims were untrue when it comes to Python specific

Re: Help with Streaming and Chunk Processing for Large JSON Data (60 GB) from Kenna API

2024-10-02 Thread Ethan Furman via Python-list
This thread is derailing. Please consider it closed. -- ~Ethan~ Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: ListAdmin: Is list/archive working correctly?

2024-08-31 Thread Ethan Furman via Python-list
but I can say that Stefan's posts are discarded automatically since they are opposed to their words showing up on the list. -- ~Ethan~ Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: bring back nntp library to python3

2024-08-14 Thread Ethan Furman via Python-list
; an inevitable consequence of its current "popularity". The move came because of the vitriol directed at the BDFL (and others) with every major (and sometimes minor) change to Python. Every action has consequences, and in this case the consequence was that we are now run by committ

Re: bring back nntp library to python3

2024-08-14 Thread Ethan Furman via Python-list
staller tools > * Increased requirement for vetting and validation > * Shortening shelf life of existing projects > > But hey, this is just letting off steam. No need to hit if you're just venting. > Nobody cares. Yeah, people do. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: troglodytes

2024-08-14 Thread Ethan Furman via Python-list
to belittle in order to enjoy justice. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: bring back nntp library to python3

2024-08-14 Thread Ethan Furman via Python-list
uot; Sounds like we need somebody to write an NNTP server for the stdlib! :-) -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Couldn't install numpy on Python 2.7

2024-06-13 Thread Ethan Furman via Python-list
Hey, everyone! I believe the original question has been answered, and tempers seem to be flaring in sub-threads, so let's call this thread done and move on to other interesting topics. Thank you for your support! -- ~Ethan~ Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: Already Subscribed and Confirmed, But ....

2024-04-03 Thread Ethan Furman via Python-list
e that I try to post a message to the list. I get a response from > the python bot stating that I need to register before I can post to the list. As I said, I > already did that, and I was confirmed. I still have the email here. Well, this post made it through fine. -- ~Ethan~ -- https

Re: Variable scope inside and outside functions - global statement being overridden by assignation unless preceded by reference

2024-03-06 Thread Ethan Furman via Python-list
nged. I know there are good explanations for how variables and names work in Python, but I couldn't find any at the moment. Sorry. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Can u help me?

2024-03-05 Thread Ethan Furman via Python-list
On 3/5/24 16:49, MRAB via Python-list wrote: > On 2024-03-06 00:24, Ethan Furman via Python-list wrote: >> On 3/5/24 16:06, Chano Fucks via Python-list wrote: >> >>> [image: image.png] >> >> The image is of MS-Windows with the python installation window

Re: Can u help me?

2024-03-05 Thread Ethan Furman via Python-list
On 3/5/24 16:06, Chano Fucks via Python-list wrote: [image: image.png] The image is of MS-Windows with the python installation window of "Repair Successful". Hopefully somebody better at explaining that problem can take it from here... -- ~Ethan~ -- https://mail.python.o

CoC Warning [was: What is Install-Paths-To in WHEEL file?]

2024-01-02 Thread Ethan Furman via Python-list
Personal attacks are not welcome nor tolerated. Please be constructive when engaging with the community. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

[dead thread] Re: What is Install-Paths-To in WHEEL file?

2024-01-02 Thread Ethan Furman via Python-list
This thread is no longer being useful, and is now closed. -- ~Ethan~ Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: Which more Pythonic - self.__class__ or type(self)?

2023-03-03 Thread Ethan Furman
same. When writing classes and subclasses, I use `obj.__class__`, `isinstance` otherwise, and rarely `type(obj)` (and then mostly with `tuple`s, as they're special). ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.10 Fizzbuzz

2023-02-27 Thread Ethan Furman
important matters." > > Somehow I don't think we would get along very well. I'm a little on the > opinionated side myself. I personally cannot stand Black. It feels like every major choice it makes (and some minor ones) are exactly the opposite of the choice I make. -- ~Ethan~ --

Hen Hanna & google groups

2023-02-27 Thread Ethan Furman
Greetings, all! As has been stated, Hen Hanna is posting through Google Groups, over which the Python List moderators have zero control. The only thing we can do, and which has now been done, is not allow those posts in to the Python List. -- ~Ethan~ Moderator -- https://mail.python.org

Re: Not receiving posts

2023-02-23 Thread Ethan Furman
eceived no emails from the list. To my knowledge I have done nothing to warrant > removal. > > Can you please check and see what I need to do to start receiving emails once more. It doesn't look like that address is subscribed. I tried inviting you, let's see if that works. -

Re: How to make argparse accept "-4^2+5.3*abs(-2-1)/2" string argument?

2023-01-29 Thread Ethan Furman
This thread has run its course and seems to now be generating more heat than light. It is now closed (at least on the Python List side). Thank you everyone for your participation and understanding. -- ~Ethan~ Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: The Zen of D.E.K.

2023-01-13 Thread Ethan Furman
uth [okay, falling for the troll bait] Those two things do not say the same thing; further, in Python at least, and depending on the situation, aesthetics may /not/ be more important than efficiency. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: To clarify how Python handles two equal objects

2023-01-10 Thread Ethan Furman
o mutate `arr1` instead of reassigning it: arr1[:] = [10, 11, 12] -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Possible re bug when using ".*"

2022-12-28 Thread Ethan Furman
ng. It's not a bug, it's a change in behaviour to bring it more into line with other regex implementations in other languages. The new behavior makes no sense to me, but better to be consistent with the other regex engines than not -- I still get thrown off by vim's regex. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Friendly Reminder

2022-12-20 Thread Ethan Furman
Happy Pythoning, and happy holidays! -- ~Ethan~ Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: mailbox misbehavior with non-ASCII

2022-07-29 Thread Ethan Furman
ould be the right answer. > > Is this worth a bug report? I would say yes. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Async SIG post

2022-04-28 Thread Ethan Furman
/archives/list/async-...@python.org/ -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Style for docstring

2022-04-22 Thread Ethan Furman
On 4/22/22 12:36, Michael F. Stemper wrote:   Tells caller whether or not a permutation is even.   Determines if a permutation is even. (Alternative is that it's odd.)   Returns True if permutation is even, False if it is odd. Third option. -- ~Ethan~ -- https://mail.python.org/ma

Re: Enums and nested classes

2022-04-21 Thread Ethan Furman
ctice, not for what should happen in theory. ;-) And of course, no one using enums that way means we can change how that bit works fairly easily. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Proposal: Syntax for attribute initialisation in __init__ methods

2022-04-15 Thread Ethan Furman
atures are discussed). This particular desire has come up in the past, so you'll need to do some more research (i.e. find the previous threads on python-ideas) so you can answer objections already raised, or find new data supporting/refuting previous arguments. -- ~Ethan~ -- https://mail.pyt

PSA: Linux vulnerability

2022-03-08 Thread Ethan Furman
https://arstechnica.com/information-technology/2022/03/linux-has-been-bitten-by-its-most-high-severity-vulnerability-in-years/ -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Behavior of the for-else construct

2022-03-03 Thread Ethan Furman
On 3/3/22 5:32 PM, Rob Cliffe via Python-list wrote: > There are three types of programmer: those that can count, and those that can't. Actually, there are 10 types of programmer: those that can count in binary, and those that can't. -- ~Ethan~ -- https://mail.python.org/mai

Re: Aw: PYT - How can I subscribe to a topic in the mailing list?

2022-02-27 Thread Ethan Furman
useful, people would have to be diligent about setting them, which, quite frankly, I don't see happening -- some don't even set a useful subject line. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Best way to check if there is internet?

2022-02-07 Thread Ethan Furman
it wouldn't surprise me if some >> sort of caching proxy system is deployed. > > Or the internet acquires a new protocol that's designed > for very-long-latency connections. RocketNet -- a massive store-and-forward protocol. ;-) -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Waht do you think about my repeated_timer class

2022-02-04 Thread Ethan Furman
a very good name. So if someone has a good idea for a > name … > > The class starts a thread where every by the user defined interval a > by the user define function is called. How about `timed_repeat` or `repeat_timer`? -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: New assignmens ...

2021-10-23 Thread Ethan Furman
other options didn't make it back to the PEP. Nevertheless, I recall the decision to start simple, and expand later if needed. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Ethan Furman
On 9/26/21 10:34 AM, Grant Edwards wrote: > On 2021-09-26, Ethan Furman wrote: >> I am unaware of a change in the newsgroup <--> mailing list policy, >> and other newsgroup posts were coming through last week (it's been a >> light weekend). > > We're n

Re: Subject: Re: Posts from gmane no longer allowed?

2021-09-26 Thread Ethan Furman
gmane stop sending posts). I am unaware of a change in the newsgroup <--> mailing list policy, and other newsgroup posts were coming through last week (it's been a light weekend). -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: XML Considered Harmful

2021-09-21 Thread Ethan Furman
t: https://nestedtext.org/en/stable/ -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

RFC for PEP 663: Improving and Standardizing Enum str(), repr(), and format() behaviors

2021-07-21 Thread Ethan Furman
PEP: 663 Title: Improving and Standardizing Enum str(), repr(), and format() behaviors Version: $Revision$ Last-Modified: $Date$ Author: Ethan Furman Discussions-To: python-...@python.org Status: Draft Type: Informational Content-Type: text/x-rst Created: 23-Feb-2013 Python-Version: 3.11 Post

Re: Verify independence and uniform distribution of discrete values in Python?

2021-07-09 Thread Ethan Furman
From Tim Peters: > `secrets` is just a wrapper around `random.SystemRandom`, so the > presence or absence of `secrets` doesn't matter. > > As to SystemRandom, all answers depend on the quality of the platform > os.urandom(), which Python has no control over. See my answer here, > and the comments

Re: Neither pdb or print() displays the bug

2021-06-01 Thread Ethan Furman
then in my code: logger.info('failure converting %r to %r', target_bmp_file, target_png_file) -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Neither pdb or print() displays the bug

2021-06-01 Thread Ethan Furman
th a file if you wanted to. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Definition of "property"

2021-05-30 Thread Ethan Furman
of just returning the eggs object > (as it would for any other attribute) it will call the __get__ method (since we were doing lookup) > and return whatever that method returns. Feel free to use that however you like. :) -- ~Ethan~ [1] https://stackoverflow.com/a/7377013/208880 -- https://mail.python.org/mailman/listinfo/python-list

name for new Enum decorator

2021-05-27 Thread Ethan Furman
hen the programmer thinks it's appropriate... but I have no idea what to call it. Any nominations? -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Typing and Enum and Abstract

2021-05-20 Thread Ethan Furman
Here's a question on SO about typing, enum, and ABC: https://stackoverflow.com/q/67610562/208880 No answers so far. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-06 Thread Ethan Furman
tion that > Mailman 3 cannot be used while a gateway is involved is untrue: > https://mailman.readthedocs.io/en/latest/src/mailman/handlers/docs/nntp.html Interesting. I know the NNTP gateway wasn't there a couple years ago, and I do not see a date as to when that became possible.

Re: Transistion from module to package and __init__.py

2021-05-05 Thread Ethan Furman
converting to multiple files simply because there is so much (10k lines for me, YMMV). -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Ethan Furman
On 5/5/21 7:39 AM, Peter Otten wrote: > On 05/05/2021 16:10, Ethan Furman wrote: >> I see your messages twice (occasionally with other posters as well). I have no idea how to fix it. :( > > OK, I'll try another option from Thunderbird's context menu: Followup to

Re: Unsubscribe/can't login

2021-05-05 Thread Ethan Furman
appen with all my messages? I'm reading the mailing list via > news.gmaneio. I see your messages twice (occasionally with other posters as well). I have no idea how to fix it. :( -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: do ya still use python?

2021-04-19 Thread Ethan Furman
On 4/19/21 11:22 AM, Unbreakable Disease wrote: [offensive drivel] List, my apologies -- not sure how that one got through. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: How does "__doc__ % globals()" work?

2021-04-12 Thread Ethan Furman
o, Jaime # keyed `hello, %(a_name)s` % {'a_name': 'Ethan'} # hello, Ethan What you are seeing is the keyed version. So, if the module had, for example: version = 1.3 author = 'GvR' date = '2021-04-12' and the doc string was __

Re: Horrible abuse of __init_subclass__, or elegant hack?

2021-03-31 Thread Ethan Furman
lass__` is there to provide metaclass power without needing a full-blown metaclass. I vote elegant hack. :) -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Why assert is not a function?

2021-03-11 Thread Ethan Furman
during testing and QA, turn off double-checks for production for best performance possible. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

editor recommendations?

2021-02-26 Thread Ethan Furman
black background is only for the text-editing portion which leaves large portions of screen real-estate with a bright background, which is hard on my eyes. So, what's the state-of-the-art with regards to editors supporting dark color themes? TIA. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: name for a mutually inclusive relationship

2021-02-25 Thread Ethan Furman
On 2/25/21 7:06 PM, Joe Pfeiffer wrote: Ethan Furman writes: Like I said, at this moment I don't have a good example, only an awareness that such a thing could exist and I don't know the name for it (if it has one). So far I have seen that there are even fewer good use-cases th

Re: name for a mutually inclusive relationship

2021-02-24 Thread Ethan Furman
On 2/24/21 1:54 PM, 2qdxy4rzwzuui...@potatochowder.com wrote: Ethan Furman wrote: I didn't say it was a good example. ;-) Hopefully it gets the idea across. Ditto. ;-) IMO, the whole idea of "my program has two options, and the user has to specify both or neither," isn&

Re: name for a mutually inclusive relationship

2021-02-24 Thread Ethan Furman
7;d be two separate mandatory text fields, both controlled (i.e., enabled or disabled) by one checkbox.) I didn't say it was a good example. ;-) Hopefully it gets the idea across. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: name for a mutually inclusive relationship

2021-02-24 Thread Ethan Furman
On 2/24/21 12:40 PM, Alan Gauld via Python-list wrote: On 24/02/2021 16:12, Ethan Furman wrote: I'm looking for a name for a group of options that, when one is specified, all of them must be specified. For contrast, - radio buttons: a group of options where only one can be spec

Re: name for a mutually inclusive relationship

2021-02-24 Thread Ethan Furman
On 2/24/21 8:28 AM, 2qdxy4rzwzuui...@potatochowder.com wrote: Entangled? Hey, I like that one! ;-) -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

name for a mutually inclusive relationship

2021-02-24 Thread Ethan Furman
dy to describe that concept? -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 2.7 and 3.9

2021-02-16 Thread Ethan Furman
I too was expecting users to type: python my_Script.py! I'm afraid I have no experience with the above, hopefully somebody else on the list does. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 2.7 and 3.9

2021-02-16 Thread Ethan Furman
are those scripts being run? Microsoft Windows or Unix/Linux/BSD? Typically, the first line of a script will say which version of Python is needed. For example, on a *nix type system: #!/usr/bin/python2 -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Mr. Flibble

2021-02-15 Thread Ethan Furman
On 2/15/21 2:02 PM, Grant Edwards wrote: On 2021-02-15, Ben Bacarisse wrote: You said you used Usenet (and your reply here was via Usenet). Usenet posts to comp.lang.python don't go to the mailing list (the "here" that Ethan is talking about). Mails to the list /are/ sent her

Mr. Flibble

2021-02-15 Thread Ethan Furman
Thank you to those who pointed out this individual to the moderators. As Mr. Flibble accurately noted, he is not on the mailing list -- so his posts won't be here either. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: help

2021-01-26 Thread Ethan Furman
? -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: why sqrt is not a built-in function?

2021-01-14 Thread Ethan Furman
math.sqrt(x) Plus the ** operation ("root = x ** 0.5"), that's now three ways. Yes, but which of those is obvious? -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: why sqrt is not a built-in function?

2021-01-14 Thread Ethan Furman
you. Any time. ;-) -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: How do you find what exceptions a class can throw?

2020-12-20 Thread Ethan Furman
list. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: dict.get(key, default) evaluates default even if key exists

2020-12-16 Thread Ethan Furman
On 12/16/20 3:08 AM, Peter J. Holzer wrote: On 2020-12-15 13:07:25 -0800, Ethan Furman wrote: On 12/15/20 9:07 AM, Mark Polesky via Python-list wrote: D = {'a':1} def get_default(): print('Nobody expects this') return 0 print(D.get('a', get_

Re: dict.get(key, default) evaluates default even if key exists

2020-12-16 Thread Ethan Furman
ded default :-) Yep! That's what defaultdict can do - or if you need more flexibility, subclass dict and add a __missing__ method. Or, if the computationally massively expensive call uses potentially different arguments for each invocation: some_var = d.get('a') or cme(arg1,

Re: dict.get(key, default) evaluates default even if key exists

2020-12-15 Thread Ethan Furman
one way to get the behavior you're looking for is: D.get('a') or get_default() -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Fwd: Fwd: How to specify JSON parameters in CallBack?

2020-12-13 Thread Ethan Furman
From: Caleb Gattegno Date: Fri, Dec 11, 2020 at 5:02 PM Subject: How to specify JSON parameters in CallBack? Please can you suggest where should I look for advice on converting a old style web app which vends whole pages of html with a cgi-bin/python script invoked bypython3 server.py, into one

Re: Is there a conflict of libraries here?

2020-11-09 Thread Ethan Furman
aving said that, it looks like datetime.py was so designed. So, if I had a module making extensive use of the datetime contents, and wasn't using the time module, I would have no problem with "from datetime import *". On the other hand, if datetime was only a small portion of

Re: Post request and encoding

2020-11-02 Thread Ethan Furman
On 11/2/20 9:32 AM, Karsten Hilbert wrote: because .encode() does not operate in-place. Yeah, none of the string operations do, and it's embarrassing how many times that still bites me. :-/ -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Best way to determine user's screensize?

2020-10-31 Thread Ethan Furman
t. I hate overlapping windows.) -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Best way to determine user's screensize?

2020-10-31 Thread Ethan Furman
s" is right out. Why is using preferences "right out"? Is that not the user saying where they want the app to be positioned? -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: GUI: I am also looking for a nudge into the best (GUI) direction.

2020-10-29 Thread Ethan Furman
On 10/29/20 11:30 AM, Igor Korot wrote: If you have any further questions you can contact me directly. Please do not. By keeping the discussion on the list many people can participate and learn. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Question on ABC classes

2020-10-22 Thread Ethan Furman
e's no reason not to allow it to be created. Put another way: if ABC is anywhere in a class' parentage, then it is "abstract" -- the only way to tell if instantiating it is okay is by the presence/absence of abstract pieces in the class. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Puzzling difference between lists and tuples

2020-09-17 Thread Ethan Furman
On 9/17/20 10:43 AM, MRAB wrote: On 2020-09-17 17:47, Ethan Furman wrote: The only time the parentheses are required for tuple building is when they would otherwise not be interpreted that way: They're needed for the empty tuple, which doesn't have a comma. Ah, right. Thanks.

Re: Puzzling difference between lists and tuples

2020-09-17 Thread Ethan Furman
tend to use both as it makes it stand out a bit more: >>> still_a_tuple = ('first', ) >>> type(still_a_tuple) The only time the parentheses are required for tuple building is when they would otherwise not be interpreted that way: some_func('first', '

[closed] Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Ethan Furman
This thread is now closed. Thank you for your cooperation. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Ethan Furman
, Unless you know Karen personally, you don't know what her world view is. Poking holes in arguments or observing what is being said does not require an opposing world view. As you yourself said: The sole relevant demand should be civility. Let's make sure we stay that course.

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Ethan Furman
An excellent summary. Thank you. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Ethan Furman
ient words. I have not read S&W myself, and my requests for WS examples have gone unanswered, so I do not know about the WS aspect. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Are instances of user-defined classes mutable?

2020-08-06 Thread Ethan Furman
] You can do horrid things like that clear back in Python 2, but the fault lies with the programmer for misusing the __dunders__. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Ethan Furman
On 7/22/20 2:57 PM, Jeff Linahan wrote: Subscribing to the mailing list as per the bot's request and resending. *beep* *whir* WE ARE NOT *click* *whi* A BOT. *bzzzt* WE ARE *bzzzt* *click* ADVANCED LIFE *whi* FORMS *click* *beep* . -- ~eTHAN~ pYTHON lIST mODERATO

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-04 Thread Ethan Furman
because the information is out there, doesn't mean everybody has seen it. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Making and seeing mistakes [was: Formal Question to Steering Council]

2020-07-03 Thread Ethan Furman
, conflated the names. Your mistake is to assume that since the author did not make that mistake that Michael must have made it. I'm sure somebody will point out what my mistake was. Can we now drop this subthread? -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Ethan Furman
On 07/02/2020 07:42 PM, Jon Ribbens via Python-list wrote: She didn't - you did. Please keep the discourse civil. Petty taunts are not helpful. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-02 Thread Ethan Furman
conflation is going on. I have asked for links that would support her view as expressed in the commit message, but haven't yet seen any. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-02 Thread Ethan Furman
:-), I would like to formally ask the Steering Council to answer the following questions. An issue asking basically the same thing has been created: https://github.com/python/steering-council/issues/31 -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Can I have a class with property named "from"

2020-06-05 Thread Ethan Furman
On 06/05/2020 03:15 PM, MRAB wrote: On 2020-06-05 22:50, Ethan Furman wrote: There is no workaround that allows a keyword to be used except as a keyword, other than making it a string.  When faced with this kind of situation myself I use a synonym, like "since", or a transla

Re: Can I have a class with property named "from"

2020-06-05 Thread Ethan Furman
p property names as they are in the json file... is there a workaround? There is no workaround that allows a keyword to be used except as a keyword, other than making it a string. When faced with this kind of situation myself I use a synonym, like "since", or a translation, like

Re: Enums are Singletons - but not always?

2020-05-23 Thread Ethan Furman
27;nets already. According to Kushal's link: The most interesting thing about Enum members is that they are singletons. The only time using `==` is necessary is for mixed-Enums, such as IntEnum, and you need to compare what could be an IntEnum member in code that could be using actual `int`s.

Re: Strings: double versus single quotes

2020-05-19 Thread Ethan Furman
On 05/19/2020 11:40 AM, Joel Goldstick wrote: I thought triple quotes are for docstrings? It's the recommendation, but double and single quotes work just fine, too -- at least for docstrings that fit an one line. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Sphinx plugin to make easier-to-navigate class documentation

2020-05-18 Thread Ethan Furman
https://autoclasstoc.readthedocs.io/en/latest/ This sounds pretty cool! You should also post this on python-announce-l...@python.org to reach a wider audience. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: PEP Idea: Multi-get for lists/tuples and dictionaries (inspired in NumPy)

2020-03-19 Thread Ethan Furman
': 'fal...@ibm.com' } >>> fname, lname, _ = d >>> fname, lname ('first_name', 'last_name') I disagree -- the ordered dict would have to be small (maybe five entries) and one would have to know the insertion order. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Reduce waiting queue at supermarket from Corona with Python-Webapp

2020-03-16 Thread Ethan Furman
-time. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: Reduce waiting queue at supermarket from Corona with Python-Webapp

2020-03-16 Thread Ethan Furman
7;s shopping at the grocery store 100 miles away from me is useless. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: [Mostly OT] Feedback on Python homework using Canvas LMS

2020-03-16 Thread Ethan Furman
least. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   6   7   8   9   10   >