1. 28 Feb, 2006 38 commits
  2. 27 Feb, 2006 2 commits
    • Brett Cannon's avatar
      Check the return code for PyErr_Warn() when warning about raising string · a7446e34
      Brett Cannon authored
      exceptions.  This was triggered when 'warnings' had a filter set to "error"
      that caught the string exception deprecation warning.
      a7446e34
    • Tim Peters's avatar
      PyErr_ProgramText(): Grrrrrr. · a7444f47
      Tim Peters authored
      In a Windows debug build, trying to open a file using
      an empty string as the name causes assertion death
      inside MS's C runtime code.  We probably need to worm
      around that in many places.  I'm worming around it here
      to stop the new test_with.py from assert-dying in the
      Windows debug build (it calls compile() with an empty
      string for "the file name", which indirectly leads to
      C-level code in Python trying to fopen("", "r")).
      a7444f47