[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63818: 27.1; unbound local variables break python-util-clone-local-v
From: |
Stefan Monnier |
Subject: |
bug#63818: 27.1; unbound local variables break python-util-clone-local-variables |
Date: |
Thu, 01 Jun 2023 09:06:45 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> 5205c5205,5206
> < (and (symbolp (car pair))
> ---
>> (and (listp pair)
>> (symbolp (car pair))
Good catch, thanks. We usually prefer `consp` over `listp` since
there's no reason to accept `nil` here (tho it would be filtered out
later anyway), but other than that it'd exactly the patch I'd use.
Stefan