Attempts by life-convicts.—When any person offending under this section is under sentence of imprisonment for life, he may, if hurt is caused, be punished with death.
(a) A shoots at Z with intention to kill him, under such circumstances that, if death ensued A would be guilty of murder. A is liable to punishment under this section.
(b) A, with the intention of causing the death of a child of tender years, exposes it in a desert place A has committed the offence defined by this section, though the death of the child does not ensue.
(c) A, intending to murder Z, buys a gun and loads it. A has not yet committed the offence. A fires the gun at Z. He has committed the offence defined in this section, and, if by such firing he wounds Z, he is liable to the punishment provided by the latter part of the first paragraph of this section.
(d) A, intending to murder Z by poison, purchases poison and mixes the same with food which remains in A’s keeping; A has not yet committed the offence defined in this section. A places the food on Z’s table or delivers it to Z’s servants to place it on Z’s table. A has committed the offence defined in this section.