how does python use its .lib files?

Discussion in 'Python' started by George Khoury, Aug 29, 2003.

  1. I am just starting to code some c extensions, and have been experimenting
    with both the Borland and MSVC compilers. Everything works, but I have a
    basic question. When using Borland, I have to make an OMF version of
    Python23.lib. Does this mean I now have two copies of the python
    interpreter? Or maybe I should ask another question. Suppose I have imported
    two extension modules compiled with MS and Borland. If they both call a
    python function (say, PyArg_ParseTuple), they are linking to two different
    libraries, but the same function, right? How does that work?

    I realize this is not a python specific question, and really a question
    about the use of libraries in general. Any explanations or links would be
    appreciated.

    Thanks,
    George Khoury
     
    George Khoury, Aug 29, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. gino
    Replies:
    3
    Views:
    4,064
    Mike Smith
    Jul 11, 2004
  2. est
    Replies:
    1
    Views:
    659
    Diez B. Roggisch
    Feb 16, 2008
  3. thunk
    Replies:
    1
    Views:
    359
    thunk
    Mar 30, 2010
  4. thunk
    Replies:
    0
    Views:
    536
    thunk
    Apr 1, 2010
  5. thunk
    Replies:
    14
    Views:
    659
    thunk
    Apr 3, 2010
Loading...

Share This Page