Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
052e7b44
Commit
052e7b44
authored
Sep 18, 2013
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
execfile now opens target in binary mode for better compatibility. Fixes Distribute #349.
parent
a7cac0e3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
CHANGES.txt
CHANGES.txt
+7
-0
setuptools/compat.py
setuptools/compat.py
+1
-1
No files found.
CHANGES.txt
View file @
052e7b44
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
CHANGES
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
1.1.5
-----
-----
...
...
setuptools/compat.py
View file @
052e7b44
...
@@ -84,7 +84,7 @@ else:
...
@@ -84,7 +84,7 @@ else:
globs
=
globals
()
globs
=
globals
()
if
locs
is
None
:
if
locs
is
None
:
locs
=
globs
locs
=
globs
f
=
open
(
fn
)
f
=
open
(
fn
,
'rb'
)
try
:
try
:
source
=
f
.
read
()
source
=
f
.
read
()
finally
:
finally
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment