msl.examples.loadlib.echo64 module

An example of a 64-bit echo client.

Example of a client that can be executed by a 64-bit Python interpreter that sends requests to the corresponding echo32 module which is executed by a 32-bit Python interpreter.

Echo32 is the 32-bit server class and Echo64 is the 64-bit client class. These echo classes do not actually communicate with a shared library. The point of these echo classes is to show that a Python data type in a 64-bit process appears as the same data type in the 32-bit process and vice versa.

class msl.examples.loadlib.echo64.Echo64

Bases: Client64

Example of a client class that illustrates that Python data types are preserved when they are sent to the Echo32 server and back again.

send_data(*args, **kwargs)

Send a request to execute the received_data() method on the 32-bit server.

Parameters:
Returns:

The args and kwargs that were returned from received_data().

Return type:

tuple[tuple[Any, …], dict[Any, Any]]