[issue1732367] Document the constants in the socket module

2016-08-11 Thread Martin Panter
Martin Panter added the comment: Issue 12887 is open to add explanations of the SO_* constants -- dependencies: +Documenting all SO_* constants in socket module ___ Python tracker

[issue27506] make bytes/bytearray delete a keyword argument

2016-08-11 Thread Xiang Zhang
Xiang Zhang added the comment: So let's do a simple benchmark. # without patch ./python -m timeit -s 'string=bytes(range(256));table=bytes(range(255, -1, -1));delete=b"abcdefghijklmn"' 'string.translate(table, delete)' 100 loops, best of 3: 0.55 usec per loop # with patch ./python -m tim

[issue26081] Implement asyncio Future in C to improve performance

2016-08-11 Thread INADA Naoki
INADA Naoki added the comment: Implemented FutureIter -- Added file: http://bugs.python.org/file44081/futures.patch ___ Python tracker ___ ___

[issue23545] Turn on extra warnings on GCC

2016-08-11 Thread Antti Haapala
Antti Haapala added the comment: I don't think adding -Wno-type-limits is a good idea. The good question is how that can be happening, e.g. how PY_SSIZE_T_MAX divided by sizeof anything can be *more* than max(size_t)? E.g now that I stare at the code, *that* warning should be impossible if eve

[issue23545] Turn on extra warnings on GCC

2016-08-11 Thread Martin Panter
Martin Panter added the comment: I didn’t look too closely, but I did see that _ssl_locks_count is unsigned int. I was compiling for x86-64 Linux, where int is 32 bits and size_t is 64. So maybe GCC was optimizing the (size_t) cast away, and then rightfully warning that the largest unsigned in

[issue27574] Faster parsing keyword arguments

2016-08-11 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue27736] repeated Py_Initialize/PyRun_SimpleString/Py_Finalize segfaults

2016-08-11 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +ned.deily priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mail

[issue23545] Turn on extra warnings on GCC

2016-08-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems GCC is such smart, that can deduce that the maximal value of _ssl_locks_count is never larger than PY_SSIZE_T_MAX / sizeof(PyThread_type_lock). The other workaround is making _ssl_locks_count of type size_t instead of unsigned int, but I wouldn't do th

<    1   2