You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by "Jim Gallacher (JIRA)" <ji...@apache.org> on 2006/10/20 15:37:37 UTC

[jira] Updated: (MODPYTHON-190) python 2.5 support

     [ http://issues.apache.org/jira/browse/MODPYTHON-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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira