Source code for python nativ methods and classes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mohed

    Source code for python nativ methods and classes

    Hello.
    I am interrested in seeing the source code for all the nativ builtin
    methods and clases in python. Is there a webpage that lists them or is
    this done easier some other way.
    This is my first post so feel free to creticue, the more you do the
    faster i learn to post well.
    Mohed
  • Bard Aase

    #2
    Re: Source code for python nativ methods and classes

    On Mon, Sep 29, 2008 at 10:51 PM, Mohed <mohed@hotmail. comwrote:
    Hello.
    I am interrested in seeing the source code for all the nativ builtin
    methods and clases in python. Is there a webpage that lists them or is
    this done easier some other way.
    Check it out from svn?
    svn co http://svn.python.org/projects/python/trunk/

    or browse the code at http://svn.python.org/view/python/trunk/

    or did I misinterpret your question?


    --
    mvh base (Bård Aase)
    MSN: msn@elzapp.com

    :wq

    Comment

    • skip@pobox.com

      #3
      Re: Source code for python nativ methods and classes


      mohedI am interrested in seeing the source code for all the nativ
      mohedbuiltin methods and clases in python. Is there a webpage that
      mohedlists them or is this done easier some other way.

      Browse the source. You can download it then poke around using your favorite
      editor:



      or browse the source online:



      Skip

      Comment

      • Terry Reedy

        #4
        Re: Source code for python nativ methods and classes

        Bard Aase wrote:
        On Mon, Sep 29, 2008 at 10:51 PM, Mohed <mohed@hotmail. comwrote:
        >Hello.
        > I am interrested in seeing the source code for all the nativ builtin
        >methods and clases in python. Is there a webpage that lists them or is
        >this done easier some other way.
        >
        Check it out from svn?
        svn co http://svn.python.org/projects/python/trunk/
        >
        or browse the code at http://svn.python.org/view/python/trunk/
        This has the code for the upcoming 2.6 release. For other branches

        in particular py3k or release25-maint.

        Built-in classes are in the Objects sub-directory.
        (But there is a bit of math in the Python sub-dir).
        Built-in modules are in the Modules sub-directory.
        Python-coded modules are in the Lib sub-directory.
        I don't know where the built-in functions are.

        To see the current state of a file, click on the revision number in the
        second column.

        Clicking on the name in the first column give a rather strange change
        log that goes forward through each year as it goes back through the years.

        Terry Jan Reedy

        Comment

        Working...