Ticket #297 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

shapely.geos.free() using wrong version of msvcrt .dll

Reported by: timaranz Owned by: sgillies
Priority: major Milestone:
Component: SWIG Python Version: 3.0.3
Severity: Significant Keywords:
Cc:

Description

I have several versions of the msvc runtime installed on my XP machine. geos and python are build using version 9.

ctypes.msvcrt accesses the dll from the windows system32 folder which is version 7.

The correct way to find the version of msvcrt that matches python is: msvcrt = PyDLL(find_msvcrt())

patch attached.

Cheers Tim

Attachments

geos.patch Download (439 bytes) - added by timaranz 4 years ago.
patch for shapely/geos.py

Change History

Changed 4 years ago by timaranz

patch for shapely/geos.py

Changed 4 years ago by sgillies

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