From d7b5230f0ebf600ccf9e039b3254bc038def800f Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Mon, 28 Sep 2020 10:06:06 -0400 Subject: [PATCH] Explain why __remote_name__ is a native string. --- src/allmydata/interfaces.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index 5c47bf663..49dcf7646 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -2,6 +2,8 @@ Interfaces for Tahoe-LAFS. Ported to Python 3. + +Note that for RemoteInterfaces, the __remote_name__ needs to be a native string because of https://github.com/warner/foolscap/blob/43f4485a42c9c28e2c79d655b3a9e24d4e6360ca/src/foolscap/remoteinterface.py#L67 """ from __future__ import absolute_import from __future__ import division