| Jim Gallacher (JIRA) 2006-10-20, 1:12 pm |
| [ http://issues.apache.org/jira/brows...ON-190?page=all ]
Jim Gallacher updated MODPYTHON-190:
------------------------------------
Attachment: ssizecheck.diff
ssizecheck.py will include functions which are enclosed in comments in its output. Since I've added comments to mod_python src code to mark the areas which may need attention, ssizecheck.py will now give many false positives.
The attached patch ssizecheck.diff contains a small modification which will skip any comment that starts with "/* Python 2.5:"
eg
/* Python 2.5: PyTuple_New uses Py_ssize_t for input parameters */
The addition of these comments will allow us to keep track of the code areas which will need attention for full Python 2.5 / 64-bit support.
> Python 2.5 support
> ------------------
>
> Key: MODPYTHON-190
> URL: http://issues.apache.org/jira/browse/MODPYTHON-190
> Project: mod_python
> Issue Type: Task
> Components: core
> Affects Versions: 3.3
> Environment: All
> Reporter: Jim Gallacher
> Fix For: 3.3
>
> Attachments: ssizecheck.diff
>
>
> Python 2.5 has been offically released, The major change that may effect mod_python is better support for 64-bit machines, allowing for things such as strings > 2GiB.
> Details and conversion guidelines can be found in PEP-353.
> http://www.python.org/dev/peps/pep-0353/
> Scanning the mod_python source with the ssizecheck.py script mentioned in the PEP indicates a number of places that will require attention.
|