Opened 5 years ago

Closed 3 years ago

#491 closed enhancement (fixed)

Implement generator expressions

Reported by: scoder Owned by: vitja
Priority: major Milestone: 0.15
Component: Code Generation Keywords:
Cc:

Description (last modified by scoder)

list(x*2 for x in range(10))

This depends on #83 (CEP 307).

http://wiki.cython.org/enhancements/generators

Change History (7)

comment:1 Changed 4 years ago by scoder

Parser support is implemented here:

http://hg.cython.org/cython-closures/rev/3057f38a196d

comment:2 Changed 4 years ago by scoder

The special cases of any() and all() have been implemented as part of ticket #534.

comment:3 Changed 4 years ago by scoder

  • Description modified (diff)

Several inlined generator expressions are now implemented in the cython-closures branch, including proper scoping for their loop variables.

comment:4 Changed 3 years ago by vitja

  • Milestone changed from wishlist to 0.15
  • Resolution set to fixed
  • Status changed from new to closed

Generator expressions are supported since 0.15

comment:5 Changed 3 years ago by scoder

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:6 Changed 3 years ago by scoder

  • Owner changed from somebody to vitja
  • Status changed from reopened to new

comment:7 Changed 3 years ago by scoder

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