diff --git a/Lib/plat-mac/aetools.py b/Lib/plat-mac/aetools.py index d1812341a81..078b1834d5a 100644 --- a/Lib/plat-mac/aetools.py +++ b/Lib/plat-mac/aetools.py @@ -21,7 +21,6 @@ """ -from types import * from Carbon import AE from Carbon import Evt from Carbon import AppleEvents @@ -167,11 +166,11 @@ def __init__(self, signature=None, start=0, timeout=0): self.target_signature = None if signature is None: signature = self._signature - if type(signature) == AEDescType: + if isinstance(signature, AEDescType): self.target = signature elif hasattr(signature, '__aepack__'): self.target = signature.__aepack__() - elif type(signature) == StringType and len(signature) == 4: + elif isinstance(signature, str) and len(signature) == 4: self.target = AE.AECreateDesc(AppleEvents.typeApplSignature, signature) self.target_signature = signature else: diff --git a/Misc/ACKS b/Misc/ACKS index 92606e32f3c..a86f92e7fc0 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -524,6 +524,7 @@ Steve Purcell Brian Quinlan Anders Qvist Burton Radons +Antti Rasinen Eric Raymond Edward K. Ream Marc Recht