Ticket #248 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

line breaks between imported names

Reported by: robertwb Owned by: scoder
Priority: minor Milestone: Dupe/Invalid
Component: Parsing Keywords:
Cc:

Description

On Mar 19, 2009, at 9:12 AM, William Stein wrote:

Hi,

I wish this worked in Cython:

   from foo cimport (a, b, c, d
              e, f, g)

Right now it doesn't.

It does from Python, we should support this too.

Change History

Changed 4 years ago by scoder

  • summary changed from line breaks between function arguments to line breaks between imported names

But this already works now!?

 http://hg.cython.org/cython-devel/file/tip/tests/run/importfrom.pyx

The example should read

   from foo cimport (a, b, c, d  ,
              e, f, g)

though.

Changed 4 years ago by dagss

Note that this says cimport rather than import. I haven't checked whether it works though.

Changed 4 years ago by dagss

  • milestone changed from 0.11.2 to 0.11.3

Changed 4 years ago by robertwb

  • priority changed from major to minor
  • milestone changed from 0.11.3 to wishlist

Changed 4 years ago by scoder

  • owner changed from somebody to scoder
  • milestone changed from wishlist to 0.11.3

Changed 4 years ago by scoder

  • status changed from new to closed
  • resolution set to worksforme
  • milestone changed from 0.11.3 to Dupe/Invalid
Note: See TracTickets for help on using tickets.