[issue22314] pydoc.py: TypeError with a $LINES defined to anything

2014-11-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 50808dffd0bb by Serhiy Storchaka in branch '2.7': Issue #22314: pydoc now works when the LINES environment variable is set. https://hg.python.org/cpython/rev/50808dffd0bb New changeset c6182a7e75fa by Serhiy Storchaka in branch '3.4': Issue #22314:

[issue22314] pydoc.py: TypeError with a $LINES defined to anything

2014-11-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22314 ___

[issue22314] pydoc.py: TypeError with a $LINES defined to anything

2014-11-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. -- keywords: +patch nosy: +serhiy.storchaka stage: - patch review type: - behavior versions: +Python 3.4, Python 3.5 Added file: http://bugs.python.org/file37219/pydoc_ttypager_lines.patch ___

[issue22314] pydoc.py: TypeError with a $LINES defined to anything

2014-08-31 Thread Armin Rigo
New submission from Armin Rigo: $ LINES=20 python Lib/test/test_pydoc.py ... File .../Lib/pydoc.py, line 1448, in ttypager r = inc = os.environ.get('LINES', 25) - 1 TypeError: unsupported operand type(s) for -: 'str' and 'int' duh. -- components: Library (Lib) messages: 226177