From a4da6c3dbeb73bdf6c1d5d1154c6a2a6bcb2b7f6 Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Mon, 21 Sep 2020 10:35:56 -0400 Subject: [PATCH] Clarify comment. --- src/allmydata/uri.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/allmydata/uri.py b/src/allmydata/uri.py index bad0dd9df..2c367cafe 100644 --- a/src/allmydata/uri.py +++ b/src/allmydata/uri.py @@ -13,7 +13,8 @@ from __future__ import unicode_literals from future.utils import PY2 if PY2: - # Don't import bytes or str, to prevent leaks. + # Don't import bytes or str, to prevent future's newbytes leaking and + # breaking code that only expects normal bytes. from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, dict, list, object, range, max, min # noqa: F401 str = unicode