Skip to content

itsdangerous: update JSONWebSignatureSerializer.dumps return type#3082

Merged
JelleZijlstra merged 1 commit intopython:masterfrom
redshiftzero:3081-itsdangerous-jsonweb
Jun 22, 2019
Merged

itsdangerous: update JSONWebSignatureSerializer.dumps return type#3082
JelleZijlstra merged 1 commit intopython:masterfrom
redshiftzero:3081-itsdangerous-jsonweb

Conversation

@redshiftzero
Copy link
Contributor

Closes #3081 (TimedJSONWebSignatureSerializer inherits from JSONWebSignatureSerializer). On Python 2, a str is returned from JSONWebSignatureSerializer.dumps, however on Python 3 the return type is bytes.

On Python 2, a str is returned, however on Python 3 the return type
is bytes.
@redshiftzero redshiftzero force-pushed the 3081-itsdangerous-jsonweb branch from 74ece3b to 95c1f29 Compare June 21, 2019 19:01
@JelleZijlstra JelleZijlstra merged commit 64b12bf into python:master Jun 22, 2019
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.

itsdangerous.TimedJSONWebSignatureSerializer.dumps incorrect return type on python 3

2 participants