Skip to content

Python 3.2 name and parameter handling:  #91

@rocky

Description

@rocky

On python 3.2.6, this

# From python 3.2 configparser.py
def __init__(self, defaults=None, dict_type=_default_dict,
             allow_no_value=False, *, delimiters=('=', ':'),
             comment_prefixes=('#', ';'), inline_comment_prefixes=None,
             strict=True, empty_lines_in_values=True,
             default_section=DEFAULTSECT,
             interpolation=_UNSET):
    return 

gives:

def __init__(self = None, defaults = None, dict_type = None, allow_no_value = None):
    pass

At one point I went though all of the test case from that repo and there were/are a number of other failures, including some SEGV's. If it is of interest I can open a ticket for each one.

BTW great work. I wish uncompyle6 were as simple and tight and handled its control structures as well as pycdc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions