Opened 5 years ago

Closed 5 years ago

#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 (1)

comment:1 Changed 5 years ago by scoder

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