Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/switch to logging #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Mar 17, 2016

  1. Ensure socket closes properly

    The socket is being held open by the writable handle. Close both the handle and the socket.
    To do this we need to store the handle as a member variable.
    Sean Perry committed Mar 17, 2016
    Configuration menu
    Copy the full SHA
    18cd5a4 View commit details
    Browse the repository at this point in the history
  2. Refactor Rpdb object.

    Rpdb now contains a Pdb instance instead of deriving from one. This lets the Rpdb object be created separately from the socket accept() call.
    
    Closes tamentis#4.
    Sean Perry committed Mar 17, 2016
    Configuration menu
    Copy the full SHA
    031b685 View commit details
    Browse the repository at this point in the history
  3. Move from printing to logging

    Setup and use Python's logging module instead of printing directly to stdout or stderr.
    
    Also, add an example program used for testing.
    Sean Perry committed Mar 17, 2016
    Configuration menu
    Copy the full SHA
    96f9901 View commit details
    Browse the repository at this point in the history