[New-bugs-announce] [issue13152] textwrap: support custom tabsize

John Feuerstein report at bugs.python.org
Tue Oct 11 15:05:00 CEST 2011

New submission from John Feuerstein <john at feurix.com>:

The textwrap module calls .expandtabs() to expand tabs to spaces.

This patch adds support for a custom tabsize, so that .expandtabs(tabsize) is called instead.

Includes test case.

components: Library (Lib)
files: textwrap_tabsize.diff
keywords: patch
messages: 145341
nosy: jfeuerstein
priority: normal
severity: normal
status: open
title: textwrap: support custom tabsize
type: feature request
versions: Python 3.3
Added file: http://bugs.python.org/file23376/textwrap_tabsize.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list