[New-bugs-announce] [issue11681] -b option undocumented

Éric Araujo report at bugs.python.org
Sat Mar 26 01:53:45 CET 2011

New submission from Éric Araujo <merwok at netwok.org>:

Python 2 has a -b command-line option which is undocumented.

It is used by the warnings machinery to decide to warn about (-b) or raise an error (-bb) if someone uses str(bytes) or str(buffer) (explanation courtesy of grep and Python/pythonrun.c).

assignee: docs at python
components: Documentation
keywords: easy
messages: 132195
nosy: docs at python, eric.araujo
priority: normal
severity: normal
stage: needs patch
status: open
title: -b option undocumented
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list