Skip to content

[2.7] bpo-30134: fix BytesWarning doc, docstring and message#12739

Merged
methane merged 4 commits into
python:2.7from
methane:fix-byteswarning
Apr 9, 2019
Merged

[2.7] bpo-30134: fix BytesWarning doc, docstring and message#12739
methane merged 4 commits into
python:2.7from
methane:fix-byteswarning

Conversation

@methane

@methane methane commented Apr 9, 2019

Copy link
Copy Markdown
Member

@methane methane requested a review from serhiy-storchaka April 9, 2019 07:08
@methane methane changed the title bpo-30134: fix docstring and message of BytesWarning [2.7] bpo-30134: fix docstring and message of BytesWarning Apr 9, 2019
Comment thread Objects/exceptions.c Outdated

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Fix also a comment in pythonrun.c:
/* Warn on comparison between bytearray and unicode */

@methane methane changed the title [2.7] bpo-30134: fix docstring and message of BytesWarning [2.7] bpo-30134: fix BytesWarning doc, docstring and message Apr 9, 2019
@methane methane merged commit 4e8e8aa into python:2.7 Apr 9, 2019
@methane methane deleted the fix-byteswarning branch April 9, 2019 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants