[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki


Change by Inada Naoki :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki


Inada Naoki  added the comment:


New changeset 4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d by Inada Naoki in branch 
'2.7':
bpo-30134: fix BytesWarning doc, docstring and message (GH-12739)
https://github.com/python/cpython/commit/4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

In 2.7 BytesWarning is emitted only on comparison between bytearray and 
unicode. All descriptions and comments should be corrected.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki


Change by Inada Naoki :


--
pull_requests: +12661

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki


Inada Naoki  added the comment:


New changeset 87ed1beb3e15c619f25b9a9308d1ec35659feffd by Inada Naoki in branch 
'2.7':
bpo-30134: add BytesWarning in warnings.rst (GH-12738)
https://github.com/python/cpython/commit/87ed1beb3e15c619f25b9a9308d1ec35659feffd


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki


Change by Inada Naoki :


--
keywords: +patch
pull_requests: +12660
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki


Inada Naoki  added the comment:

I addressed Martin's comment (buffer -> bytesarray).
But I missed your point, sorry.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
resolution: fixed -> 
stage: resolved -> needs patch
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-08 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

This PR was not ready to merge. Please address my and Martin's comments.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-08 Thread Inada Naoki


Change by Inada Naoki :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2019-04-08 Thread Inada Naoki


Inada Naoki  added the comment:


New changeset d012d64b6a513e760abb6745f7f7ce5e6a31f274 by Inada Naoki 
(cocoatomo) in branch '2.7':
bpo-30134: add an explanation of BytesWarning (GH-1249)
https://github.com/python/cpython/commit/d012d64b6a513e760abb6745f7f7ce5e6a31f274


--
nosy: +inada.naoki

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2017-04-22 Thread Martin Panter

Martin Panter added the comment:

.
Issue 11681 is already open for the -b option, with a patch in progress.

If updating the doc string, also change “buffer” to “bytearray”. This is what 
“bytearray” was originally called in Python 3, and “buffer” is something 
different in Python 2.

--
nosy: +martin.panter

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2017-04-21 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

BytesWarning should be added in the table in warnings.rst (and check that all 
other built-in warning categories are in this table). It is worth to mention 
the -b option.

And I think the docstring of BytesWarning should be corrected. "Unicode" should 
be used rather that "str" since str and bytes is the same in 2.7.

--
nosy: +benjamin.peterson, r.david.murray, serhiy.storchaka
stage:  -> patch review
type:  -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2017-04-21 Thread KINEBUCHI Tomohiko

Changes by KINEBUCHI Tomohiko :


--
pull_requests: +1365

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30134] BytesWarning is missing from the documents

2017-04-21 Thread KINEBUCHI Tomohiko

New submission from KINEBUCHI Tomohiko:

In Python 2.6, BytesWarning was added, but a description of that warning is 
missing from the document, library/exceptions.rst.

--
assignee: docs@python
components: Documentation
messages: 292099
nosy: cocoatomo, docs@python
priority: normal
severity: normal
status: open
title: BytesWarning is missing from the documents
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com