[issue34760] Regression in abc in combination with passing a function to issubclass

2018-09-21 Thread Christoph Glaubitz
Christoph Glaubitz added the comment: I just realized this while trying to use the openstack command line tools on python3.7. After reading issue33018 and the fact that even in python2 class B: pass def f(): pass issubclass(f, B) Traceback (most recent call last): File "&q

[issue34760] Regression in abc in combination with passing a function to issubclass

2018-09-21 Thread Christoph Glaubitz
Christoph Glaubitz added the comment: Maybe this is just how it should have been working the entire time, and osc is just holding it wrong. Since: class B: pass issubclass(f, B) Traceback (most recent call last): File "", line 1, in TypeError: issubclass() arg 1 must

[issue34760] Regression in abc in combination with issubclass

2018-09-21 Thread Christoph Glaubitz
New submission from Christoph Glaubitz : I'm not sure if this is a bug, or a known breaking change. I didn't find anything related in the changelog, except for a rewrite of abc. But hovever, I want this to be documented. In 3.7.0: import abc def f(): pass class A(metaclass=abc.ABCMeta

[issue13817] deadlock in subprocess while running several threads using Popen

2012-01-18 Thread Christoph Glaubitz
New submission from Christoph Glaubitz chris...@chrigl.de: Starting several threads, each just starting a subprocess.Popen and use communicate cause a deadlock in subprocess. (see attached file) I can only reproduce this with python 2.7.2, not with any other versions. 2.6.5, 2.6.7 and 3.2.2