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
e76197d7
Commit
e76197d7
authored
Jun 18, 2008
by
Dag Sverre Seljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed problem with unicode temporary strings
parent
d2a99890
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Compiler/Visitor.py
Cython/Compiler/Visitor.py
+2
-1
No files found.
Cython/Compiler/Visitor.py
View file @
e76197d7
...
...
@@ -4,6 +4,7 @@
import
Nodes
import
ExprNodes
import
inspect
from
Cython.Utils
import
EncodedString
class
BasicVisitor
(
object
):
"""A generic visitor base class which can be used for visiting any kind of object."""
...
...
@@ -170,7 +171,7 @@ tmpnamectr = 0
def
temp_name_handle
(
description
):
global
tmpnamectr
tmpnamectr
+=
1
return
u"__cyt_%d_%s"
%
(
tmpnamectr
,
description
)
return
EncodedString
(
u"__cyt_%d_%s"
%
(
tmpnamectr
,
description
)
)
def
get_temp_name_handle_desc
(
handle
):
if
not
handle
.
startswith
(
u"__cyt_"
):
...
...
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