Re: [Python-Dev] [python-committers] FINAL WEEK FOR 3.7.0 CHANGES!

2018-05-18 Thread Richard Damon
bility with API, with the first digit being major changes and the second minor but not fully backwards compatible changes. -- Richard Damon ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscr

Re: [Python-Dev] Why does the Contributor Agreement need my address?

2018-09-09 Thread Richard Damon
n, which deals with the project's legalities: > > p...@python.org > _ While I am not a lawyer, or even play on on TV, I can imagine that for such an agreement to really be enforced, they need to know who actually is agreeing to it. Just a name isn't a unique a unique identifier, so more inf

Re: [Python-Dev] Why does the Contributor Agreement need my address?

2018-09-09 Thread Richard Damon
documents that can track back your 'official' address over time, so confirming that you are the Joe Smith from 15 Main ST, Anytown USA, is possible. Try to think how you could legally prove you were or were not the owner of joe.sm...@example.com 10 years ago, where example.com is some major free em

Re: [Python-Dev] Change in Python 3's "round" behavior

2018-09-30 Thread Richard Damon
Now, one case where there is an intentional bias to the bottom is Map Grid Coordinate system, where you specify 1 meter resolution within a grid with 5 digits, but if you want to specify to less precision, the specification it to ALWAYS truncate so map coordinate 1234 represent the range

Re: [Python-Dev] Need discussion for a PR about memory and objects

2018-11-18 Thread Richard Damon
every have that same ID number, and people may not think of the fact that some other ID numbers, like the SSN do get reused. Since the Python Object Identities can get reused after the object goes away, the analogy really needs to keep that clear, and not give the other extreme of a false impress

Re: [Python-Dev] PEPs from non-core devs now need a sponsor

2019-03-08 Thread Richard Damon
s to supporting the proposer through the process. -- Richard Damon ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 558: Defined semantics for locals()

2019-05-27 Thread Richard Damon
just forcing the programmer to be making the copies explicitly. -- Richard Damon ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 558: Defined semantics for locals()

2019-05-27 Thread Richard Damon
On 5/27/19 2:05 PM, Terry Reedy wrote: > On 5/27/2019 9:52 AM, Richard Damon wrote: >> On 5/27/19 9:12 AM, Terry Reedy wrote: > >>> I believe that the situation is or can be thought of as this: there is >>> exactly 1 function locals dict. > > per function inv

Re: [Python-Dev] [SPAM?] Re: PEP 558: Defined semantics for locals()

2019-05-25 Thread Richard Damon
the snapshot itself is dynamic, and thus changes at that environment changes (and you could pass that snapshot to some other place, and they could get a view of things just like you would see it there, -- Richard Damon ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] Re: [SPAM?] Re: What to do about invalid escape sequences

2019-08-10 Thread Richard Damon
separator will work, but your program will be violating the conventions of the host environment. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lis

[Python-Dev] Re: PEP proposal to limit various aspects of a Python program to one million.

2019-12-08 Thread Richard Damon
tually have infinite of something without special casing it. (and if you special case infinite, you might not make the effort handle large values of many). -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe s

[Python-Dev] Re: Please be more precise when commenting on PEP 611.

2019-12-13 Thread Richard Damon
On 12/13/19 12:27 AM, Steven D'Aprano wrote: > On Wed, Dec 11, 2019 at 10:30:15PM -0500, Richard Damon wrote: > >> I will way that in my many years of >> programming experience I can't think of any great cases where a language >> as part of the language definition limite

[Python-Dev] Re: Please be more precise when commenting on PEP 611.

2019-12-11 Thread Richard Damon
a somewhat vague idea, get it approved, and have someone else stuck with the job of getting it done. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https

[Python-Dev] Re: Plan to remove Py_UNICODE APis except PEP 623.

2020-06-30 Thread Richard Damon
tes != characters, so if you want to actually count how many characters are in a string, you need to be aware, and avoid splitting a string in the middle of a code-point, but a lot will still just work. -- Richard Damon ___ Python-Dev mailing list --

[Python-Dev] Re: Plan to remove Py_UNICODE APis except PEP 623.

2020-06-30 Thread Richard Damon
e unit, and thus would need to be at least a 21 bit type (typically, it would be a 32 bit type), but Windows makes it a 16 bit type due to ABIs being locked before the Unicode expansion. -- Richard Damon ___ Python-Dev mailing list -- python-dev@pyth

[Python-Dev] Re: Recent PEP-8 change

2020-06-30 Thread Richard Damon
ut having to do a lot of research, and even then you may need to figure out which meaning was meant. If your goal is to communicate, going to the old core is usually the best. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubs

[Python-Dev] Re: PEP 622: Structural Pattern Matching -- followup

2020-07-08 Thread Richard Damon
stake (unless the mark is just havig a dot in the name). -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Mess

[Python-Dev] Re: Plan to remove Py_UNICODE APis except PEP 623.

2020-07-02 Thread Richard Damon
s promise will need to be broken. UTF-16 grew out of a need to fix what has become UCS-2, which is the encoding used for earlier Unicode standards, before the need for code points above U+ (now the BMP) was seen. -- Richard Damon ___ Python-De

[Python-Dev] Re: Please refrain from posting on the PEP 8 threads for 24 hours

2020-06-30 Thread Richard Damon
nd then remove that after things calm down. That depends on the moderator being willing to take on that job (like the graphite rods in a reactor). -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-de

[Python-Dev] Re: PEP 622: Structural Pattern Matching

2020-06-25 Thread Richard Damon
On 6/25/20 6:48 PM, Emily Bowman wrote: > On Thu, Jun 25, 2020 at 3:41 PM Richard Damon > mailto:rich...@damon-family.org>> wrote: > > Actually, you could make _ less special by still binding the value to > > it, just make it special in that you allow se

[Python-Dev] Re: PEP 622: Structural Pattern Matching

2020-06-25 Thread Richard Damon
es, maybe even specify which if you want. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived a

[Python-Dev] Re: PEP 622: Structural Pattern Matching

2020-06-27 Thread Richard Damon
On 6/27/20 5:36 AM, Stephen J. Turnbull wrote: > Richard Damon writes: > > > I thought _ was also commonly used as: > > > > first, -, last = (1, 2, 3) > > > > as a generic don't care about assignment. > > It is. But there are other options (eg, '

[Python-Dev] Re: [Python-ideas] Re: Amend PEP-8 to require clear, understandable comments instead of Strunk & White Standard English comments

2020-06-29 Thread Richard Damon
ssage as offensive to others due to implication, all because some people are easy to offend. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mail

[Python-Dev] Re: [Python-ideas] Re: Amend PEP-8 to require clear, understandable comments instead of Strunk & White Standard English comments

2020-06-29 Thread Richard Damon
and those 'White Guys' were, at least in part, the people the white supremacy came from, i.e., guilt by association. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://

[Python-Dev] Re: REPL output bug

2020-06-15 Thread Richard Damon
t;> for i in range(1,11): > ... sys.stdout.write('\r%d' % i) > ... time.sleep(1) > ... > 10>>> > # displays '1', '2' ... '10' as intended. > > Best wishes > Rob Cliffe Is that what the REPL is defined to do? print the results of each statement (unless it is

[Python-Dev] Re: The Anti-PEP

2020-06-28 Thread Richard Damon
n may bring more clarity to the PEP as a whole. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message ar

[Python-Dev] Re: PEP 622 version 2 (Structural Pattern Matching)

2020-07-16 Thread Richard Damon
> On Jul 16, 2020, at 1:36 PM, Chris Angelico wrote: > > On Fri, Jul 17, 2020 at 3:25 AM Federico Salerno > wrote: >> Tools should adapt to the language, not the other way around. If things had >> to be done the way they had always been done, without any change, for fear >> of people not

[Python-Dev] Re: Memory address vs serial number in reprs

2020-07-19 Thread Richard Damon
he object address. If some other method was chosen for generating the object id, then by necessity, there would need to be a method to let multiple interpreters keep the number unique, perhaps some bits being reserved for an interpreter id, and the rest be a serial number. -- Richard Damon ___

[Python-Dev] Re: Why does "except Ex as x" not restore the previous value of x?

2020-11-17 Thread Richard Damon
On 11/17/20 12:16 PM, Chris Angelico wrote: > On Wed, Nov 18, 2020 at 4:08 AM Richard Damon > wrote: >> One comment about having the exception handler 'save state' and restore >> it is that frequently the purpose of the exception handler is TO make >> changes to outer v

[Python-Dev] Re: Why does "except Ex as x" not restore the previous value of x?

2020-11-17 Thread Richard Damon
One comment about having the exception handler 'save state' and restore it is that frequently the purpose of the exception handler is TO make changes to outer variable to fix things up based on the exception. I could see the desire of a way to create an internal scope of sorts and create names

[Python-Dev] Re: 3.10 change (?) for __bool__

2021-01-12 Thread Richard Damon
e of if b:     pass which is the equivalent to if b.__bool__():     pass Yes, perhaps there is more of an expectation that __bool__() is innocuous, but is that a an assumption that should be baked into the language. -- Richard Damon ___ Python-D

[Python-Dev] Re: Future PEP: Include Fine Grained Error Locations in Tracebacks

2021-05-08 Thread Richard Damon
of the program, so that no other process could change the contents behind its back. I think normal mmapping doesn't do this, but if that sort of lock is available, then it probably should be used. -- Richard Damon ___ Python-Dev mailing list -- p

[Python-Dev] Re: Proposal: Allow non-default after default arguments

2021-11-09 Thread Richard Damon
t to be positional if that seems REALLY important to do, but it is much harder to take back a syntax that has been given. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https

[Python-Dev] Re: Preventing Unicode-related gotchas (Was: pre-PEP: Unicode Security Considerations for Python)

2021-11-14 Thread Richard Damon
uence says that some people will have a VERY hard time entering usable code if there tools support Unicode, but use the other convention. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to pyt

[Python-Dev] Re: Preventing Unicode-related gotchas (Was: pre-PEP: Unicode Security Considerations for Python)

2021-11-14 Thread Richard Damon
ft u 00e9". In that case, I actually know the codepoint. But would have to look up the actual number to enter them. Imagine of ALL your source code had to be entered via code-point numbers. BTW, you should be able to enable 'composing' under Linux too, just like under OSX with the right input

[Python-Dev] Re: The list.sort(reverse=True) method not consistent with description

2021-10-30 Thread Richard Damon
r elements in order if the previous ones are the same. -- Richard Damon ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Mess

[Python-Dev] Re: Request to revert unittest and configparser incompatible changes in Python 3.11

2022-01-18 Thread Richard Damon
> On Jan 18, 2022, at 11:34 AM, Guido van Rossum wrote: > >  > At best it shows that deprecations are complicated no matter how well you > plan them. I remember that "noisy by default" deprecation warnings were > widely despised. > >> On Tue, Jan 18, 2022 at 6:49 AM Antoine Pitrou wrote: