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
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
Show 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
...
@@ -23,16 +23,16 @@ Features added
* When generators are used in a Cython module and the module imports the
* When generators are used in a Cython module and the module imports the
modules "inspect" and/or "asyncio", Cython enables interoperability by
modules "inspect" and/or "asyncio", Cython enables interoperability by
patching these modules
to recognise Cython's internal generator type.
patching these modules
during the import to recognise Cython's internal
This can be disabled by C compiling the module with
generator type.
This can be disabled by C compiling the module with
"-D CYTHON_PATCH_ASYNCIO=0" or "-D CYTHON_PATCH_INSPECT=0"
"-D CYTHON_PATCH_ASYNCIO=0" or "-D CYTHON_PATCH_INSPECT=0"
* When generators are used in a Cython module, the new ``Generator`` ABC
* When generators are used in a Cython module, the new ``Generator`` ABC
will be patched into the ``collections`` or ``collections.abc``
will be patched into the ``collections`` or ``collections.abc``
stdlib module
if it is not there yet. It allows type checks for
stdlib module
at import time if it is not there yet. It allows type
``isinstance(obj, Generator)`` which includes both Python generators
checks for ``isinstance(obj, Generator)`` which includes both Python
and Cython generators. This can be disabled by C compiling the modul
e
generators and Cython generators. This can be disabled by C compiling th
e
with "-D CYTHON_PATCH_ABC=0". See https://bugs.python.org/issue24018
module
with "-D CYTHON_PATCH_ABC=0". See https://bugs.python.org/issue24018
* Adding/subtracting/dividing/modulus and equality comparisons with
* Adding/subtracting/dividing/modulus and equality comparisons with
constant Python floats and small integers are faster.
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