Ticket #516 (closed enhancement: fixed)
from __future__ import print_function (Py2.6+ only)
| Reported by: | scoder | Owned by: | scoder |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.13 |
| Component: | Parsing | Keywords: | |
| Cc: |
Description
The new print function in Py2.6 and later can become quite handy, so it would be nice if Cython supported it at least for code that is compiled and run on platforms that support it, using the normal future import:
from __future__ import print_function x = print x(1,2,3)
Ticket #69 has a follow-up that requests equivalent support for older Python versions, basically by providing a fallback implementation copied from CPython.
Change History
Note: See
TracTickets for help on using
tickets.
