Ipc 279 Punishment - The punishments to which offenders are liable under the provisions of this code are—. Ipc 279 Punishment - 279 ipc section defines as well as states punishment for rash driving or riding on a public way.