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 — gh-115398: Suggest use of `hasattr` with checking for 3.13 Expat API availability by hartwork · Pull Request #116278 · python/cpython

Conversation

@hartwork

@hartwork hartwork commented Mar 3, 2024 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Follow-up to #115623, comment #115623 (review) is related. Happy to adjust details as needed.

  • Issue: Please expose Expat >=2.6.0 API function XML_SetReparseDeferralEnabled #115398

📚 Documentation preview 📚: https://cpython-previews--116278.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot added awaiting review docs Documentation in the Doc dir labels Mar 3, 2024
@bedevere-app bedevere-app Bot mentioned this pull request Mar 3, 2024
Please expose Expat >=2.6.0 API function XML_SetReparseDeferralEnabled #115398
Closed
@hartwork
hartwork force-pushed the docs-hint-about-hasattr-for-expat-reparse-deferral-api-availability-checks branch from 752d749 to 9f37778 Compare March 3, 2024 16:08
@hartwork hartwork changed the title gh-115398: Suggest use of "hasattr" with checking for 3.13 Expat API availability gh-115398: Suggest use of hasattr with checking for 3.13 Expat API availability Mar 3, 2024
@hartwork hartwork mentioned this pull request Mar 3, 2024
gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) #115623
Merged
@hartwork
hartwork force-pushed the docs-hint-about-hasattr-for-expat-reparse-deferral-api-availability-checks branch from 9f37778 to 28b1c91 Compare March 3, 2024 16:14
gpshead
gpshead reviewed Mar 4, 2024
View reviewed changes
Comment thread Doc/library/pyexpat.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

gpshead
gpshead reviewed Mar 4, 2024
View reviewed changes
Comment thread Misc/NEWS.d/next/Documentation/2024-03-03-17-04-30.gh-issue-115398.FQICYA.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@gpshead gpshead self-assigned this Mar 4, 2024
@gpshead gpshead added the skip news label Mar 4, 2024
@hartwork
Suggest use of "hasattr" with checking for 3.13 Expat API availability
f2bc351
@hartwork
hartwork force-pushed the docs-hint-about-hasattr-for-expat-reparse-deferral-api-availability-checks branch from 28b1c91 to f2bc351 Compare March 4, 2024 19:41
@hartwork
hartwork requested a review from gpshead March 4, 2024 19:41
gpshead
gpshead approved these changes Mar 6, 2024
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Mar 6, 2024
@gpshead
gpshead merged commit 73807eb into python:main Mar 6, 2024
@bedevere-app bedevere-app Bot removed the awaiting merge label Mar 6, 2024
hartwork added a commit to hartwork/cpython that referenced this pull request Mar 6, 2024
@hartwork
pythongh-115398: Suggest use of hasattr with checking for 3.13 Expa…
5573d60
…t API availability (pythonGH-116278)

Suggest use of "hasattr" with checking for 3.13 Expat API availability

(cherry picked from commit 73807eb)
hartwork added a commit to hartwork/cpython that referenced this pull request Mar 6, 2024
@hartwork
pythongh-115398: Suggest use of hasattr with checking for 3.13 Expa…
b9e9e22
…t API availability (pythonGH-116278)

Suggest use of "hasattr" with checking for 3.13 Expat API availability

(cherry picked from commit 73807eb)
hartwork added a commit to hartwork/cpython that referenced this pull request Mar 6, 2024
@hartwork
pythongh-115398: Suggest use of hasattr with checking for 3.13 Expa…
08d0d6d
…t API availability (pythonGH-116278)

Suggest use of "hasattr" with checking for 3.13 Expat API availability

(cherry picked from commit 73807eb)
hartwork added a commit to hartwork/cpython that referenced this pull request Mar 6, 2024
@hartwork
pythongh-115398: Suggest use of hasattr with checking for 3.13 Expa…
d1e179d
…t API availability (pythonGH-116278)

Suggest use of "hasattr" with checking for 3.13 Expat API availability

(cherry picked from commit 73807eb)
hartwork added a commit to hartwork/cpython that referenced this pull request Mar 6, 2024
@hartwork
pythongh-115398: Suggest use of hasattr with checking for 3.13 Expa…
ad77f04
…t API availability (pythonGH-116278)

Suggest use of "hasattr" with checking for 3.13 Expat API availability

(cherry picked from commit 73807eb)
hartwork added a commit to hartwork/cpython that referenced this pull request Mar 6, 2024
@hartwork
pythongh-115398: Suggest use of hasattr with checking for 3.13 Expa…
8ee0663
…t API availability (pythonGH-116278)

Suggest use of "hasattr" with checking for 3.13 Expat API availability

(cherry picked from commit 73807eb)
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
@hartwork @adorilson
pythongh-115398: Suggest use of hasattr with checking for 3.13 Expa…
369290c
…t API availability (pythonGH-116278)

Suggest use of "hasattr" with checking for 3.13 Expat API availability
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
@hartwork @diegorusso
pythongh-115398: Suggest use of hasattr with checking for 3.13 Expa…
c21055b
…t API availability (pythonGH-116278)

Suggest use of "hasattr" with checking for 3.13 Expat API availability
@hartwork hartwork mentioned this pull request Sep 23, 2025
gh-90949: add Expat API to prevent XML deadly allocations #139234
Merged
This was referenced Oct 8, 2025
Expose Expat XML attack protection APIs #90949
Closed
gh-90949: Recommend hasattr with Expat security methods #139800
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gpshead gpshead gpshead approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@gpshead gpshead

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@hartwork @gpshead
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.