Add linux support to list_ports.
Fix a duplicate function from merge.
Python improvements.