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

Remove an obsolete attribute from Session.__attrs__ #5110

Merged
merged 2 commits into from Feb 18, 2020
Merged

Remove an obsolete attribute from Session.__attrs__ #5110

merged 2 commits into from Feb 18, 2020

Conversation

nedbat
Copy link
Contributor

@nedbat nedbat commented Jun 4, 2019

The extra attribute in Session.__attrs__ makes an unpickled session have one more attribute than the original. Removing it makes the original and the unpickled be identical.

@nedbat nedbat changed the title Remove an obsolete attribute from __attrs__ Remove an obsolete attribute from Session.__attrs__ Jun 4, 2019
nateprewitt
nateprewitt previously approved these changes Feb 18, 2020
@nateprewitt
Copy link
Member

Great catch, @nedbat! That's only been lingering for 8 years . Would you mind rebasing if you get a moment?

The extra attribute in __attrs__ makes an unpickled session have one more attribute than the original.  Removing it makes the original and the unpickled be identical.
@nedbat
Copy link
Contributor Author

nedbat commented Feb 18, 2020

Rebased, thanks!

@nedbat
Copy link
Contributor Author

nedbat commented Feb 18, 2020

Hmm, rebasing and force-pushing apparently also "dismisses stale review"? That certainly wasn't my intent....!

Copy link
Member

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

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

No worries! It looks like some other stuff got merged after you rebased. I'm just going to merge this manually to get it in before we do another release. Thanks again, Ned!

@nateprewitt nateprewitt merged commit 80011a7 into psf:master Feb 18, 2020
@nateprewitt nateprewitt mentioned this pull request Feb 19, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants