Steven D'Aprano wrote:
On Mon, 08 Feb 2010 02:51:05 +0100, Alf P. Steinbach wrote:

Python passes pointers by value, just as e.g. Java does.

How do I get a pointer in pure Python code (no ctypes)? I tried both Pascal and C syntax (^x and *x), but both give syntax errors.

In Pascal it's x^.

For that matter, how do I get a pointer in Java code?

If Python doesn't have pointers, then why are you talking about Python passing pointers? It's a vacuous truth, like saying that Python passes dinosaurs by name.


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to