[Q] C-api: string|int|... construction

Discussion in 'Python' started by Ames Andreas (MPA/DF), Apr 23, 2004.

  1. Hi all,

    is it possible (within a C extension) to create a python string (or
    integer or other type) from an existing C string *without* copying the
    string?


    TIA,

    andreas
    Ames Andreas (MPA/DF), Apr 23, 2004
    #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. Schnoffos
    Replies:
    2
    Views:
    1,195
    Martien Verbruggen
    Jun 27, 2003
  2. Hal Styli
    Replies:
    14
    Views:
    1,612
    Old Wolf
    Jan 20, 2004
  3. arun
    Replies:
    8
    Views:
    429
    Dave Thompson
    Jul 31, 2006
  4. Ook
    Replies:
    10
    Views:
    541
  5. aling
    Replies:
    8
    Views:
    931
    Jim Langston
    Oct 20, 2005
Loading...

Share This Page