summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2013-04-16 06:14:55 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2013-04-16 06:14:55 (GMT)
commit7c5e094cbfa6769bf4cabfa5f883f2dc5320667b (patch)
tree096be7fc037ead2cf551a1ce25c8b7afd4dee463 /.gitignore
parent48a2e7c357b7f2148ada9473c796351cc562284b (diff)
downloadcpython-7c5e094cbfa6769bf4cabfa5f883f2dc5320667b.zip
cpython-7c5e094cbfa6769bf4cabfa5f883f2dc5320667b.tar.gz
cpython-7c5e094cbfa6769bf4cabfa5f883f2dc5320667b.tar.bz2
Make C and Python implementations of pickle load STRING opcodes the same way.
The C version tried to remove trailing whitespace between the last quote and the newline character. I am not sure why it had this because pickle never generated such pickles---for this to happen repr(some_string) would need to return trailing whitespace. It was maybe there to make it easier for people to write pickles in text editors. Anyhow, the Python version doesn't do this so there is no point keeping this around anymore. Also, I've changed the exception raised when a bad pickle is encountered. Again this unlikely to make much difference to anyone though it does make testing slightly nicer for us.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions