Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1699

Python binding simplification/rename

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • all
    • nonblocking
    • bindings_swig_python
    • None

    Description

      The Python bindings currently create a "double namespace" for the subversion
      libraries.  ex:
      import svn.client
      
      svn.client.svn_client_status()
      
      It would be much nicer if the bindings were renamed to work like this:
      import svn.client
      
      svn.client.status()
      
      This saves quite a bit of typing with their inherent risk of mispellings while
      using python modules/objects to handle the namespace issues rather than a naming
      carryover from the C world.
      

      Original issue reported by abadger1999

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: