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

removed the uses of list comprehensions as looping constructs. #1939

Merged
merged 1 commit into from Sep 23, 2015

Conversation

jamesandariese
Copy link
Contributor

No description provided.

@yannmh
Copy link
Member

yannmh commented Sep 22, 2015

Thanks for your contribution @jamesandariese.

In order to help us understanding what your PR is achieving, could you provide us further details please ?

@jamesandariese
Copy link
Contributor Author

Using list comprehensions solely as a looping construct causes the side effect of a list being allocated and then discarded for no purpose.

These should be written as standard loops instead.

@remh
Copy link
Contributor

remh commented Sep 23, 2015

👍 this should be avoided. Thanks!

remh added a commit that referenced this pull request Sep 23, 2015
…ions

removed the uses of list comprehensions as looping constructs.
@remh remh merged commit 580faf8 into DataDog:master Sep 23, 2015
@jamesandariese jamesandariese deleted the refactor-list-comprehensions branch September 23, 2015 22:43
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.

None yet

3 participants