C API: Change immutable objects? :-o
Frank Sonnenburg
sonnenbu at informatik.uni-bonn.de
Mon Aug 5 07:48:50 EDT 2002
More information about the Python-list mailing list
Mon Aug 5 07:48:50 EDT 2002
- Previous message (by thread): C API: Change immutable objects? :-o
- Next message (by thread): lexing nested parenthesis
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks to all of you for your helpful hints! Especially to the - array module and the - reference count, will check both "techniques". I tried with integers and the result was - as expected - fatal: >>> i = 5 >>> newmodule.change_int(i) >>> i 42 >>> 42 == 5 1 ---even--- >>> 42 is 5 1 Sincerely, Frank Sonnenburg
- Previous message (by thread): C API: Change immutable objects? :-o
- Next message (by thread): lexing nested parenthesis
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list