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

tp_print has apparently never actually done anything in the Python 3 #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leigh123linux
Copy link

series

@leigh123linux
Copy link
Author

leigh123linux commented Jun 7, 2020

tp_print has been removed from python-3.9 and was never used in python3

Removed

Exclude PyFPE_START_PROTECT() and PyFPE_END_PROTECT() macros of pyfpe.h from the limited C API. (Contributed by Victor Stinner in bpo-38835.)

The tp_print slot of PyTypeObject has been removed. It was used for printing objects to files in Python 2.7 and before. Since Python 3.0, it has been ignored and unused. (Contributed by Jeroen Demeyer in bpo-36974.)

https://docs.python.org/3.9/whatsnew/3.9.html

vidcutter/libs/pympv/mpv.c:23786:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23786 |   __pyx_type_9vidcutter_4libs_3mpv_EndOfFileReached.tp_print = 0;
      |                                                    ^
vidcutter/libs/pympv/mpv.c:23797:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23797 |   __pyx_type_9vidcutter_4libs_3mpv_InputDispatch.tp_print = 0;
      |                                                 ^
vidcutter/libs/pympv/mpv.c:23808:46: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23808 |   __pyx_type_9vidcutter_4libs_3mpv_LogMessage.tp_print = 0;
      |                                              ^
vidcutter/libs/pympv/mpv.c:23819:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23819 |   __pyx_type_9vidcutter_4libs_3mpv_Property.tp_print = 0;
      |                                            ^
vidcutter/libs/pympv/mpv.c:23831:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23831 |   __pyx_type_9vidcutter_4libs_3mpv_Event.tp_print = 0;
      |                                         ^
vidcutter/libs/pympv/mpv.c:23845:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23845 |   __pyx_type_9vidcutter_4libs_3mpv_Context.tp_print = 0;
      |                                           ^
vidcutter/libs/pympv/mpv.c:23854:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23854 |   __pyx_type_9vidcutter_4libs_3mpv_OpenGLContext.tp_print = 0;
      |                                                 ^
vidcutter/libs/pympv/mpv.c:23862:63: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23862 |   __pyx_type_9vidcutter_4libs_3mpv___pyx_scope_struct___errors.tp_print = 0;

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.

None yet

1 participant