summaryrefslogtreecommitdiff
path: root/Lib/io.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-04-11 04:37:43 +0000
committerGuido van Rossum <guido@python.org>2007-04-11 04:37:43 +0000
commit0ad0812edb3b4023f3e410243c007fba3f84a9ff (patch)
tree23d6a6d06f6cbebbf8cf0f54508b68dc826ff791 /Lib/io.py
parent9b76da6a8f93c0211a97187f000b693d0cdc6638 (diff)
downloadcpython-git-0ad0812edb3b4023f3e410243c007fba3f84a9ff.tar.gz
An example of action-at-a-distance: fix the problems I had in test_io.py
without touching io.py or test_io.py. The cause of the failure was that bytes objects didn't pickle right. As a stop-gap measure, I'm providing bytes pickling via copy_reg. Eventually, we should use a more efficient protocol, e.g. __reduce_ex__ or __getstate__/__setstate__.
Diffstat (limited to 'Lib/io.py')
0 files changed, 0 insertions, 0 deletions