-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Correct annotation of STRPREFIX constants These are C strings (i.e. pointers to a null-terminated sequence of bytes), and as such correspond to the `bytes` type in Python 3. (The name `cffi.string` probably made more sense in Python 2, where `str` was `bytes` rather than `unicode`.) This change makes these two entries consistent with other annotations. But for confirmation I checked directly: ```python >>> import nacl.bindings.crypto_pwhash >>> nacl.bindings.crypto_pwhash.crypto_pwhash_argon2i_STRPREFIX b'$argon2i$' ``` * Annotations for `nacl.pwhash` These are applied straight from #692.
- Loading branch information
1 parent
910e1bb
commit 78b5030
Showing
7 changed files
with
40 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters