python / cpython

The Python programming language
https://www.python.org
Other
63.42k stars 30.37k forks source link

MultiMethods with type annotations in 3000 #45345

Closed 7ca45d25-3a33-4ad5-9aff-46fefca5efe6 closed 14 years ago

7ca45d25-3a33-4ad5-9aff-46fefca5efe6 commented 17 years ago
BPO 1004
Nosy @gvanrossum, @pjeby, @benjaminp
Files
  • overloading.py
  • 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: ```python assignee = 'https://github.com/pjeby' closed_at = created_at = labels = ['type-feature', 'library'] title = 'MultiMethods with type annotations in 3000' updated_at = user = 'https://bugs.python.org/jasonpjason' ``` bugs.python.org fields: ```python activity = actor = 'benjamin.peterson' assignee = 'pje' closed = True closed_date = closer = 'benjamin.peterson' components = ['Library (Lib)'] creation = creator = 'jasonpjason' dependencies = [] files = ['8299'] hgrepos = [] issue_num = 1004 keywords = ['patch'] message_count = 5.0 messages = ['55224', '56728', '56729', '56730', '108479'] nosy_count = 4.0 nosy_names = ['gvanrossum', 'pje', 'jasonpjason', 'benjamin.peterson'] pr_nums = [] priority = 'low' resolution = 'postponed' stage = 'test needed' status = 'closed' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue1004' versions = ['Python 3.1'] ```

    7ca45d25-3a33-4ad5-9aff-46fefca5efe6 commented 17 years ago

    This is just a port of Guido's MultiMethod decorator to 3000-style annotations. PEP-3124 needs a lot more work and even its simplest features are difficult to implement.

    gvanrossum commented 17 years ago

    Phillip, do you have any interest left in moving PEP-3124 forward?

    afcdb1a8-bc5d-4852-a2a5-71b4ae6361ae commented 17 years ago

    Interested, yes. Have time for at the moment, no. :( Seems unlikely I'll have time before 2008Q1 at this point.

    gvanrossum commented 17 years ago

    OK, that's fine.

    benjaminp commented 14 years ago

    Let's close for now.