Skip to content

Dont pop items from dicts obscure sideffect#27

Open
blaggacao wants to merge 8 commits intoknowark:masterfrom
xoe-labs:dont-pop-items-from-dicts-obscure-sideffect
Open

Dont pop items from dicts obscure sideffect#27
blaggacao wants to merge 8 commits intoknowark:masterfrom
xoe-labs:dont-pop-items-from-dicts-obscure-sideffect

Conversation

@blaggacao
Copy link
Copy Markdown
Contributor

Instead run on a copy of the originally passed dict.
It is generally not expected (unless declared as receiver) for a method to
manipulate passed mutable datastructrues in place.

David Arnold added 8 commits December 14, 2018 15:00
As a side-effect, get rid of (deprecated) pyOpenSSL dependency.

Rather provide the library with a standard pem certificate.
Maybe support DER binary format one day?
Instead run on a copy of the originally passed dict.
It is generally not expected (unless declared as receiver) for a method to
manipulate passed mutable datastructrues in place.
@blaggacao
Copy link
Copy Markdown
Contributor Author

@tebanep This is a no-brainer (only last commit, as the rest is carried from the other PRs)

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.

1 participant