Ticket #330 (closed defect: duplicate)

Opened 14 months ago

Last modified 6 months ago

pxd locals ignored in .py compilation

Reported by: robertwb Owned by: somebody
Priority: critical Milestone: Dupe/Invalid
Component: Parsing Keywords:
Cc:

Description

See  http://thread.gmane.org/gmane.comp.python.cython.devel/5811/focus=5816

git clone git://github.com/certik/cython-test.git
cd cython-test
cython fact.pyx

then it produces nicely optimized fact.c file. However, if you do:

cython fact.py

it produces a fact.c, that compiles, but it is not optimized --- the
"i" and "r" variables are python objects, not ints, even though my
fact.pxd file contains:

Change History

Changed 14 months ago by robertwb

  • priority changed from major to critical

Changed 14 months ago by robertwb

  • component changed from Build System to Parsing

Changed 6 months ago by robertwb

  • status changed from new to closed
  • resolution set to duplicate
  • milestone changed from wishlist to Dupe/Invalid

I fixed this ages ago, never closed the ticket. The above works for me.

Note: See TracTickets for help on using tickets.