Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow textwrap to preserve leading and trailing whitespace #44149

Closed
dwaynebailey mannequin opened this issue Oct 20, 2006 · 3 comments
Closed

Allow textwrap to preserve leading and trailing whitespace #44149

dwaynebailey mannequin opened this issue Oct 20, 2006 · 3 comments
Labels
stdlib Python modules in the Lib dir

Comments

@dwaynebailey
Copy link
Mannequin

dwaynebailey mannequin commented Oct 20, 2006

BPO 1581073
Nosy @birkenfeld
Files
  • textarea-drop_whitespace.diff: Path for drop_whitespace funtionality
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2007-03-13.18:16:03.000>
    created_at = <Date 2006-10-20.07:19:14.000>
    labels = ['library']
    title = 'Allow textwrap to preserve leading and trailing whitespace'
    updated_at = <Date 2007-03-13.18:16:03.000>
    user = 'https://bugs.python.org/dwaynebailey'

    bugs.python.org fields:

    activity = <Date 2007-03-13.18:16:03.000>
    actor = 'georg.brandl'
    assignee = 'gward'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2006-10-20.07:19:14.000>
    creator = 'dwaynebailey'
    dependencies = []
    files = ['7588']
    hgrepos = []
    issue_num = 1581073
    keywords = ['patch']
    message_count = 3.0
    messages = ['51276', '51277', '51278']
    nosy_count = 3.0
    nosy_names = ['gward', 'georg.brandl', 'dwaynebailey']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1581073'
    versions = []

    @dwaynebailey
    Copy link
    Mannequin Author

    dwaynebailey mannequin commented Oct 20, 2006

    The attached file add the ability to preserve
    whitespace in textwrap. Usefull where you are using
    textwrap in instances where whitespace is significant
    (I'm using it to reflow Gettext PO file text).

    By default the current behaviour is preserver so the
    added option is called drop_whitespace and by default
    it is set to True.

    @dwaynebailey dwaynebailey mannequin closed this as completed Oct 20, 2006
    @dwaynebailey dwaynebailey mannequin assigned gward Oct 20, 2006
    @dwaynebailey dwaynebailey mannequin added the stdlib Python modules in the Lib dir label Oct 20, 2006
    @dwaynebailey dwaynebailey mannequin closed this as completed Oct 20, 2006
    @dwaynebailey dwaynebailey mannequin assigned gward Oct 20, 2006
    @dwaynebailey dwaynebailey mannequin added the stdlib Python modules in the Lib dir label Oct 20, 2006
    @dwaynebailey
    Copy link
    Mannequin Author

    dwaynebailey mannequin commented Oct 20, 2006

    Logged In: YES
    user_id=937299

    Hi Greg, I'm assigning this to you as you seem to be the
    original author and suggested that was the best step in this
    email:

    http://mail.python.org/pipermail/python-dev/2005-February/051769.html

    @birkenfeld
    Copy link
    Member

    Added patch, test and doc changes in rev. 54341.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant