Ticket #516 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by scoder

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.