GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Preserve indentation in multi-line list entry · Issue #11 · python/blurb

Preserve indentation in multi-line list entry #11

New issue
Copy link
New issue
Copy link
Closed
#87
Closed
Preserve indentation in multi-line list entry#11
#87
Copy link

Description

@JelleZijlstra
JelleZijlstra
opened on Apr 8, 2021
Issue body actions

I would like to put this in a NEWS entry:

The following `threading` methods are now deprecated and should be replaced:

- `threading.activeCount` => :func:`threading.active_count`

- `threading.Condition.notifyAll` =>
    :meth:`threading.Condition.notify_all`

But when blurb generates the NEWS file, it produces:

- bpo-43723: The following `threading` methods are now deprecated and should
  be replaced:

  - `threading.activeCount` => :func:`threading.active_count`

  - `threading.Condition.notifyAll` =>
  :meth:`threading.Condition.notify_all`

Which is invalid rst, because the second line of the list is not indented enough.

It's because blurb uses textwrap.wrap to reflow the text, and that function eats any leading space in the line. Fixing this might require doing something more RST-aware.

Activity

  1. hugovk
    transferred this issue frompython/core-workflowon Mar 28, 2024
  2. hugovk
    changed the title [-]blurb: preserve indentation in multi-line list entry[/-] [+]preserve indentation in multi-line list entry[/+] on Mar 28, 2024
  3. hugovk
    changed the title [-]preserve indentation in multi-line list entry[/-] [+]Preserve indentation in multi-line list entry[/+] on Mar 28, 2024
  4. StanFromIreland
    closed this as completedin #87on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.