Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1177)

#11681: -b option undocumented

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 11 months ago by merwok
Modified:
2 years, 4 months ago
Reviewers:
ncoghlan
CC:
lemburg, Georg, Nick Coghlan, ezio.melotti, eric.araujo, Arfrever, r.david.murray, docs_python.org, Martin Panter, Zach Ware, emily_dropbox.com, greg_bengeult.com
Visibility:
Public.

Patch Set 1 #

Patch Set 2 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Doc/using/cmdline.rst View 1 2 chunks +9 lines, -1 line 2 comments Download
Modules/main.c View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 1
Nick Coghlan
2 years, 4 months ago #1
http://bugs.python.org/review/11681/diff/19720/Doc/using/cmdline.rst
File Doc/using/cmdline.rst (right):

http://bugs.python.org/review/11681/diff/19720/Doc/using/cmdline.rst#newcode196
Doc/using/cmdline.rst:196: Issue a warning when comparing :class:`bytes` with
:class:`bytearray`.
For 2.x, :class:`unicode` is the relevant cross-reference here.

It may also be worth adding a second paragraph explicitly mentioning the
difference from the Python 3 flag:

====
Note that, unlike the corresponding Python 3.x flag, this will NOT emit warnings
for comparisons between :class:`str` and :class:`unicode`. Instead, the ``str``
instance will be implicitly decoded to ``unicode`` and Unicode comparison used.
====

http://bugs.python.org/review/11681/diff/19720/Doc/using/cmdline.rst#newcode199
Doc/using/cmdline.rst:199: .. versionchanged:: 3.5
3.x versionchanged notes are left out of the 2.x docs

However, this should have a "versionadded" note for 2.6 (since it was added as
part of a merge back from the Py3k branch).
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+