Ticket #491 (closed enhancement: fixed)

Opened 5 years ago

Last modified 3 years ago

Implement generator expressions

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

Description (last modified by scoder) (diff)

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

This depends on #83 (CEP 307).

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

Change History

Changed 4 years ago by scoder

Parser support is implemented here:

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

Changed 4 years ago by scoder

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

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.

Changed 3 years ago by vitja

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from wishlist to 0.15

Generator expressions are supported since 0.15

Changed 3 years ago by scoder

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 3 years ago by scoder

  • owner changed from somebody to vitja
  • status changed from reopened to new

Changed 3 years ago by scoder

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