Skip to content

gh-151943: Fix Sphinx reference warnings in Doc/library/pyexpat.rst - #162806

Closed
anisayakmitra-in wants to merge 1 commit into
python:mainfrom
anisayakmitra-in:fix-pyexpat-sphinx-warnings
Closed

anisayakmitra-in wants to merge 1 commit into
python:mainfrom
anisayakmitra-in:fix-pyexpat-sphinx-warnings

Conversation

@anisayakmitra-in

Copy link
Copy Markdown

Fixes all Sphinx reference warnings in Doc/library/pyexpat.rst as tracked in #151943.

  • Defined .. class:: xmlparser() directive in XMLParser Objects section.
  • Cross-referenced Parse, ParseFile, and handlers to xmlparser.
  • Cross-referenced XML_ERROR_* constants to xml.parsers.expat.errors.
  • Cross-referenced ExpatError to xml.parsers.expat.
  • Marked pyexpat internal C module and XML_PARAM_ENTITY_PARSING_* constants with ! to suppress unresolved reference warnings.
  • Verified locally with Sphinx nit-picky mode (pyexpat warnings: 0) and removed Doc/library/pyexpat.rst from Doc/tools/.nitignore.

….rst

- Define xmlparser class directive
- Cross-reference Parse, ParseFile, and handlers to xmlparser
- Cross-reference XML_ERROR constants to xml.parsers.expat.errors
- Cross-reference ExpatError to xml.parsers.expat
- Suppress unresolved references for pyexpat module and parameter entity constants using !
- Remove Doc/library/pyexpat.rst from Doc/tools/.nitignore

Signed-off-by: ANISAYAK MITRA <266799942+anisayakmitra-in@users.noreply.github.com>
@anisayakmitra-in

Copy link
Copy Markdown
Author

Closing to avoid noise. Apologies for the rapid submissions.

@picnixz

picnixz commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

This doesn't answer my question. Is an agent automatically submitting the patches?

@picnixz picnixz reopened this Nov 28, 2026
@picnixz picnixz closed this Nov 28, 2026
@picnixz picnixz added the AI-guidelines-not-met The contribution does not meet our guidelines for using AI tools and is closed automatically. label Nov 28, 2026
@picnixz

picnixz commented Nov 28, 2026

Copy link
Copy Markdown
Member

@python/organization-owners Please block this account since they seem to be using automated submission once their PR limit is not reached (I closed #162805 and this PR was immediately opened just after). TiA.

@StanFromIreland

Copy link
Copy Markdown
Member
image

Wonderful, already claiming "upstream fixes spam".

@anisayakmitra-in

anisayakmitra-in commented Nov 28, 2026 •

Copy link
Copy Markdown
Author

I am really sorry. There is no automated bot daemon running — it's just me, sitting at my desk. I was using an AI coding assistant locally to help locate missing Sphinx references and had prepared a few branches locally. I foolishly submitted them one after another without understanding maintainer review bandwidth, etiquette, or how awful and disruptive that looks from your side.

The bio line was pure stupid over-eagerness on my part, and I've cleaned it up. I take full responsibility for being tone-deaf and wasting your Saturday. I completely understand if you still choose to block me, but I wanted to apologize sincerely and assure you I have stopped completely.

@anisayakmitra-in
anisayakmitra-in deleted the fix-pyexpat-sphinx-warnings branch November 29, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-guidelines-not-met The contribution does not meet our guidelines for using AI tools and is closed automatically. awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants