Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence some warnings related to copying itertools objects #3513

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fselmo
Copy link
Collaborator

@fselmo fselmo commented Oct 15, 2024

What was wrong?

Related to Issue #3511

How was it fixed?

Don't deepcopy the itertools.count() counter object for the request mocker. This should get rid of most warnings related to this in the test suite. It'll be a bit more difficult to tackle the PersistentConnectionProvider case (in its request information cache) of copying the request counter. We may have to switch to a different object for the counter itself in order to avoid copying an itertools object.

Todo:

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

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