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
0c5fe4bd
Commit
0c5fe4bd
authored
Oct 26, 2016
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.25.x'
parents
5d94cb5e
53985a5a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
4 deletions
+27
-4
CHANGES.rst
CHANGES.rst
+19
-0
Cython/Distutils/build_ext.py
Cython/Distutils/build_ext.py
+4
-1
Cython/Distutils/old_build_ext.py
Cython/Distutils/old_build_ext.py
+3
-2
Cython/Shadow.py
Cython/Shadow.py
+1
-1
No files found.
CHANGES.rst
View file @
0c5fe4bd
...
...
@@ -2,6 +2,25 @@
Cython Changelog
================
0.25.1 (2016-10-26?)
===================
Bugs fixed
----------
* Fixes a bug with ``isinstance(o, Exception)`` (Github issue #1496).
* Fixes bug with ``cython.view.array`` missing utility code in some cases
(Github issue #1502).
Other changes
-------------
* The distutils extension ``Cython.Distutils.build_ext`` has been reverted,
temporarily, to be ``old_build_ext`` to give projects time to migrate.
The new build_ext is available as ``new_build_ext``.
0.25 (2016-10-25)
=================
...
...
Cython/Distutils/build_ext.py
View file @
0c5fe4bd
...
...
@@ -11,10 +11,13 @@ else:
from
distutils.command.build_ext
import
build_ext
as
_build_ext
class
build_ext
(
_build_ext
,
object
):
class
new_
build_ext
(
_build_ext
,
object
):
def
finalize_options
(
self
):
if
self
.
distribution
.
ext_modules
:
from
Cython.Build.Dependencies
import
cythonize
self
.
distribution
.
ext_modules
[:]
=
cythonize
(
self
.
distribution
.
ext_modules
)
super
(
build_ext
,
self
).
finalize_options
()
# This will become new_build_ext in the future.
from
Cython
.
Distutils
.
old_build_ext
as
build_ext
Cython/Distutils/old_build_ext.py
View file @
0c5fe4bd
...
...
@@ -21,10 +21,11 @@ try:
frames
=
inspect
.
getouterframes
(
inspect
.
currentframe
(),
2
)
from_setuptools
=
'setuptools/extension.py'
in
frames
[
2
][
1
]
from_pyximport
=
'pyximport/pyxbuild.py'
in
frames
[
1
][
1
]
from_cy_buildext
=
'Cython/Distutils/build_ext.py'
in
frames
[
1
][
1
]
except
Exception
:
from_setuptools
=
from_pyximport
=
False
from_setuptools
=
from_pyximport
=
from_cy_buildext
=
False
if
not
from_setuptools
and
not
from_pyximport
:
if
not
from_setuptools
and
not
from_pyximport
and
not
from_cy_buildext
:
warnings
.
warn
(
"Cython.Distutils.old_build_ext does not properly handle dependencies "
"and is deprecated."
)
...
...
Cython/Shadow.py
View file @
0c5fe4bd
# cython.* namespace for pure mode.
from
__future__
import
absolute_import
__version__
=
"0.25"
__version__
=
"0.25
.1b0
"
try
:
from
__builtin__
import
basestring
...
...
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