Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
aae844f4
Commit
aae844f4
authored
Apr 27, 2015
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undo --embed -> __main__ conversion.
parent
5e380c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
Cython/Compiler/Pipeline.py
Cython/Compiler/Pipeline.py
+1
-4
No files found.
Cython/Compiler/Pipeline.py
View file @
aae844f4
...
...
@@ -27,10 +27,7 @@ def abort_on_errors(node):
def
parse_stage_factory
(
context
):
def
parse
(
compsrc
):
source_desc
=
compsrc
.
source_desc
if
Options
.
embed
:
full_module_name
=
"__main__"
else
:
full_module_name
=
compsrc
.
full_module_name
full_module_name
=
compsrc
.
full_module_name
initial_pos
=
(
source_desc
,
1
,
0
)
saved_cimport_from_pyx
,
Options
.
cimport_from_pyx
=
Options
.
cimport_from_pyx
,
False
scope
=
context
.
find_module
(
full_module_name
,
pos
=
initial_pos
,
need_pxd
=
0
)
...
...
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