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
8e41d0c6
Commit
8e41d0c6
authored
Jun 06, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarify in changelog what "patching stdlib modules" means
parent
2c95f93d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
CHANGES.rst
CHANGES.rst
+6
-6
No files found.
CHANGES.rst
View file @
8e41d0c6
...
...
@@ -23,16 +23,16 @@ Features added
* When generators are used in a Cython module and the module imports the
modules "inspect" and/or "asyncio", Cython enables interoperability by
patching these modules
to recognise Cython's internal generator type.
This can be disabled by C compiling the module with
patching these modules
during the import to recognise Cython's internal
generator type.
This can be disabled by C compiling the module with
"-D CYTHON_PATCH_ASYNCIO=0" or "-D CYTHON_PATCH_INSPECT=0"
* When generators are used in a Cython module, the new ``Generator`` ABC
will be patched into the ``collections`` or ``collections.abc``
stdlib module
if it is not there yet. It allows type checks for
``isinstance(obj, Generator)`` which includes both Python generators
and Cython generators. This can be disabled by C compiling the modul
e
with "-D CYTHON_PATCH_ABC=0". See https://bugs.python.org/issue24018
stdlib module
at import time if it is not there yet. It allows type
checks for ``isinstance(obj, Generator)`` which includes both Python
generators and Cython generators. This can be disabled by C compiling th
e
module
with "-D CYTHON_PATCH_ABC=0". See https://bugs.python.org/issue24018
* Adding/subtracting/dividing/modulus and equality comparisons with
constant Python floats and small integers are faster.
...
...
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