Ticket #320 (new defect)

Opened 16 months ago

Last modified 7 weeks ago

Canonical PyObject

Reported by: dagss Owned by: somebody
Priority: major Milestone: 0.13.1
Component: Type Analysis Keywords:
Cc:

Description (last modified by scoder) (diff)

a) There's currently a lot of different PyObject declarations floating around in Cython/Includes. This could be fixed by centralizing them.

b) However, currently it is possible to do <AnyStruct*>pyobject. This is probably a bit too lenient -- one would wish to require <AnyStruct*><void*>pyobject; while still allowing <PyObject*>pyobject. This could speak in favor of making PyObject a builtin.

Change History

Changed 11 months ago by scoder

  • component changed from Parsing to Type Analysis
  • description modified (diff)
  • milestone changed from wishlist to 0.12

Targeting this to 0.12 as it's really annoying. There should be a builtin "PyObject?" type that's simply known without any cimports.

Changed 11 months ago by scoder

  • milestone changed from 0.12 to 0.13

This has not been decided yet. The cleanup in Cython/Includes/ lifts the weight from this problem. Retargeting to 0.13.

Changed 7 weeks ago by robertwb

  • milestone changed from 0.13 to 0.13.1
Note: See TracTickets for help on using tickets.