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

Fixed #23594 -- Fixed deepcopy on ErrorList. #3316

Closed
wants to merge 1 commit into from

Conversation

loic
Copy link
Member

@loic loic commented Oct 6, 2014

Thanks Troy Grosfield for the report and Tim Graham for the tests.

@@ -138,6 +138,15 @@ def __getitem__(self, i):
return list(error)[0]
return force_text(error)

def __reduce_ex__(self, *args, **kwargs):
# The `list` reduce function returns an iterator as 4th element
Copy link
Member

Choose a reason for hiding this comment

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

as the fourth

@timgraham
Copy link
Member

1.7.1. release note please

Thanks Troy Grosfield for the report and Tim Graham for the tests.
@@ -89,3 +89,5 @@ Bugfixes

* Fixed ``MigrationWriter`` to handle builtin types without imports
(:ticket:`23560`).

* Fixed deepcopy on ``ErrorList`` (:ticket:`23594`).
Copy link
Member

Choose a reason for hiding this comment

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

deepcopy should have backticks otherwise I suspect the spelling checker will flag it. Otherwise, this looks good. Thanks.

@timgraham
Copy link
Member

merged in ec2fd02.

@timgraham timgraham closed this Oct 6, 2014
@troygrosfield
Copy link

No problem. Thanks for the quick turnaround @timgraham!

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.

3 participants