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

Set several default initial args to None for convenience #35

Merged
merged 1 commit into from Jan 6, 2015

Conversation

frozencemetery
Copy link
Member

This should be all occurrences in the low-level api, and so this should close #29.

More defaults can be set, but:

  1. That would change the API since default arguments follow positionals, so this could not be for 1.1.0.
  2. The convenience gained in these changes appears minimal at the present time.
  3. This introduces further deviation in the low-level API from the C API, which makes it probably irrelevant.

@DirectXMan12
Copy link
Member

LGTM 👍, just remove the 'may need to make not None' comment from above 'acquire_cred_from'

The goal here is to change all calls to methods of the form `add_cred(None)`
to `add_cred()` for convenience and clarity.

It has been verified that `acquire_cred_from()` can take nulls.

This closes pythongssapi#29.
@DirectXMan12 DirectXMan12 merged commit dec88d0 into pythongssapi:master Jan 6, 2015
@frozencemetery frozencemetery deleted the default_none branch April 11, 2017 15:36
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.

Make sure that arguments that can take None as a value have a default value
2 participants