Skip to content

Update pep-0042.txt#108

Closed
petered wants to merge 2 commits intopython:masterfrom
petered:patch-1
Closed

Update pep-0042.txt#108
petered wants to merge 2 commits intopython:masterfrom
petered:patch-1

Conversation

@petered
Copy link
Copy Markdown

@petered petered commented Sep 26, 2016

Suggest a "mapreduce" comprehension:

lowpass_sig = [u = u*0.9 + s*0.1 for s in signal from u = 0]

This arose from this StackOverflow post, which revealed there's no compact way to do this in python now.

@gvanrossum
Copy link
Copy Markdown
Member

I think this PEP is dead; a new feature request was last added in 2007. Let's not add more feature requests to it; instead, let's change the intro to say the PEP is rejected. Any feature request you still care for should go either to the bug tracker (bugs.python.org) or to the python-ideas mailing list (subscribe first at mail.python.org).

@gvanrossum gvanrossum closed this Sep 26, 2016
@warsaw
Copy link
Copy Markdown
Member

warsaw commented Sep 26, 2016

On Sep 26, 2016, at 08:24 AM, Guido van Rossum wrote:

I think this PEP is dead; a new feature request was last added in 2007. Let's
not add more feature requests to it; instead, let's change the intro to say
the PEP is rejected. Any feature request you still care for should go either
to the bug tracker (bugs.python.org) or to the python-ideas mailing list
(subscribe first at mail.python.org).

+1; I'll do this.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants