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

Use partial(next, ...) instead get_next() #470

Merged
merged 1 commit into from Apr 15, 2016
Merged

Use partial(next, ...) instead get_next() #470

merged 1 commit into from Apr 15, 2016

Conversation

snoack
Copy link
Contributor

@snoack snoack commented Aug 5, 2015

Since jinja2 doesn't support any version older than Python 2.6 anymore, we can simply use the next built-in function rather than abstracting it.__next__ (Python 3) and it.next (Python 2) ourselves.

@@ -10,6 +10,7 @@
"""
import os
import sys
from functools import reduce, partial

This comment was marked as off-topic.

@jeffwidman
Copy link
Contributor

LGTM

@snoack
Copy link
Contributor Author

snoack commented Apr 13, 2016

Since I'm not a committer, and you seem to approve this change, mind merging it? (Same for my other PRs where you gave LGTM)

@jeffwidman
Copy link
Contributor

I'm the least-experienced maintainer on the team, so if I review a PR and think it looks good but that there's a chance I might be unaware of why something is the way it is, I refrain from merging and just give a LGTM.

So far that's worked pretty well, sometimes it gets merged directly by one of the other maintainers, sometimes someone chimes in with more background on why something is a particular way. But generally those PRs get a second look.

BTW, I know many of these PRs/issues just sat for a while, but we're making consistent progress on the backlog now that we moved to pallets. If you're still interested in helping out on the project, we'd certainly appreciate your help tackling some of the thornier issues like #19, #298, and #295

@snoack
Copy link
Contributor Author

snoack commented Apr 13, 2016

Fine with me. I didn't meant to urge you. It just wondered why a maintainer gives LGTM, without merging the change or any further comment. Anyway, thanks for moving things forward here.

@jeffwidman
Copy link
Contributor

https://github.com/pallets/meta/issues/14 😉

@jeffwidman
Copy link
Contributor

I'm going to go ahead and merge this.

@jeffwidman jeffwidman merged commit 080a5de into pallets:master Apr 15, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants