Hi I have little knowledge of some Python (3.2) internals on objects' internal structure handling.
Suppose that I have any PyLongObject object (even internal / shared ones) and that - I need to change some or all of its internal values (size, sign, digits) in a "critical section"; - the critical section is C code only; - no CPython APIs will be called (all work is on local vars and object's internal values); - the object internal structure is completely restored before exiting from the critical section. Is it thread / interpreter safe or something dirty can happen? Cesare
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com