1. 23 Aug, 2010 6 commits
  2. 22 Aug, 2010 15 commits
  3. 21 Aug, 2010 16 commits
  4. 20 Aug, 2010 3 commits
    • Victor Stinner's avatar
      Workaround issue #8611 in test_undecodable_code() of test_sys · af240b61
      Victor Stinner authored
      Write test.support.workaroundIssue8611() function so it will be easier to
      remove this workaround from all tests.
      af240b61
    • Victor Stinner's avatar
      test_undecodable_code(): set locale to C · 2c33ae04
      Victor Stinner authored
      The test is still failing on "x86 FreeBSD 7.2 3.x" and "sparc solaris10 gcc
      3.x" buildbots. It looks like the locale encoding is able to decode b'\xff'. I
      suppose that it is an encoding like 'iso-8859-1'.
      
      Use C locale to set, I hope, the locale encoding to 'ascii'. Display also the
      encoding so if the test fails, at least I will learn the locale encoding
      choosen for the C locale.
      2c33ae04
    • Victor Stinner's avatar
      test_main_invalid_unicode() of test_sys: print string as ascii · 62aa0223
      Victor Stinner authored
      There are buildbot failures on "x86 FreeBSD 3.x" and "sparc solaris10 gcc 3.x".
      I suppose that _Py_char2wchar() doesn't fail even if the locale encoding is
      unable to decode the byte string, because _Py_char2wchar() has a special mode
      for platform without mbrtowc() (ISO C99) function.
      
      Let's check my theory by avoid error on the Python print() instruction.
      62aa0223