Sergey Shepelev

Results 291 comments of Sergey Shepelev

@jwg4 but AFAIK Python 2.7.12 was unaffected by this problem in first place. Could you post reproduction history from clean virtualenv?

@arthurzam thank you very much. I think with that patch, following code would not touch any locks because it would expect `isinstance(obj, rlock_type)` to be both True and False. So...

Thank you very much for contribution, @neilrahilly The `atfork` module breaks `os.fork` name and docstring, but that's minor, I will fix that. Any reason to not use existing `eventlet/green/os.py` ?...

It would seem natural to have all patched versions of standard functions in one place. The only difference, that in this case you force patching of `os.fork`. Thanks for explanation,...

I'd put `register_child_callback` in `green.os` as well, just to keep related things together.

Preliminary research based on 36000 robots.txt from random web sites of Alexa top 1M produced following unsatisfying results: 11.2% of robots.txt-s allow all, 1.5% disallow all. Few observations (e.g. 20%...

Sorry for bad news and even late at that. Iterables don't sound better (to me) than dict or object attributes for a built-in special handling. I think proper solution is...

Right, `spawn_n()` looks inconsistent in big picture. I vaguely recall this decision, separation to greenlets and greenthreads was intentional, unsure if the distinction is still useful. `spawn_n` is intentionally lacking...

@melwitt why no, `current_thread` works from anywhere and returns threading.Thread compatible object.

@melwitt I understand the inconsistency, it's a shame. I don't have a fast solution though. Sorry. This would be a very weird workaround crutch: ```python import eventlet eventlet.spawn_n = eventlet.spawn...