消息 [137711]
On Tue 31 May 2011, Brian May wrote:
> Also had a half-hearted attempt at porting to Python 2.7, but
> didn't get past compiling, the code requires BEGIN_SELECT_LOOP
> and END_SELECT_LOOP macros that aren't defined in Python 2.7 -
> I tried copying the definitions from Python 3.3, but that
> didn't work either. Not sure if it is worth the effort if
> Python 2.7 is closed to new features.
Well, if it's any use to anyone, here is a backport to 2.x (the
*_SELECT_LOOP macros aren't important, and it's otherwise
straightforward).
Also attaching a new 3.x patch which fixes some deprecated markup
in the docs and adds the send/recvmsg() methods to
test_wrapped_unconnected() in test_ssl.py. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-06-05 19:55:47 | baikie | 修改 | recipients:
+ baikie, exarkun, pitrou, therve, vstinner, jackdied, giampaolo.rodola, synapse, Andrew.Grover, wiml, neologix, rosslagerwall, brian |
| 2011-06-05 19:55:45 | baikie | 链接 | issue6560 messages |
| 2011-06-05 19:55:41 | baikie | 创建 | |
|