1. 01 May, 2006 5 commits
  2. 30 Apr, 2006 12 commits
  3. 29 Apr, 2006 8 commits
  4. 28 Apr, 2006 13 commits
  5. 27 Apr, 2006 2 commits
    • Thomas Wouters's avatar
      Add more ignores of ImportWarnings; these are all just potential triggers · 076ba212
      Thomas Wouters authored
      (since they won't trigger if zlib is already sucessfully imported); they
      were found by grepping .py files, instead of looking at warning output :)
      076ba212
    • Thomas Wouters's avatar
      - Add new Warning class, ImportWarning · 9df4e6f6
      Thomas Wouters authored
       - Warn-raise ImportWarning when importing would have picked up a directory
         as package, if only it'd had an __init__.py. This swaps two tests (for
         case-ness and __init__-ness), but case-test is not really more expensive,
         and it's not in a speed-critical section.
      
       - Test for the new warning by importing a common non-package directory on
         sys.path: site-packages
      
       - In regrtest.py, silence warnings generated by the build-environment
         because Modules/ (which is added to sys.path for Setup-created modules)
         has 'zlib' and '_ctypes' directories without __init__.py's.
      9df4e6f6