Ticket #489 (closed defect: fixed)
Redefinition of Python functions
| Reported by: | scoder | Owned by: | vitja |
|---|---|---|---|
| Priority: | major | Milestone: | 0.15 |
| Component: | Python Semantics | Keywords: | |
| Cc: | vitja.makarov@… |
Description
Python allows this:
def f(): pass
def f(): pass
def f():
def f(): pass
def f(): pass
def f(): pass
Cython currently forbids the redefinition of a function (even in the cython-closures branch). This restriction should be lifted and (re-)assignments to a function name should be allowed.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

