[Zope-CVS] CVS: Products/Scheduler/interfaces - __init__.py:1.1

Tres Seaver tseaver@zope.com
Sun, 29 Sep 2002 16:50:05 -0400

Update of /cvs-repository/Products/Scheduler/interfaces
In directory cvs.zope.org:/tmp/cvs-serv7758/interfaces

Added Files:
Log Message:

  - __init__.py:
    o Move interfaces into a subpackage, and export from product scope.

      e.g., instead of:

        from Products.Scheduler.IScheduler import IScheduledEvent


        from Products.Scheduler import IScheduledEvent

      This avoids name clashes between the module and the event, and
      hides the physical distribution of interfaces across modules.

    o Import interfaces first, to make cycles harmless.

  - Scheduler:

    o Rearrange imports into "canonical" order (default Python,
      then generic Zope, then products, etc.)

    o Import / use unqualified names for interfaces.

=== Added File Products/Scheduler/interfaces/__init__.py ===
""" Interfaces for Scheduler product.

$Id: __init__.py,v 1.1 2002/09/29 20:50:05 tseaver Exp $