You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Anthony Molinaro (JIRA)" <ji...@apache.org> on 2010/08/16 09:09:26 UTC

[jira] Created: (THRIFT-855) Include optimized compiled python objects in install

Include optimized compiled python objects in install
----------------------------------------------------

                 Key: THRIFT-855
                 URL: https://issues.apache.org/jira/browse/THRIFT-855
             Project: Thrift
          Issue Type: Improvement
          Components: Compiler (Python)
    Affects Versions: 0.5
            Reporter: Anthony Molinaro


The current python installation includes compiled versions of files .pyc files, but not the optimized compiled versions .pyo.  Including the optimized versions seems like it wouldn't hurt, and might help out python users.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-855) Include optimized compiled python objects in install

Posted by "Anthony Molinaro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Molinaro updated THRIFT-855:
------------------------------------

    Attachment: setup.cfg

The attached file needs to be added in the lib/py directory.

> Include optimized compiled python objects in install
> ----------------------------------------------------
>
>                 Key: THRIFT-855
>                 URL: https://issues.apache.org/jira/browse/THRIFT-855
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Python)
>    Affects Versions: 0.5
>            Reporter: Anthony Molinaro
>         Attachments: setup.cfg
>
>
> The current python installation includes compiled versions of files .pyc files, but not the optimized compiled versions .pyo.  Including the optimized versions seems like it wouldn't hurt, and might help out python users.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (THRIFT-855) Include optimized compiled python objects in install

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-855.
--------------------------------

         Assignee: Anthony Molinaro
    Fix Version/s: 0.5
       Resolution: Fixed

I just committed this.

> Include optimized compiled python objects in install
> ----------------------------------------------------
>
>                 Key: THRIFT-855
>                 URL: https://issues.apache.org/jira/browse/THRIFT-855
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Python - Compiler
>    Affects Versions: 0.5
>            Reporter: Anthony Molinaro
>            Assignee: Anthony Molinaro
>             Fix For: 0.5
>
>         Attachments: setup.cfg
>
>
> The current python installation includes compiled versions of files .pyc files, but not the optimized compiled versions .pyo.  Including the optimized versions seems like it wouldn't hurt, and might help out python users.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-855) Include optimized compiled python objects in install

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899078#action_12899078 ] 

David Reiss commented on THRIFT-855:
------------------------------------

Python's "optimize" mode is pretty silly at the moment, but I see no problem with this as long as it doesn't interfere with the .pyc files.  Anyone else know better?

> Include optimized compiled python objects in install
> ----------------------------------------------------
>
>                 Key: THRIFT-855
>                 URL: https://issues.apache.org/jira/browse/THRIFT-855
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Python)
>    Affects Versions: 0.5
>            Reporter: Anthony Molinaro
>         Attachments: setup.cfg
>
>
> The current python installation includes compiled versions of files .pyc files, but not the optimized compiled versions .pyo.  Including the optimized versions seems like it wouldn't hurt, and might help out python users.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-855) Include optimized compiled python objects in install

Posted by "Anthony Molinaro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900774#action_12900774 ] 

Anthony Molinaro commented on THRIFT-855:
-----------------------------------------

I looked around and it seems that there isn't any interference with pyc files.  They are created as separate steps, so the pyc files do not change.  They do seem sort of anemic, but redhat seems to create them for all its python packages, so I assume there is something to them.  Anyway, any chance of this getting committed?

> Include optimized compiled python objects in install
> ----------------------------------------------------
>
>                 Key: THRIFT-855
>                 URL: https://issues.apache.org/jira/browse/THRIFT-855
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Python - Compiler
>    Affects Versions: 0.5
>            Reporter: Anthony Molinaro
>         Attachments: setup.cfg
>
>
> The current python installation includes compiled versions of files .pyc files, but not the optimized compiled versions .pyo.  Including the optimized versions seems like it wouldn't hurt, and might help out python users.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.