Files
cpython/Python
Thomas Wouters 9df4e6f673 - Add new Warning class, ImportWarning
- 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.
2006-04-27 23:13:20 +00:00
..
2006-04-13 13:08:58 +00:00
2006-04-22 11:40:03 +00:00
2006-04-22 11:40:03 +00:00
2006-04-22 11:40:03 +00:00
2002-06-11 06:22:31 +00:00
2002-01-23 15:51:12 +00:00
2006-04-17 00:33:23 +00:00
2002-08-15 14:59:02 +00:00
2006-04-18 00:57:15 +00:00
2002-12-30 22:08:05 +00:00
2006-04-15 18:14:21 +00:00
2002-06-11 06:22:31 +00:00
2006-02-15 17:27:45 +00:00
2005-07-09 15:26:33 +00:00