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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
857251b7
Commit
857251b7
authored
Feb 28, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1896: Disable late includes to avoid breakage of user code.
parent
cf70c107
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Cython/Compiler/Code.py
Cython/Compiler/Code.py
+1
-1
tests/bugs.txt
tests/bugs.txt
+3
-0
No files found.
Cython/Compiler/Code.py
View file @
857251b7
...
...
@@ -155,7 +155,7 @@ class IncludeCode(object):
if initial:
self.location = self.INITIAL
elif late:
elif
False and
late:
self.location = self.LATE
else:
self.location = self.EARLY
...
...
tests/bugs.txt
View file @
857251b7
...
...
@@ -16,6 +16,9 @@ cimport_alias_subclass
# PEP-489 is currently disabled
run.mod__spec__
# Late includes are currently disabled
run.extern_include_order
# CPython regression tests that don't current work:
pyregr.test_signal
pyregr.test_capi
...
...
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