# Package:  core
# Date:     2nd April 2006
# Author:   James Mills, prologic at shortcircuit dot net dot au

"""Core

This package contains the essential core parts of the circuits framework.
"""

from handlers import handler

from events import Event
from manager import Manager
from components import BaseComponent, Component

from values import Value
from futures import future, Future

from timers import Timer
from bridge import Bridge
from debugger import Debugger
from workers import Thread, Process

__all__ = ("handler",
        "Event", "Manager", "BaseComponent", "Component",
        "Value", "future", "Future",
        "Timer", "Bridge", "Debugger",
        "Thread", "Process",)

@@ -409,16 +409,25 @@
 t Timer%0A
+try:%0A    
 from bri
@@ -444,16 +444,242 @@
  Bridge%0A
+except:%0A    print %22Failed to import circuits.core.bridge. This probably means we're running in debug mode in Windows, and the debug version of the Python socket library is not available. Continuing without.%22%0A    Bridge = None%0A
 from deb

bring back a hack to circuits for running without the socket library in py stdlib. is not currently available in our deps in debugmode on windows.