[issue23485] PEP 475: handle EINTR in the select and selectors module

2015-04-20 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[issue22117] Rewrite pytime.h to work on nanoseconds

2015-04-20 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[issue24014] Second pass of PyCode_Optimize

2015-04-20 Thread Joe Jevnik
New submission from Joe Jevnik: There are a lot of optimizations that are being missed by only running a single pass of PyCode_Optimize. I originally started by trying to optimize for De Morgan's Laws in if tests; however, I realized that the issue actually went away if you run the optimizer t

[issue11344] Add os.path.splitpath(path) function

2015-04-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I thought that splitpath() could be used in implementations of realpath(), relpath(), commonpath(), and in user code. But looks as realpath(), relpath() and commonpath() should use specialized inlined versions for efficiency, and user code can use more highl

[issue23990] Callable builtin doesn't respect descriptors

2015-04-20 Thread Ionel Cristian Mărieș
Ionel Cristian Mărieș added the comment: On Mon, Apr 20, 2015 at 7:02 AM, Raymond Hettinger wrote: > AFAICT, there isn't a real problem here and the API for better-or-worse > has proven to be usable in practice (the callable() API has been around > practically forever and the descriptor protoco

[issue23990] Callable builtin doesn't respect descriptors

2015-04-20 Thread Ionel Cristian Mărieș
Ionel Cristian Mărieș added the comment: On Mon, Apr 20, 2015 at 4:50 AM, Eric Snow wrote: > We should > simply leave callable alone (and consistent with the other helpers > that inspect the "special" *capability* of objects). > ​Which are the other helpers?​ Thanks, -- Ionel Cristian Mărieș,

[issue23728] binascii.crc_hqx() can return negative integer

2015-04-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue23842] SystemError: ../Objects/longobject.c:998: bad argument to internal function

2015-04-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue12712] weave build_tools library identification

2015-04-20 Thread Tim Golden
Tim Golden added the comment: I can't see anything here which is clearly a Python bug. If the OP or anyone else cares to come back (after more than 4 years!) with a clearly-reproducible problem I'm happy to revisit. I apologise for "waking up" this issue after so long; we really should have c

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-04-20 Thread Robert Collins
Robert Collins added the comment: Ok, so here's whats happening: the default behaviour is to do discovery of '.', which bypasses the namespace support code. Running with tests as the first parameter works because it doesn't require the directory being directly scanned to be a package. Equally

[issue23908] Check path arguments of os functions for null character

2015-04-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset cdadde8396a4 by Serhiy Storchaka in branch '3.4': Issue #23908: os functions now reject paths with embedded null character https://hg.python.org/cpython/rev/cdadde8396a4 New changeset bdf13c7dcf7f by Serhiy Storchaka in branch 'default': Issue #2390

[issue23882] unittest discovery and namespaced packages

2015-04-20 Thread Alex Shkop
Alex Shkop added the comment: This script creates following directory structure issue_23882\ tests\ test_fail.py If you run from issue_23882 directory python -m unittest it doesn't find any tests. If there is __init__.py inside tests folder, same command finds test_fail.py and runs it.

<    1   2