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

Simplify the Integral ABC #47294

Closed
rhettinger opened this issue Jun 5, 2008 · 4 comments
Closed

Simplify the Integral ABC #47294

rhettinger opened this issue Jun 5, 2008 · 4 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@rhettinger
Copy link
Contributor

BPO 3044
Nosy @gvanrossum, @rhettinger
Files
  • numbers.diff: Diff for numbers.py
  • pep.diff: Diff for PEP 3141
  • 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 = 'https://github.com/gvanrossum'
    closed_at = <Date 2008-06-05.23:06:17.426>
    created_at = <Date 2008-06-05.22:33:35.006>
    labels = ['library']
    title = 'Simplify the Integral ABC'
    updated_at = <Date 2008-06-05.23:21:56.207>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2008-06-05.23:21:56.207>
    actor = 'gvanrossum'
    assignee = 'gvanrossum'
    closed = True
    closed_date = <Date 2008-06-05.23:06:17.426>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2008-06-05.22:33:35.006>
    creator = 'rhettinger'
    dependencies = []
    files = ['10528', '10529']
    hgrepos = []
    issue_num = 3044
    keywords = ['patch']
    message_count = 4.0
    messages = ['67734', '67735', '67738', '67740']
    nosy_count = 2.0
    nosy_names = ['gvanrossum', 'rhettinger']
    pr_nums = []
    priority = 'normal'
    resolution = 'rejected'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue3044'
    versions = ['Python 2.6', 'Python 3.0']

    @rhettinger
    Copy link
    Contributor Author

    See attached patches.

    The PEP is also updated for Exact/Inexact which were removed a good
    while ago.

    @rhettinger rhettinger added the stdlib Python modules in the Lib dir label Jun 5, 2008
    @gvanrossum
    Copy link
    Member

    Looks like you accidentally removed 2-arg __pow__ from the Complex ABC.
    This should stay of course.

    Also, please add the binary operators back in a new ABC called Binary
    deriving from Integral.

    @rhettinger
    Copy link
    Contributor Author

    Apologies. Didn't know you wanted to go that direction. Will leave
    this for someone who wants to expand numbers.py rather than simplifying it.

    @gvanrossum
    Copy link
    Member

    Excuuuuuse me? Have you actually been following the thread?

    @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
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants