Issue #21986: Idle now matches interpreter in not pickling user code objects.
Patch by Claudiu Popa