Skip to content

Conversation

@presidento
Copy link
Contributor

It fixes #257.

(Having __getattr__ without __deepcopy__ causes infinite recursion in Python 3 when you deepcopy that object. A test is also updated to cause the error fixed in this commit.)

(See for example http://www.peterbe.com/plog/must__deepcopy__)

Having __getattr__ without __deepcopy__ causes infinite
recursion in Python 3 when you deepcopy that object. A test
is also updated to cause the error fixed in this commit.

Fixes pyinvoke#257

Signed-off-by: Máté Farkas <[email protected]>
@bitprophet bitprophet added this to the 0.13 milestone Jan 3, 2016
@presidento
Copy link
Contributor Author

When will you release it? Now pyinvoke is broken with Python 3 if you use parameterized pre tasks...

@bitprophet
Copy link
Member

Can't give any concrete estimates, sorry. Soonish™. Given this is pretty small I may just bump it up to 0.12 which is due out Very Soon™.

@bitprophet bitprophet modified the milestones: 0.12, 0.13 Jan 5, 2016
@presidento
Copy link
Contributor Author

Okay, thank you. It is more than nothing. 😄

@presidento
Copy link
Contributor Author

Thank you!

@presidento presidento deleted the py3recursive_257 branch January 13, 2016 06:39
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.

invoke.tasks.call raises "RuntimeError: maximum recursion depth exceeded while calling a Python object"

2 participants