Re: [Python-Dev] Clarify the compatibility policy of lib2to3.

2017-11-17 Thread Guido van Rossum
On Fri, Nov 17, 2017 at 8:56 AM, Dong-hee Na wrote: > Few days ago, I submitted a patch(https://github.com/ > python/cpython/pull/4417) which updates2to3 converts > `operator.isCallable(obj)` to `isinstance(obj, collections.abc.Callable)`. > > This was Serhiy Storchaka’s idea(https://bugs.python.

[Python-Dev] Clarify the compatibility policy of lib2to3.

2017-11-17 Thread Dong-hee Na
Hi, Few days ago, I submitted a patch(https://github.com/python/cpython/pull/4417) which updates2to3 converts `operator.isCallable(obj)` to `isinstance(obj, collections.abc.Callable)`. This was Serhiy Storchaka’s idea(https://bugs.python.org/issue32046) and I agree with his idea since `callab