1. 06 Oct, 2009 2 commits
    • Mark Lodato's avatar
      set module_is_main = 1 in main(), not globally · 8c686843
      Mark Lodato authored
      From 3ebc39282aa9a8379069df12b0c8cc86a2ac8a25 Mon Sep 17 00:00:00 2001
      Date: Mon, 5 Oct 2009 21:17:04 -0400
      For --embed mode, always initialize the global variable
      __pyx_module_is_main_MODULE to zero, even with --embed, and only set it
      to one in main().  This would allow the same code to still work if
      compiled as a shared library (main would be ignored) and also make the
      code cleaner since all of the --embed stuff would be in one place.
      ---
       Cython/Compiler/ModuleNode.py |    6 ++++--
       1 files changed, 4 insertions(+), 2 deletions(-)
      8c686843
    • Mark Lodato's avatar
      fix -Wextra warning for empty `else' body · 5d8d9abf
      Mark Lodato authored
      From faba5d52ae82239f522c108b51fa18dbb1ae9a8b Mon Sep 17 00:00:00 2001
      Date: Mon, 5 Oct 2009 22:49:07 -0400
      The macros XDECREF, XGIVEREF, and XGOTREF used ";" to denote an empty if
      and else body, but these raised the following warning when compiled with
      "gcc -Wall -Wextra":
      
          warning: suggest braces around empty body in an `else' statement
      ---
       Cython/Compiler/ModuleNode.py |    6 +++---
       1 files changed, 3 insertions(+), 3 deletions(-)
      5d8d9abf
  2. 04 Oct, 2009 1 commit
  3. 06 Oct, 2009 1 commit
  4. 04 Oct, 2009 2 commits
  5. 27 Sep, 2009 2 commits
  6. 26 Sep, 2009 2 commits
  7. 25 Sep, 2009 7 commits
  8. 24 Sep, 2009 2 commits
  9. 22 Sep, 2009 5 commits
  10. 16 Sep, 2009 1 commit
  11. 15 Sep, 2009 1 commit
  12. 14 Sep, 2009 1 commit
  13. 12 Sep, 2009 3 commits
  14. 11 Sep, 2009 4 commits
  15. 10 Sep, 2009 1 commit
  16. 11 Sep, 2009 1 commit
  17. 17 Mar, 2009 1 commit
  18. 11 Sep, 2009 3 commits