Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-96471: Add queue shutdown, next step. #102499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 74 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
4fd0640
Add threading implementation of queue shutdown
EpicWink Sep 1, 2022
d942c9e
Fix up implementation, add unit-tests
EpicWink Sep 18, 2022
f552ac1
Implement for asyncio queues
EpicWink Sep 18, 2022
78671f9
WIP: multiprocessing queue shutdown
EpicWink Oct 22, 2022
5f31f8e
WIP: multiprocessing queue shutdown
EpicWink Jan 19, 2023
9bbc5db
change comment
YvesDup Feb 10, 2023
f9f2c06
call to self._finished.set() in order to release all joined tasks/coros
YvesDup Feb 10, 2023
7491ef1
add unitests to `shutdwon` method
YvesDup Feb 10, 2023
dd22c6b
add unitests to `shutdwon` method
YvesDup Feb 10, 2023
5239306
replace global state variable with an enum `_QueueState`
YvesDup Feb 10, 2023
4b127b6
replace global state variable with an enum `_QueueState` - erase E ju…
YvesDup Feb 10, 2023
6402de7
simplify and unify tests
YvesDup Feb 11, 2023
be9588b
simplify and unify tests
YvesDup Feb 11, 2023
3613f5d
add `_shutdown_state` to tuples of `__getstate__` and `__setstate__`,…
YvesDup Feb 13, 2023
06775bb
Update initial tests with `self.assertRaises`
YvesDup Feb 15, 2023
6f01015
integration of shudown transition in `shutdown` method
YvesDup Feb 15, 2023
ff9895d
Set `test_shutdown` prefix to all unittests
YvesDup Feb 15, 2023
d42433e
asyncio.queue: refactoring of tests, add new tests, last updates and…
YvesDup Feb 28, 2023
53078bb
first version working
YvesDup Feb 28, 2023
0075039
Some corrections
YvesDup Feb 28, 2023
b4a53d2
Change Enum to global about `shutdown_state` attr
YvesDup Mar 3, 2023
dbe2078
Add new tests
YvesDup Mar 3, 2023
18bb995
Fixes bugs
YvesDup Mar 3, 2023
05700d5
Add first tests
YvesDup Mar 3, 2023
7d01747
Update tests
YvesDup Mar 3, 2023
aad0cba
add _wait()
YvesDup Mar 3, 2023
d9dbb33
Move some tests about shutdwon state and empty queue
YvesDup Mar 3, 2023
9f4c0a3
Merge branch 'python:main' into queue-shutdown
YvesDup Mar 4, 2023
db6a257
📜🤖 Added by blurb_it.
blurb-it[bot] Mar 7, 2023
01e5880
Update 2023-03-07-15-42-27.gh-issue-96471.oWZtwQ.rst
YvesDup Mar 7, 2023
88627bb
Merge branch 'main' into queue-shutdown
YvesDup Mar 7, 2023
37da705
Update test _shutdown_all_methods
YvesDup Mar 7, 2023
795fb2d
Fix some bugs, Refactoring code
YvesDup Mar 8, 2023
0de7836
Merge branch 'main' into queue-shutdown
YvesDup Mar 9, 2023
4443237
Merge branch 'main' into queue-shutdown
YvesDup Mar 15, 2023
499157d
Merge branch 'main' into queue-shutdown
AlexWaygood Mar 15, 2023
99eadd7
Update test names
YvesDup Mar 15, 2023
670d864
Refactoring and fix minor bugs
YvesDup Mar 15, 2023
6af0e8e
suppress import enum
YvesDup Mar 15, 2023
a3e03c5
update docstrings
YvesDup Mar 17, 2023
bc30db7
Suppress `import ctypes`, causes no necessary uses
YvesDup Mar 17, 2023
64defd4
Merge branch 'main' into queue-shutdown
YvesDup Mar 19, 2023
4382409
fix segmentation fault: use ctx.Value,
YvesDup Mar 22, 2023
aa70dc2
fix segmentation fault:
YvesDup Mar 22, 2023
cbfd771
Add private method about shutdown_state
YvesDup Mar 22, 2023
0d095bc
Add private methods to check _shutdown_state attr
YvesDup Mar 24, 2023
6d1f072
Merge branch 'main' into queue-shutdown
YvesDup Mar 24, 2023
891cffe
Update docs for queue shutdown
EpicWink Mar 28, 2023
e30933f
Update Lib/queue.py
YvesDup Mar 29, 2023
de5714d
Update Lib/asyncio/queues.py
YvesDup Mar 29, 2023
da2e3c7
Update Lib/asyncio/queues.py
YvesDup Mar 29, 2023
50857c0
Update Lib/asyncio/queues.py
YvesDup Mar 29, 2023
56272b9
Update Lib/queue.py
YvesDup Mar 29, 2023
db7eaff
Update Lib/queue.py
YvesDup Mar 29, 2023
4099fb8
Update Lib/multiprocessing/queues.py
YvesDup Mar 29, 2023
58007dc
Update Lib/asyncio/queues.py
YvesDup Mar 29, 2023
225387f
Update Lib/asyncio/queues.py
YvesDup Mar 29, 2023
7c6e1c7
Update Lib/queue.py
YvesDup Mar 29, 2023
c025766
Update Lib/asyncio/queues.py
YvesDup Mar 29, 2023
c9ae3be
Update Lib/asyncio/queues.py
YvesDup Mar 29, 2023
e9b66b2
Update some tests
YvesDup Apr 6, 2023
570158e
Suppress a borderline assert
YvesDup Apr 6, 2023
eeb47b0
Fix bugs
YvesDup Apr 6, 2023
6f0b131
Merge branch 'main' into queue-shutdown
YvesDup Apr 7, 2023
4e2a19e
ran patchcheck
YvesDup Apr 7, 2023
6926e11
remove ./Tools/c-analyzer/cpython/_parser.py
YvesDup Apr 7, 2023
d301c90
Merge branch 'main' into queue-shutdown
arhadthedev Apr 10, 2023
49879a0
Merge branch 'main' into queue-shutdown
YvesDup Apr 11, 2023
31ea16b
Add `shutdown` method documentation
YvesDup May 5, 2023
bed3a4b
Add `shutdown` method to documentation
YvesDup May 5, 2023
8e8dcfa
Add `shutdown` method to documentation
YvesDup May 5, 2023
9eed14e
Add `shutdown` method to documentation
YvesDup May 5, 2023
66efd9c
Merge pull request #4 from EpicWink/yvesdup-queue-shutdown-2
YvesDup May 5, 2023
f4ad064
Merge branch 'main' into queue-shutdown
YvesDup May 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into queue-shutdown
  • Loading branch information
YvesDup authored Mar 15, 2023
commit 4443237ef5200a6ba0c539f7b1a6d68f38912be3

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.