Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
65c719a2
Commit
65c719a2
authored
Mar 27, 2015
by
Marius Wachtler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zipimport: Ignore bytecode files in archives
parent
9098ccf1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
from_cpython/Modules/zipimport.c
from_cpython/Modules/zipimport.c
+1
-2
No files found.
from_cpython/Modules/zipimport.c
View file @
65c719a2
...
@@ -1177,8 +1177,7 @@ get_module_code(ZipImporter *self, char *fullname,
...
@@ -1177,8 +1177,7 @@ get_module_code(ZipImporter *self, char *fullname,
if
(
isbytecode
)
{
if
(
isbytecode
)
{
// Pyston change: We don't support bytecode archives currently
// Pyston change: We don't support bytecode archives currently
// mtime = get_mtime_of_source(self, path);
// mtime = get_mtime_of_source(self, path);
PyErr_Format
(
ZipImportError
,
"Pyston can't load bytecode from archives yet. ' '%.200s'"
,
fullname
);
continue
;
return
NULL
;
}
}
if
(
p_ispackage
!=
NULL
)
if
(
p_ispackage
!=
NULL
)
...
...
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