Alexandros Tzannes

Results 6 issues of Alexandros Tzannes

Fixes #4391 # Problem This code was failing to verify the SSL: ```python def test_session_verify_not_stateful(self): insecure_url = "https://expired.badssl.com/" s = requests.Session() assert s.verify is True with pytest.raises(Exception): s.get(insecure_url, verify=True) s.get(insecure_url,...

I am wondering if this is by design or because it hasn't been useful up till now. My use-case is implementing a middleware type of cache. The cache subscribes to...

``` from typed_python import NamedTuple Nt1 = NamedTuple(x=int) Nt2 = NamedTuple(x=int, y=str) i1 = Nt1() i11 = Nt1(i1) # this works, as it should i1 == i11 i1 is i11...

Currently, one can access the name of an alternative with `alt.Name` which is not very pythonic. It is probably better to switch to `alt.__name__` instead. Besides not being pythonic, using...

Currently, if all concrete alternatives share a number of fields, these have to be repeated explicitly. It would be better to have a mechanism to declare common alternative fields, for...

Spawn a daemon thread for each connection. # Testing Ran `sftpserver` locally and connected from two separate terminals, which I could not do prior to this change. `ls` worked in...