diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-12-24 15:19:40 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-12-24 15:19:40 (GMT) |
commit | 27cae34bd0230cb684f58ff45fb00a2ca410eba2 (patch) | |
tree | 9dedee09ad843d3a66954026ff9421acfcd52a3e /Lib/multiprocessing | |
parent | ca8e7ec21676e4e760fef1646b758af040935621 (diff) | |
download | cpython-27cae34bd0230cb684f58ff45fb00a2ca410eba2.zip cpython-27cae34bd0230cb684f58ff45fb00a2ca410eba2.tar.gz cpython-27cae34bd0230cb684f58ff45fb00a2ca410eba2.tar.bz2 |
allow Process name to be unicode #7571
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r-- | Lib/multiprocessing/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/process.py b/Lib/multiprocessing/process.py index 0b04e36..56719d9 100644 --- a/Lib/multiprocessing/process.py +++ b/Lib/multiprocessing/process.py @@ -138,7 +138,7 @@ class Process(object): @name.setter def name(self, name): - assert isinstance(name, str), 'name must be a string' + assert isinstance(name, basestring), 'name must be a string' self._name = name @property |