pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/encode/httpcore/pull/1060

ref="https://github.githubassets.com/assets/actions-26401580c700f528.css" /> Fix TypeError due to IntEnum by tlogemann · Pull Request #1060 · encode/httpcore · GitHub
Skip to content

Fix TypeError due to IntEnum#1060

Closed
tlogemann wants to merge 2 commits intoencode:masterfrom
tlogemann:master
Closed

Fix TypeError due to IntEnum#1060
tlogemann wants to merge 2 commits intoencode:masterfrom
tlogemann:master

Conversation

@tlogemann
Copy link
Copy Markdown

Summary

The issue is described here: #1048

The problem is that at least python 3.12 raises a TypeError for the used IntEnum when using from httpx.

If this is not the intended way of fixing, feel free to close the PR. It was just a quick fix for me.

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced.
  • I tried as much as possible to make a single atomic change
  • I've updated the documentation accordingly.

@tlogemann
Copy link
Copy Markdown
Author

The TypeError by IntEnum seems not be caused by httpcore, as I also get it from other libraries.

@tlogemann tlogemann closed this Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy