GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bpo-40077: Convert _queuemodule to use heap types by erlend-aasland · Pull Request #23136 · python/cpython

Conversation

@erlend-aasland

@erlend-aasland erlend-aasland commented Nov 3, 2020 •
edited by miss-islington
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

@vstinner / @corona10, would you mind reviewing this?

https://bugs.python.org/issue40077

Automerge-Triggered-By: GH:pitrou

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@erlend-aasland
erlend-aasland requested a review from rhettinger as a code owner November 3, 2020 20:57
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Nov 3, 2020
@bedevere-bot bedevere-bot added the awaiting review label Nov 3, 2020
Erlend E. Aasland added 4 commits November 3, 2020 23:38
Erlend E. Aasland
Convert queue to use heap types
2c605d9
Erlend E. Aasland
Establish global state and add type & exc to it
fd4243a
Erlend E. Aasland
Add NEWS
532e7ab
Erlend E. Aasland
Migrate from global to module state
5966894
@erlend-aasland
erlend-aasland force-pushed the bpo-40077/queue branch from 8ae2983 to 5966894 Compare November 3, 2020 22:53
@erlend-aasland

erlend-aasland commented Nov 3, 2020

Copy link
Copy Markdown
Contributor Author

FYI, rebased onto master, applied _PyType_GetModuleByDef in order to migrate from global to module state.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rhettinger
rhettinger requested a review from pitrou November 3, 2020 23:56
pitrou
pitrou reviewed Nov 5, 2020
View reviewed changes
Comment thread Modules/_queuemodule.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

pitrou
pitrou reviewed Nov 5, 2020
View reviewed changes
Comment thread Modules/_queuemodule.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

Erlend E. Aasland
Address review: Add module m_traverse/m_clear/m_free
b939524
@erlend-aasland

erlend-aasland commented Nov 6, 2020

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot added awaiting change review and removed awaiting review labels Nov 6, 2020
@bedevere-bot

bedevere-bot commented Nov 6, 2020

Copy link
Copy Markdown

Thanks for making the requested changes!

: please review the changes made to this pull request.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland
erlend-aasland requested a review from pitrou November 6, 2020 19:47
pitrou
pitrou approved these changes Nov 7, 2020
View reviewed changes

@pitrou pitrou left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thank you @erlend-aasland

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-bot bedevere-bot added awaiting merge and removed awaiting change review labels Nov 7, 2020
@pitrou pitrou added the 🤖 automerge label Nov 7, 2020
@miss-islington
miss-islington merged commit 01c6aa4 into python:master Nov 7, 2020
@bedevere-bot bedevere-bot removed the awaiting merge label Nov 7, 2020
@bedevere-bot

bedevere-bot commented Nov 7, 2020

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL8 LTO + PGO 3.x has failed when building commit 01c6aa4.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/442/builds/671) and take a look at the build logs.
  4. Check if the failure is related to this commit (01c6aa4) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/442/builds/671

Summary of the results of the build (if available):

== Tests result: ENV CHANGED ==

409 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 40 sec
  • test_multiprocessing_spawn: 1 min 7 sec
  • test_multiprocessing_forkserver: 1 min 1 sec
  • test_multiprocessing_fork: 52.3 sec
  • test_signal: 47.3 sec
  • test_asyncio: 47.1 sec
  • test_imaplib: 32.2 sec
  • test_pydoc: 31.1 sec
  • test_io: 30.5 sec
  • test_socket: 29.1 sec

1 test altered the execution environment:
test_asyncio

15 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib test_nis
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

Total duration: 4 min 54 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/asyncio/sslproto.py", line 321, in __del__
    self.close()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/asyncio/sslproto.py", line 316, in close
    self._ssl_protocol._start_shutdown()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/asyncio/sslproto.py", line 590, in _start_shutdown
    self._abort()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/asyncio/sslproto.py", line 731, in _abort
    self._transport.abort()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/asyncio/selector_events.py", line 680, in abort
    self._force_close(None)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/asyncio/selector_events.py", line 731, in _force_close
    self._loop.call_soon(self._call_connection_lost, exc)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/asyncio/base_events.py", line 746, in call_soon
    self._check_closed()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/asyncio/base_events.py", line 510, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland
erlend-aasland deleted the bpo-40077/queue branch November 7, 2020 22:39
@erlend-aasland

erlend-aasland commented Nov 7, 2020

Copy link
Copy Markdown
Contributor Author

Thanks for reviewing, @pitrou !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request Dec 28, 2020
Erlend E. Aasland
bpo-40077: Fix typo in simplequeue_get_state_by_type()
85b53a0
The typo did no damage, but it looks suspicious and confusing.
Introduced by pythonGH-23136.
@erlend-aasland erlend-aasland mentioned this pull request Dec 28, 2020
bpo-40077: Fix typo in simplequeue_get_state_by_type() #23975
Merged
miss-islington pushed a commit that referenced this pull request Dec 28, 2020
Erlend Egeberg Aasland
bpo-40077: Fix typo in simplequeue_get_state_by_type() (GH-23975)
bf108bb
The typo did no damage, but it looks suspicious and confusing.
Introduced by GH-23136.

Skip news.

Automerge-Triggered-By: GH:pitrou
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Erlend Egeberg Aasland @adorilson
bpo-40077: Convert _queuemodule to use heap types (pythonGH-23136)
b03ee0e
@vstinner / @corona10, would you mind reviewing this?
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Erlend Egeberg Aasland @adorilson
bpo-40077: Fix typo in simplequeue_get_state_by_type() (pythonGH-23975)
13da1da
The typo did no damage, but it looks suspicious and confusing.
Introduced by pythonGH-23136.

Skip news.

Automerge-Triggered-By: GH:pitrou
@vstinner

vstinner commented Apr 4, 2021

Copy link
Copy Markdown
Member

@pitrou: You merged the commit message with the sentence:

@vstinner / @corona10, would you mind reviewing this?

And I'm now getting emails from cpython forks, like this commit:

JelleZijlstra@01c6aa4

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pitrou

pitrou commented Apr 4, 2021

Copy link
Copy Markdown
Member

Ah, sorry. I get this sometimes when my name is mentioned too :-)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner

vstinner commented Apr 6, 2021

Copy link
Copy Markdown
Member

Ah, sorry. I get this sometimes when my name is mentioned too :-)

Well, the "automerge" label causes a similar feature and it's part of our workflow. I'm not sure how to ignore such emails. @pganssle has such issue: https://twitter.com/pganssle/status/1379161385863643155

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland

erlend-aasland commented Apr 6, 2021

Copy link
Copy Markdown
Contributor Author

It's partly my fault; I cc'd you in the PR text instead of in a separate comment/post. After this incident, I've made sure I don't mention anyone in the PR text. Maybe it could be mentioned in the Dev Guide? Maybe we could make the CI prevent it by rewriting the commit message (if needed) upon merging.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner

vstinner commented Apr 6, 2021

Copy link
Copy Markdown
Member

I asked how to not get spammed on python-committers: https://mail.python.org/archives/list/[email protected]/thread/OCVQ6IYOVTVYW7ADDNOHKR7JDRBYLM3T/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@corona10 corona10 mentioned this pull request Jun 27, 2022
Convert static types to heap types: use PyType_FromSpec() #84258
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pitrou pitrou pitrou approved these changes
@rhettinger rhettinger Awaiting requested review from rhettinger

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@erlend-aasland @bedevere-bot @vstinner @pitrou @the-knights-who-say-ni @miss-islington
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.