Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freeze.py not ported to python3 #51766

Closed
patrickkidd mannequin opened this issue Dec 15, 2009 · 6 comments
Closed

freeze.py not ported to python3 #51766

patrickkidd mannequin opened this issue Dec 15, 2009 · 6 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@patrickkidd
Copy link
Mannequin

patrickkidd mannequin commented Dec 15, 2009

BPO 7517
Nosy @brettcannon, @merwok, @Trundle
Superseder
  • bpo-11824: freeze.py broken due to ABI flags
  • Files
  • freeze-pep3149-compat.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2011-04-30.15:39:33.671>
    created_at = <Date 2009-12-15.18:56:18.377>
    labels = ['type-bug', 'library']
    title = 'freeze.py not ported to python3'
    updated_at = <Date 2011-04-30.15:39:33.669>
    user = 'https://bugs.python.org/patrickkidd'

    bugs.python.org fields:

    activity = <Date 2011-04-30.15:39:33.669>
    actor = 'eric.araujo'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-04-30.15:39:33.671>
    closer = 'eric.araujo'
    components = ['Library (Lib)']
    creation = <Date 2009-12-15.18:56:18.377>
    creator = 'patrickkidd'
    dependencies = []
    files = ['21825']
    hgrepos = []
    issue_num = 7517
    keywords = ['patch']
    message_count = 6.0
    messages = ['96454', '96461', '96462', '134692', '134693', '134867']
    nosy_count = 5.0
    nosy_names = ['brett.cannon', 'eric.araujo', 'Trundle', 'patrickkidd', 'marcs']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '11824'
    type = 'behavior'
    url = 'https://bugs.python.org/issue7517'
    versions = ['Python 3.1']

    @patrickkidd
    Copy link
    Mannequin Author

    patrickkidd mannequin commented Dec 15, 2009

    Tools/Freeze/freeze.py is still producing C code that expects the old-
    style module initialization functions, causing link errors.

    The simple example in Tools/Freeze/hello.py easily demonstrates this
    behavior.

    @patrickkidd patrickkidd mannequin added build The build process and cross-build stdlib Python modules in the Lib dir labels Dec 15, 2009
    @brettcannon
    Copy link
    Member

    Almost prioritized to low as there has been talk in the past of not even
    supporting frozen modules by default. The tool should either get fixed or
    removed depending on how people feel.

    @brettcannon brettcannon added type-bug An unexpected behavior, bug, or error and removed build The build process and cross-build labels Dec 15, 2009
    @patrickkidd
    Copy link
    Mannequin Author

    patrickkidd mannequin commented Dec 15, 2009

    Interesting. I found it incredibly useful. I would love to fix the port (if
    I find the time, of course :().

    On Tue, Dec 15, 2009 at 12:52 PM, Brett Cannon <report@bugs.python.org>wrote:

    Brett Cannon <brett@python.org> added the comment:

    Almost prioritized to low as there has been talk in the past of not even
    supporting frozen modules by default. The tool should either get fixed or
    removed depending on how people feel.

    ----------
    nosy: +brett.cannon
    priority: -> normal
    stage: -> needs patch
    type: compile error -> behavior


    Python tracker <report@bugs.python.org>
    <http://bugs.python.org/issue7517\>


    @marcs
    Copy link
    Mannequin

    marcs mannequin commented Apr 28, 2011

    I think the original issue has been fixed by http://hg.python.org/cpython/rev/fd20eba1f201.

    freeze.py is now broken due to PEP-3149 and ABIFLAGS, freeze-pep3149-compat.patch adds awareness of ABIFLAGS to Tools/freeze/freeze.py.

    For me "python3.3 freeze.py hello.py && make && ./hello" now works.

    @Trundle
    Copy link
    Mannequin

    Trundle mannequin commented Apr 28, 2011

    Note that I also opened issue bpo-11824 for the abiflags problem.

    @merwok
    Copy link
    Member

    merwok commented Apr 30, 2011

    Closing as duplicate, please use the other bug report to discuss.

    @merwok merwok closed this as completed Apr 30, 2011
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants