Skip to content

Conversation

Vizonex
Copy link
Contributor

@Vizonex Vizonex commented Jun 28, 2024

I felt the need to add static type-checking to this library in order to help other programmers with using this library. I hope this pull request will help out a few people with using this library.

fragment:bytes
userinfo:bytes

def parse_url(url:Union[bytes, bytearray, memoryview, array]) -> URL:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should add spaces after colons for type annotations

@Vizonex
Copy link
Contributor Author

Vizonex commented Jul 17, 2024 via email

@KRRT7
Copy link
Contributor

KRRT7 commented Nov 7, 2024

@DABND19 could you take a look? thanks

@DABND19
Copy link

DABND19 commented Dec 6, 2024

@DABND19 could you take a look? thanks

Hi! I am not the maintainer of this repository, I just left my comments on this pull request :)

@Vizonex
Copy link
Contributor Author

Vizonex commented Dec 8, 2024

thanks for the help. I was off doing other things that I had forgotten about this completely.

@fantix fantix merged commit b55f5fe into MagicStack:master Oct 10, 2025
18 checks passed
fantix added a commit that referenced this pull request Oct 10, 2025
Changes
=======

* Modernize packaging and fix CI (#130)
  Drop Python 3.8, add Python 3.14
  Use Cython 3.1.0
  Bump llhttp to 9.3.0
  (by @ngoldbaum @Carreau @fantix in 59bf94f for #129)

* Static Type-checking for httptools (#100)
  (by @Vizonex @KRRT7 in b55f5fe for #100)
@fantix fantix mentioned this pull request Oct 10, 2025
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.

4 participants