diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-09-29 04:03:10 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-09-29 04:03:10 +0000 |
commit | 42c83afd14e1c7270124e581e42163ff5ef98ed8 (patch) | |
tree | ddd43b50a4149865a49aade1565d2535bcb9c805 /Python/compile.c | |
parent | 3cc7e4d083916a5171caae453c38d423baae1d91 (diff) | |
download | cpython-git-42c83afd14e1c7270124e581e42163ff5ef98ed8.tar.gz |
The 2.0b2 change to write .pyc files in exclusive mode (if possible)
unintentionally caused them to get written in text mode under Windows.
As a result, when .pyc files were later read-- in binary mode --the
magic number was always wrong (note that .pyc magic numbers deliberately
include \r and \n characters, so this was "good" breakage, 100% across
all .pyc files, not random corruption in a subset). Fixed that.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions