3a71eef python: Use PyBytes converter for set_event API

2 files Authored by abawer 6 years ago, Committed by nsoffer 6 years ago,
    python: Use PyBytes converter for set_event API
    
    Also add a stub test for arguments parsing.
    
    Implications:
    
    - Py2 : no difference
    - Py3 : if used, only accept bytes for lockspace name.
    
        
file modified
+12 -8
file modified
+6 -0