Skip to content

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.

@frozencemetery frozencemetery force-pushed the default_none branch 2 times, most recently from 305d25b to cfc9f4e Compare January 6, 2015 18:28
@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