Skip to content

Revert back to optparse #5

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

Merged
merged 1 commit into from
May 14, 2012
Merged

Revert back to optparse #5

merged 1 commit into from
May 14, 2012

Conversation

octavo
Copy link
Contributor

@octavo octavo commented May 14, 2012

This one uses optparse again but with the same ideas from the other commit (b6b93a5). This is so that we can run memory_profiler using Python 2.6.

Also, I wasn't sure about removing the conditional that checks whether sys.argv is empty. I did remove the right argument to or, though, as help will be output anyway if the person who ran memory_profiler specified the -h option.

@fabianp
Copy link
Collaborator

fabianp commented May 14, 2012

good thinking about the -h option, I like to remove code whenever possible :)

fabianp pushed a commit that referenced this pull request May 14, 2012
Revert back to optparse
@fabianp fabianp merged commit 374ddd2 into pythonprofilers:master May 14, 2012
fabianp added a commit that referenced this pull request Oct 29, 2014
ENH: print summary on optimization only in verbose mode
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.

2 participants