Remove special casing for PyPy not required anymore · matplotlib/matplotlib@be1f0c2 · GitHub
Skip to content

Commit be1f0c2

Browse files
committed
Remove special casing for PyPy not required anymore
1 parent 21663b5 commit be1f0c2

4 files changed

Lines changed: 0 additions & 41 deletions

File tree

‎src/_c_internal_utils.c‎

Lines changed: 0 additions & 12 deletions

‎src/_macosx.m‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,7 @@ static void lazy_init(void) {
285285
NSApp = [NSApplication sharedApplication];
286286
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
287287

288-
#ifndef PYPY
289-
/* TODO: remove ifndef after the new PyPy with the PyOS_InputHook implementation
290-
get released: https://bitbucket.org/pypy/pypy/commits/caaf91a */
291288
PyOS_InputHook = wait_for_stdin;
292-
#endif
293289

294290
WindowServerConnectionManager* connectionManager = [WindowServerConnectionManager sharedManager];
295291
NSWorkspace* workspace = [NSWorkspace sharedWorkspace];

‎src/_path.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@
2121
#include "_backend_agg_basic_types.h"
2222
#include "numpy_cpp.h"
2323

24-
/* Compatibility for PyPy3.7 before 7.3.4. */
25-
#ifndef Py_DTSF_ADD_DOT_0
26-
#define Py_DTSF_ADD_DOT_0 0x2
27-
#endif
28-
2924
struct XY
3025
{
3126
double x;

‎src/ft2font_wrapper.cpp‎

Lines changed: 0 additions & 20 deletions

0 commit comments

Comments
 (0)