Is there a value in using IPython code blocks? It prevents copy/pasting (while standard codeblocks can be copy/pasted in doctest mode).