Commit 052e7b44 authored by Jason R. Coombs's avatar Jason R. Coombs

execfile now opens target in binary mode for better compatibility. Fixes Distribute #349.

parent a7cac0e3
......@@ -2,6 +2,13 @@
CHANGES
=======
-----
1.1.6
-----
* Distribute #349: ``sandbox.execfile`` now opens the target file in binary
mode, thus honoring a BOM in the file when compiled.
-----
1.1.5
-----
......
......@@ -84,7 +84,7 @@ else:
globs = globals()
if locs is None:
locs = globs
f = open(fn)
f = open(fn, 'rb')
try:
source = f.read()
finally:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment