Skip to content
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

Queue: to_list and rev_iter #4737

Closed
vicuna opened this issue Mar 3, 2009 · 1 comment
Closed

Queue: to_list and rev_iter #4737

vicuna opened this issue Mar 3, 2009 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Mar 3, 2009

Original bug ID: 4737
Reporter: Christoph Bauer
Assigned to: @alainfrisch
Status: resolved (set by @alainfrisch on 2017-03-07T12:11:36Z)
Resolution: suspended
Priority: normal
Severity: feature
Version: 3.11.0
Category: standard library
Tags: patch

Bug description

it would be nice to have a Queue.to_list and a Queue.rev_iter function!

File attachments

@vicuna
Copy link
Author

vicuna commented Mar 7, 2017

Comment author: @alainfrisch

I'm suspending this PR, since there has been no activity for years.

FWIW, I personally think that Queue.to_list would be a nice addition, but it can already be defined as a one-liner by the user code (it does not benefit from having access to the internal representation) and the case for such addition is usually harder.

If someone wants to push one of these proposals (or both), feel free to open a GitHub PR, also mentioning a few examples of typical use cases (and be prepared to write some unit tests if the proposal is well received).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants