New submission from Serhiy Storchaka:

The assert statement should be used only for checking internal logic, and not 
for checking user data. These assertions should be either removed or converted 
into explicit raising ValueError.

----------
components: Library (Lib)
messages: 239241
nosy: fdrake, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Don't use assert for checking arguments in pprint
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23776>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to