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
Kirill Smelkov
cython
Commits
a32e3fc4
Commit
a32e3fc4
authored
3 years ago
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update changelog.
parent
13f8cd75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
3 deletions
+44
-3
CHANGES.rst
CHANGES.rst
+44
-3
No files found.
CHANGES.rst
View file @
a32e3fc4
...
...
@@ -2,6 +2,47 @@
Cython
Changelog
================
3.0.0
alpha
11
(
2022
-
0
?-??)
===========================
Features
added
--------------
*
A
new
decorator
``@
cython
.
dataclasses
.
dataclass
``
was
implemented
that
provides
compile
time
dataclass
generation
capabilities
to
``
cdef
``
classes
(
extension
types
).
Patch
by
David
Woods
.
(
Github
issue
:
issue
:`
2903
`)
*
Named
expressions
(
PEP
572
)
aka
.
assignment
expressions
(
aka
.
the
walrus
operator
``:=``)
were
implemented
.
Patch
by
David
Woods
.
(
Github
issue
:
issue
:`
2636
`)
*
The
``
cythonize
``
command
has
a
new
option
``-
M
``
to
generate
``.
dep
``
dependency
files
for
the
compilation
unit
.
This
can
be
used
by
external
build
tools
to
track
these
dependencies
.
Already
available
in
Cython
:
ref
:`
0.29.27
`.
Patch
by
Evgeni
Burovski
.
(
Github
issue
:
issue
:`
1214
`)
*
The
generated
C
code
now
compiles
in
CPython
3.11
a4
.
(
Github
issue
:
issue
:`
4500
`)
Bugs
fixed
----------
*
Includes
all
bug
-
fixes
from
the
:
ref
:`
0.29.27
`
release
.
Other
changes
-------------
*
When
using
type
annotations
,
``
func
(
x
:
list
)``
or
``
func
(
x
:
ExtType
)``
(
and
other
Python
builtin
or
extension
types
)
now
disallow
``
None
``
as
input
argument
to
``
x
``.
This
is
consistent
with
the
normal
typing
semantics
in
Python
,
and
was
a
common
gotcha
for
users
who
did
not
expect
``
None
``
to
be
allowed
as
input
.
To
allow
``
None
``,
use
``
typing
.
Optional
``
as
in
``
func
(
x
:
Optional
[
list
])``.
``
None
``
is
also
automatically
allowed
when
it
is
used
as
default
argument
,
i
.
e
.
``
func
(
x
:
list
=
None
)``.
Note
that
,
for
backwards
compatibility
reasons
,
this
does
not
apply
when
using
Cython
's
C notation, as in ``func(list x)``. Here, ``None`` is still allowed, as always.
(Github issues :issue:`3883`, :issue:`2696`)
3.0.0 alpha 10 (2022-01-06)
===========================
...
...
@@ -903,16 +944,16 @@ Features added
* The ``cythonize`` command has a new option ``-M`` to generate ``.dep`` dependency
files for the compilation unit. This can be used by external build tools to track
these dependencies.
Patch
by
Evgeni
Burovski
.
(
Github
issue
#
1214
)
Patch by Evgeni Burovski. (Github issue
:issue:`1214`
)
Bugs fixed
----------
* Compilation failures on PyPy were resolved.
Patches
by
Matti
Picus
.
(
Github
issues
#
4509
,
#
4517
)
Patches by Matti Picus. (Github issues
:issue:`4509`, :issue:`4517`
)
* Calls to ``range()`` with more than three arguments did not fail.
Original
patch
by
Max
Bachmann
.
(
Github
issue
#
4550
)
Original patch by Max Bachmann. (Github issue
:issue:`4550`
)
* Some C compiler warnings about missing type struct initialisers in Py3.10 were resolved.
...
...
This diff is collapsed.
Click to expand it.
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