Skip to content

Conversation

y-yagi
Copy link
Contributor

@y-yagi y-yagi commented Apr 14, 2025

Currently, some methods' behavior(e.g. URI.parse) don't change when switching a parser. This is because some methods use DEFAULT_PARSER, but parser= doesn't change DEFAULT_PARSER.

This PR introduces a constant to keep a parser's instance and change it when switching a parser. Also, change to use it in methods.

Currently, some methods' behavior(e.g. `URI.parse`) don't change
when switching a parser. This is because some methods use
`DEFAULT_PARSER`, but `parser=` doesn't change `DEFAULT_PARSER`.

This PR introduces a constant to keep a parser's instance and
change it when switching a parser. Also, change to use it in
methods.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant