mirror of https://github.com/python/cpython
allow Process name to be unicode #7571
This commit is contained in:
parent
ca8e7ec216
commit
27cae34bd0
|
@ -138,7 +138,7 @@ class Process(object):
|
||||||
|
|
||||||
@name.setter
|
@name.setter
|
||||||
def name(self, name):
|
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
|
self._name = name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue