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
Boxiang Sun
cython
Commits
a77c750e
Commit
a77c750e
authored
Jul 05, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ep2008: clarification on closures
parent
54db2a85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
Doc/s5/cython-ep2008.txt
Doc/s5/cython-ep2008.txt
+5
-7
No files found.
Doc/s5/cython-ep2008.txt
View file @
a77c750e
...
...
@@ -214,9 +214,7 @@ Python 2 feature support
* ``with`` statement
* closures
* support for local classes and functions is close!
* closures (i.e. local classes and functions) are close!
Speed
...
...
@@ -311,19 +309,19 @@ Calling C functions
return PyUnicode_DecodeASCII(s, size, NULL)
Cutting-edge features
================
=====
Features in work
================
* Dynamic classes and functions with closures
.. sourcecode:: python
def
myfunction
(a,b):
def
factory
(a,b):
def closure_function(c):
return a+b+c
return closure_function
* Native support for new ``buffer`` protocol
this summer
* Native support for new ``buffer`` protocol
* part of NumPy integration by Dag Seljebotn
...
...
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