def __init__(self, *args, **kwargs):
    self._waiting_data = NO_DATA_PRESENT
    self._isOpen = True
    self.port = kwargs['port']
    self._initial_port_name = self.port
    try:
        self.timeout = kwargs['timeout']
    except:
        self.timeout = DEFAULT_TIMEOUT
    try:
        self.baudrate = kwargs['baudrate']
    except:
        self.baudrate = DEFAULT_BAUDRATE
    if VERBOSE:
        _print_out('\nDummy_serial: Initializing')
        _print_out(('dummy_serial initialization args: ' + repr(args)))
        _print_out((('dummy_serial initialization kwargs: ' + repr(kwargs)) + '\n'))
def __init__(self, *args, **kwargs):
    self._waiting_data = NO_DATA_PRESENT
    self._isOpen = True
    self.port = kwargs['port']
    self._initial_port_name = self.port
    try:
        self.timeout = kwargs['timeout']
    except:
        self.timeout = DEFAULT_TIMEOUT
    try:
        self.baudrate = kwargs['baudrate']
    except:
        self.baudrate = DEFAULT_BAUDRATE
    if VERBOSE:
        _print_out('\nDummy_serial: Initializing')
        _print_out(('dummy_serial initialization args: ' + repr(args)))
        _print_out((('dummy_serial initialization kwargs: ' + repr(kwargs)) + '\n'))