Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

asenyaev
Copy link
Contributor

This PR fixes an issue opencv/opencv-python#689 as @impact27 suggested.

Python docs said (link):

The contents of this dictionary should not be modified; changes may not affect the values of local and free variables used by the interpreter.

Actual behavior

ImportError: ERROR: recursion is detected during loading of "cv2" binary extensions.

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@opencv-pushbot opencv-pushbot merged commit 4791243 into opencv:3.4 Jul 19, 2022
@asenyaev asenyaev deleted the asen/fix_python_recursion branch July 20, 2022 12:51
@alalek alalek mentioned this pull request Jul 26, 2022
This was referenced Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants