GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add support for system.methodSignature() to XMLRPC Server · Issue #57613 · python/cpython

Add support for system.methodSignature() to XMLRPC Server #57613

New issue
Copy link
New issue
Copy link
Open
Open
Add support for system.methodSignature() to XMLRPC Server#57613
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

Description

@rhettinger
rhettinger
opened on Nov 14, 2011
Issue body actions
BPO 13404
Nosy @loewis, @rhettinger, @merwok, @florentx, @vajrasky
Files
  • add_method_signature_to_xmlrpc_server.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 = None
    created_at = <Date 2011-11-14.17:33:42.287>
    labels = ['type-feature', 'library']
    title = 'Add support for system.methodSignature() to XMLRPC Server'
    updated_at = <Date 2013-09-23.07:37:05.043>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2013-09-23.07:37:05.043>
    actor = 'vajrasky'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2011-11-14.17:33:42.287>
    creator = 'rhettinger'
    dependencies = []
    files = ['31847']
    hgrepos = []
    issue_num = 13404
    keywords = ['patch']
    message_count = 3.0
    messages = ['147623', '147641', '198315']
    nosy_count = 5.0
    nosy_names = ['loewis', 'rhettinger', 'eric.araujo', 'flox', 'vajrasky']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue13404'
    versions = ['Python 3.4']

    Activity

    1. rhettinger commented on Nov 14, 2011

      @rhettinger
      rhettinger
      on Nov 14, 2011
      ContributorAuthor
      More actions

      Currently, the server has a stub method that returns: 'signatures not supported'.

      Using the inspect module, it shouldn't be difficult to provide function/method signatures for over-the-wire introspection.

    2. rhettinger
      added
      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancementA feature request or enhancement
      on Nov 14, 2011
    3. loewis commented on Nov 14, 2011

      @loewis
      loewismannequin
      on Nov 14, 2011
      Mannequin
      More actions

      How do you infer the data types for the parameters?

    4. vajrasky commented on Sep 23, 2013

      @vajrasky
      vajraskymannequin
      on Sep 23, 2013
      Mannequin
      More actions

      How do you infer the data types for the parameters?

      I don't think we can, unless we force them to use function annotation. If they don't use that feature, then we say the signature is not supported.

      The problem is getting deeper if we are talking about return value type.

      if a == 1:
        return 'spam'
      else:
        return 3.14

      I therefore embrace the dynamic nature of Python with this patch.

    5. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.