Skip to content

reconstruction states.py#314

Closed
dongweiming wants to merge 1 commit intoSupervisor:masterfrom
dongweiming:reconstruction_states
Closed

reconstruction states.py#314
dongweiming wants to merge 1 commit intoSupervisor:masterfrom
dongweiming:reconstruction_states

Conversation

@dongweiming
Copy link
Copy Markdown
Contributor

When i read the states.py, I discovered that in fact it is mostly repetitive processing a logical. So i use the partial to reconstruction this.

@tseaver
Copy link
Copy Markdown
Contributor

tseaver commented Nov 20, 2013

-0. I don't think the extra indirection / trickiness is really worth the reduction in code / DRY-ness.

@mnaberez
Copy link
Copy Markdown
Member

Thanks for the pull request. I agree with @tseaver but we wouldn't be able to merge this anyway. Supervisor 3 still supports Python 2.4. The functools module was introduced in 2.5.

@mnaberez mnaberez closed this Nov 20, 2013
@dongweiming
Copy link
Copy Markdown
Contributor Author

I see. Compatible with 2.4 really troublesome

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants