GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — PEP 649: Improve description of semantics and mark as accepted by larryhastings · Pull Request #3138 · python/peps Conversation
|
|
A minor suggestion brought over from #3127: maybe we should drop FORMAT_MIN and FORMAT_MAX? I don't see much use for them if there is an enum; if you really want these values you can do |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
FWIW, I duplicated some work in this PR that was already in another PR, #3127. Having made the mistake, it seemed easiest to close the other PEP and do everything in this one PR. Sorry for the miasma. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Done. Iterating over the enum is a better solution. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ython#3122) - Lazy evaluation means that referencing a later type variable works at runtime - Disallow walrus in TypeVar bounds, and also disallow yield/yield from/await in the same contexts - Remove rejection of lambda lifting; that is the implementation we are using now - Change the AST - Change of direction on mangling - More precise scoping rules Co-authored-by: Alex Waygood <[email protected]> Co-authored-by: Shantanu <[email protected]>
|
Huh? GitHub decided to request Guido and Thomas as reviewers. I didn't ask for that. I've removed Guido and Thomas from review requests--obviously, they're welcome to review the PR, but I don't think it's necessary. Sorry for the churn, folks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I think you incorrectly merged in the two most recent commits on the main branch (which happen to be on 693 and 695). I'm going to click the "Update branch" button to get those commits out of the PR branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks, Jelle. Thank goodness Git is so conceptually simple and easy to use! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@AA-Turner, on the other thread you said "does this list need updating?" with regards to the format IntEnums, and I didn't know what you meant. I just now noticed: in one section, the FORWARDREF enum is 2, and in another section it's 3. Is that what you were referring to? (And, of course, I'm fixing that now. Time to pick the final values!) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
I was referring to the repr for A |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Left some additional comments, but I don't feel super strongly about any of them; generally this looks good to me!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Somehow I'm unable to reply directly to Carl's most recent comment. He said:
There are not, and I expect everyone to use the enum values. I was just trying to be precise. But, we already defined the allowable values for
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Fingers crossed that we can ship 72b8183. I believe I've addressed everybody's comments (and basically incorporated everyone's suggestions). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
In the words of the rare "Big Bang Bar" pinball machine:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
All the changes look good to me, thanks!
Technically, changes to accepted PEPs need SC approval. I doubt the SC would have a big problem with anything in this PR, but ideally you'll have to get their signoff. Who knows, maybe they'll insist that we really need that __locals__ attribute on functions.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Good call. I'll ping them once we're collectively happy with these changes. I bet we'll get a quick rubber stamp, and then I'll merge. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Standard reminder: You can directly apply all the suggestions you want in one go by going to Files changed -> Clicking Add to batch on each suggestion -> When done, clicking Commit
It should be noted that with this PR, the PEP is marked as accepted—I've updated the title accordingly to note this key fact.
Accepted PEP checklist:
Discussions-To threadPEP 123: Mark as Accepted)Status changed to Accepted/RejectedResolution link points directly to SC/PEP Delegate official acceptance/rejected postPython-VersionDiscussions-To, Post-History and Python-Version up to date [Done in suggestions]
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: C.A.M. Gerlach <[email protected]>
Co-authored-by: Emily Morehouse <[email protected]>
Co-authored-by: C.A.M. Gerlach <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.