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/09/19 20:36:24 UTC

[jira] Created: (MODPYTHON-190) python 2.5 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


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

        

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

Posted by "Jim Gallacher (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by Indrek Järve <in...@inversion.ee>.
Jim Gallacher wrote:
> Graham Dumpleton (JIRA) wrote:
>>      [ http://issues.apache.org/jira/browse/MODPYTHON-190?page=all ]
>>
>> Graham Dumpleton updated MODPYTHON-190:
>> ---------------------------------------
>>
>>     Fix Version/s:     (was: 3.3)
>>
>> Taking this off the list of things to fix in 3.3. We really need 
>> someone who has access to Python 2.5 and a 64 bit platform to help us 
>> do this one and test it. Until then we could do more harm than good 
>> if we start fiddling with the code with no way to actually validate 
>> it works ourselves.
>
> Agreed. Defer to to later.
>
> Jim
If all that is needed is access to a 64-bit box, I can hook someone up 
with a shell account on an Opteron running 64-bit SUSE 9.2.

Best regards,
Indrek

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

Posted by Jim Gallacher <jp...@jgassociates.ca>.
Graham Dumpleton (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/MODPYTHON-190?page=all ]
> 
> Graham Dumpleton updated MODPYTHON-190:
> ---------------------------------------
> 
>     Fix Version/s:     (was: 3.3)
> 
> Taking this off the list of things to fix in 3.3. We really need someone who has access to Python 2.5 and a 64 bit platform to help us do this one and test it. Until then we could do more harm than good if we start fiddling with the code with no way to actually validate it works ourselves.

Agreed. Defer to to later.

Jim

>> 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
>>         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.
> 


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

Posted by "Graham Dumpleton (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-190?page=all ]

Graham Dumpleton updated MODPYTHON-190:
---------------------------------------

    Fix Version/s:     (was: 3.3)

Taking this off the list of things to fix in 3.3. We really need someone who has access to Python 2.5 and a 64 bit platform to help us do this one and test it. Until then we could do more harm than good if we start fiddling with the code with no way to actually validate it works ourselves.

> 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
>         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