GNOME Bugzilla – Bug 505594
nautilus-python: use Py_ssize_t for PyDict_Next
Last modified: 2007-12-26 09:50:55 UTC
Please describe the problem: On x86_64 boxes with a python newer than 2.5, nautilus-python does not actually execute any of the python extensions. Passing a "Py_ssize_t" as the second argument to "PyDict_Next" in "nautilus_python_load_file" fixes this. The attached patch maintains compatibility with python versions older than 2.5 using the pre-processor idiom suggested in PEP353: http://www.python.org/dev/peps/pep-0353/ Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 101590 [details] [review] nautilus-python Py_ssize_t patch
*** This bug has been marked as a duplicate of 444366 ***