← 返回首页
Doctest directives and comments missing from code samples · Issue #80856 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Doctest directives and comments missing from code samples #80856

New issue
New issue

Description

BPO 36675
Nosy @terryjreedy, @gpshead, @ezio-melotti, @merwok, @stevendaprano, @jdemeyer, @willingc, @asottile, @JulienPalard, @JDLH, @csabella, @miss-islington
PRs
  • bpo-36675: Fix doctest directives comments disappear bug #13125
  • bpo-36675: Remove obsolete code. #16024
  • [3.8] bpo-36675: Remove obsolete code. (GH-16024) #16030
  • bpo-36675: Doc: Reveal doctest directives #23620
  • Files
  • missing_directives.png
  • 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 = None created_at = <Date 2019-04-20.10:43:50.531> labels = ['3.8', 'type-bug', '3.7', 'docs'] title = 'Doctest directives and comments missing from code samples' updated_at = <Date 2021-10-26.04:00:41.470> user = 'https://github.com/stevendaprano'

    bugs.python.org fields:

    activity = <Date 2021-10-26.04:00:41.470> actor = 'minghua' assignee = 'docs@python' closed = False closed_date = None closer = None components = ['Documentation'] creation = <Date 2019-04-20.10:43:50.531> creator = 'steven.daprano' dependencies = [] files = ['48277'] hgrepos = [] issue_num = 36675 keywords = ['patch'] message_count = 17.0 messages = ['340570', '340959', '342648', '342651', '342652', '342655', '342664', '344714', '352093', '352120', '352128', '367173', '383075', '383732', '384361', '385632', '385661'] nosy_count = 14.0 nosy_names = ['terry.reedy', 'gregory.p.smith', 'ezio.melotti', 'eric.araujo', 'steven.daprano', 'docs@python', 'jdemeyer', 'willingc', 'Anthony Sottile', 'mdk', 'JDLH', 'cheryl.sabella', 'miss-islington', 'minghua'] pr_nums = ['13125', '16024', '16030', '23620'] priority = 'normal' resolution = 'later' stage = None status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue36675' versions = ['Python 2.7', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifedocsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

      Fields

      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      • Open in GitHub Copilot app

      Footer

      © 2026 GitHub, Inc.