reduce-pydebug.patch 415 B

12345678910111213141516
  1. YT-18818: Disable GC_DEBUG in relwithdebinfo mode
  2. REVIEW: 3716232
  3. --- contrib/tools/python3/Modules/gcmodule.c (11f41021041cc1f16e346fd25bc37037b47700ea)
  4. +++ contrib/tools/python3/Modules/gcmodule.c (32de4cb7380e0b1efe00e6abf514e690933e781c)
  5. @@ -41,7 +41,9 @@ module gc
  6. #ifdef Py_DEBUG
  7. -# define GC_DEBUG
  8. +# ifndef GC_NDEBUG
  9. +# define GC_DEBUG
  10. +# endif
  11. #endif
  12. #define GC_NEXT _PyGCHead_NEXT