python.syntax: fix py-import.
Revert "sequences: require integers for slice and repetition."

This reverts commit 5e87cdb3a9b5885c6648ffaf6e5e9a2edc5fd200.
io.sockets: change protocol-port to handle ``f`` on all platforms.