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
004bb9e5
Commit
004bb9e5
authored
Jul 28, 2007
by
William Stein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changing Python. to Cython.
parent
ee1b399f
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
22 additions
and
22 deletions
+22
-22
Cython/Compiler/Code.py
Cython/Compiler/Code.py
+1
-1
Cython/Compiler/Errors.py
Cython/Compiler/Errors.py
+1
-1
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+1
-1
Cython/Compiler/Lexicon.py
Cython/Compiler/Lexicon.py
+1
-1
Cython/Compiler/Main.py
Cython/Compiler/Main.py
+3
-3
Cython/Compiler/ModuleNode.py
Cython/Compiler/ModuleNode.py
+1
-1
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+1
-1
Cython/Compiler/Scanning.py
Cython/Compiler/Scanning.py
+2
-2
Cython/Compiler/TypeSlots.py
Cython/Compiler/TypeSlots.py
+2
-2
Cython/Distutils/build_ext.py
Cython/Distutils/build_ext.py
+3
-3
Cython/Mac/DarwinSystem.py
Cython/Mac/DarwinSystem.py
+2
-2
Cython/Mac/MacSystem.py
Cython/Mac/MacSystem.py
+2
-2
Cython/Unix/LinuxSystem.py
Cython/Unix/LinuxSystem.py
+2
-2
No files found.
Cython/Compiler/Code.py
View file @
004bb9e5
...
...
@@ -4,7 +4,7 @@
import
Naming
import
Options
from
Pyrex
.Utils
import
open_new_file
from
Cython
.Utils
import
open_new_file
from
PyrexTypes
import
py_object_type
,
typecast
class
CCodeWriter
:
...
...
Cython/Compiler/Errors.py
View file @
004bb9e5
...
...
@@ -3,7 +3,7 @@
#
import
sys
from
Pyrex
.Utils
import
open_new_file
from
Cython
.Utils
import
open_new_file
class
PyrexError
(
Exception
):
...
...
Cython/Compiler/ExprNodes.py
View file @
004bb9e5
...
...
@@ -12,7 +12,7 @@ from PyrexTypes import py_object_type, c_long_type, typecast
import
Symtab
import
Options
from
Pyrex
.Debugging
import
print_call_chain
from
Cython
.Debugging
import
print_call_chain
from
DebugFlags
import
debug_disposal_code
,
debug_temp_alloc
,
\
debug_coercion
...
...
Cython/Compiler/Lexicon.py
View file @
004bb9e5
...
...
@@ -8,7 +8,7 @@
string_prefixes
=
"cCrR"
def
make_lexicon
():
from
Pyrex
.Plex
import
\
from
Cython
.Plex
import
\
Str
,
Any
,
AnyBut
,
AnyChar
,
Rep
,
Rep1
,
Opt
,
Bol
,
Eol
,
Eof
,
\
TEXT
,
IGNORE
,
State
,
Lexicon
from
Scanning
import
Method
...
...
Cython/Compiler/Main.py
View file @
004bb9e5
...
...
@@ -16,7 +16,7 @@ from Errors import PyrexError, CompileError, error
import
Parsing
from
Symtab
import
BuiltinScope
,
ModuleScope
import
Code
from
Pyrex
.Utils
import
replace_suffix
from
Cython
.Utils
import
replace_suffix
verbose
=
0
...
...
@@ -325,10 +325,10 @@ default_options = CompilationOptions(
output_file
=
None
)
if
sys
.
platform
==
"mac"
:
from
Pyrex
.Mac.MacSystem
import
c_compile
,
c_link
,
CCompilerError
from
Cython
.Mac.MacSystem
import
c_compile
,
c_link
,
CCompilerError
default_options
.
use_listing_file
=
1
elif
sys
.
platform
==
"darwin"
:
from
Pyrex
.Mac.DarwinSystem
import
c_compile
,
c_link
,
CCompilerError
from
Cython
.Mac.DarwinSystem
import
c_compile
,
c_link
,
CCompilerError
else
:
c_compile
=
None
c_link
=
None
...
...
Cython/Compiler/ModuleNode.py
View file @
004bb9e5
...
...
@@ -15,7 +15,7 @@ import Version
from
Errors
import
error
from
PyrexTypes
import
py_object_type
from
Pyrex
.Utils
import
open_new_file
,
replace_suffix
from
Cython
.Utils
import
open_new_file
,
replace_suffix
class
ModuleNode
(
Nodes
.
Node
,
Nodes
.
BlockNode
):
# doc string or None
...
...
Cython/Compiler/Nodes.py
View file @
004bb9e5
...
...
@@ -11,7 +11,7 @@ import PyrexTypes
from
PyrexTypes
import
py_object_type
,
error_type
,
CTypedefType
from
Symtab
import
ModuleScope
,
LocalScope
,
\
StructOrUnionScope
,
PyClassScope
,
CClassScope
from
Pyrex
.Utils
import
open_new_file
,
replace_suffix
from
Cython
.Utils
import
open_new_file
,
replace_suffix
import
Options
from
DebugFlags
import
debug_disposal_code
...
...
Cython/Compiler/Scanning.py
View file @
004bb9e5
...
...
@@ -11,8 +11,8 @@ import sys
from
time
import
time
from
Pyrex
import
Plex
from
Pyrex
.Plex
import
Scanner
from
Pyrex
.Plex.Errors
import
UnrecognizedInput
from
Cython
.Plex
import
Scanner
from
Cython
.Plex.Errors
import
UnrecognizedInput
from
Errors
import
CompileError
,
error
from
Lexicon
import
string_prefixes
,
make_lexicon
...
...
Cython/Compiler/TypeSlots.py
View file @
004bb9e5
...
...
@@ -179,7 +179,7 @@ class MethodSlot(SlotDescriptor):
class
InternalMethodSlot
(
SlotDescriptor
):
# Type slot descriptor for a method which is always
# synthesized by
Pyrex
.
# synthesized by
Cython
.
#
# slot_name string Member name of the slot in the type object
...
...
@@ -574,7 +574,7 @@ slot_table = (
#
# Descriptors for special methods which don't appear directly
# in the type object or its substructures. These methods are
# called from slot functions synthesized by
Pyrex
.
# called from slot functions synthesized by
Cython
.
#
#------------------------------------------------------------------------------------------
...
...
Cython/Distutils/build_ext.py
View file @
004bb9e5
...
...
@@ -7,9 +7,9 @@
# Pyrex is (c) Greg Ewing.
import
distutils.command.build_ext
#import
Pyrex
.Compiler.Main
from
Pyrex
.Compiler.Main
import
CompilationOptions
,
default_options
,
compile
from
Pyrex
.Compiler.Errors
import
PyrexError
#import
Cython
.Compiler.Main
from
Cython
.Compiler.Main
import
CompilationOptions
,
default_options
,
compile
from
Cython
.Compiler.Errors
import
PyrexError
from
distutils.dep_util
import
newer
import
os
import
sys
...
...
Cython/Mac/DarwinSystem.py
View file @
004bb9e5
...
...
@@ -8,8 +8,8 @@ gcc_warnings_are_errors = True
gcc_all_warnings
=
True
import
os
from
Pyrex
.Utils
import
replace_suffix
from
Pyrex
.Compiler.Errors
import
PyrexError
from
Cython
.Utils
import
replace_suffix
from
Cython
.Compiler.Errors
import
PyrexError
py_include_dirs
=
[
"/Library/Frameworks/Python.framework/Headers"
...
...
Cython/Mac/MacSystem.py
View file @
004bb9e5
...
...
@@ -6,8 +6,8 @@ import os, sys, string
import
aetools
from
aetools
import
TalkTo
from
StdSuites.Standard_Suite
import
Standard_Suite_Events
as
Standard_Suite
from
Pyrex
.Utils
import
replace_suffix
from
Pyrex
.Compiler.Errors
import
PyrexError
from
Cython
.Utils
import
replace_suffix
from
Cython
.Compiler.Errors
import
PyrexError
c_compiler
=
"MWCPPC"
c_optimizations
=
"off"
...
...
Cython/Unix/LinuxSystem.py
View file @
004bb9e5
...
...
@@ -8,8 +8,8 @@ gcc_warnings_are_errors = True
gcc_all_warnings
=
True
import
os
from
Pyrex
.Utils
import
replace_suffix
from
Pyrex
.Compiler.Errors
import
PyrexError
from
Cython
.Utils
import
replace_suffix
from
Cython
.Compiler.Errors
import
PyrexError
version
=
"%s.%s"
%
sys
.
version
[:
2
]
py_include_dirs
=
[
...
...
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