PEP 554: add a deferred idea (priority channels) (#865)

The idea (from private correspondence with Christopher Lozinski) is reasonable but falls outside the minimalist scope of the PEP.
This commit is contained in:
Eric Snow 2019-01-04 15:23:57 -07:00 committed by GitHub
parent 9ac1ce21e9
commit cb0b2e231e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1235,6 +1235,11 @@ pattern::
This would be made even simpler if there existed a ``__reraise__`` This would be made even simpler if there existed a ``__reraise__``
protocol. protocol.
Support prioritization in channels
----------------------------------
A simple example is ``queue.PriorityQueue`` in the stdlib.
Rejected Ideas Rejected Ideas
============== ==============