Skip to content

Marshal dumps/loads uses bytes#3061

Merged
srittau merged 1 commit intopython:masterfrom
flacjacket:marshal_fix
Jun 16, 2019
Merged

Marshal dumps/loads uses bytes#3061
srittau merged 1 commit intopython:masterfrom
flacjacket:marshal_fix

Conversation

@flacjacket
Copy link
Contributor

The marshal.dumps and marshal.loads functions should return and accept bytes, respectively, rather than a string.

The marshal.dumps and marshal.loads functions should return and accept
bytes, respectively, rather than a string.
Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@srittau srittau merged commit 1efebf7 into python:master Jun 16, 2019
flacjacket added a commit to flacjacket/qtile that referenced this pull request Jun 20, 2019
With python/typeshed#3061 making it into the most recent release of
mypy, remove the hacks on the type annotations around the marshal
module.
flacjacket added a commit to qtile/qtile that referenced this pull request Jun 20, 2019
With python/typeshed#3061 making it into the most recent release of
mypy, remove the hacks on the type annotations around the marshal
module.
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.

2 participants