[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8694 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34661> ___ _

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : BusyBox has a unzip command, but it doesn't support -t. == FAIL: test_unzip_zipfile (test.test_shutil.TestS

[issue1621] Do not assume signed integer overflow behavior

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8692, 8693 ___ Python tracker <https://bugs.python.org/issue1621> ___ ___ Python-bugs-list mailing list Unsub

[issue1621] Do not assume signed integer overflow behavior

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8692 ___ Python tracker <https://bugs.python.org/issue1621> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 2184fe5ba48a58cb51be144230622b84b372644c by Benjamin Peterson in branch '3.6': [3.6] bpo-34652: Remove lchmod from the big func checking block. (GH-9250) https://github.com/python/cpython/commit/2184fe5ba48a58cb51be144230622b

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8681 ___ Python tracker <https://bugs.python.org/issue34652> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ed709d5699716bf7237856dc20aba321e2dfff6d by Benjamin Peterson in branch 'master': bpo-34652: Remove lchmod from the big func checking block. (GH-9247) https://github.com/python/cpython/commit/ed709d5699716bf7237856dc20aba3

[issue34641] Curiosity: f((a)=1) is not a syntax error -- why?

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c9a71dd223c4ad200a97aa320aef6bd3d45f8897 by Benjamin Peterson in branch 'master': closes bpo-34641: Further restrict the LHS of keyword argument function call syntax. (GH-9212) https://github.com/python/cpyt

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8678 ___ Python tracker <https://bugs.python.org/issue34652> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Wed, Sep 12, 2018, at 16:03, Joseph Sible wrote: > 2. Most of the time, counting on receiving an EINTR results in race > conditions. Our code seems to be affected by this too. Even on glibc, a > signal at just the "right" time cou

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 69e96910153219b0b15a18323b917bd74336d229 by Benjamin Peterson in branch '2.7': [2.7] closes bpo-34652: Always disable lchmod on Linux. (GH-9242) https://github.com/python/cpython/commit/69e96910153219b0b15a18323b917b

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e1a34ceb541ef87e03bb428630097dacc9c658e5 by Benjamin Peterson in branch 'master': closes bpo-34654: Tolerate + at the beginning of large years. (GH-9238) https://github.com/python/cpython/commit/e1a34ceb541ef87e03bb428630097d

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e105e551dbf072d773aaa1fd6f8cbda218c273f0 by Benjamin Peterson in branch '3.6': [3.6] closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9237) https://github.com/python/cpyt

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0aef909d630ff40614cde0c58796a8bdf66c67eb by Benjamin Peterson in branch '3.7': [3.7] closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9236) https://github.com/python/cpyt

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8673 ___ Python tracker <https://bugs.python.org/issue34652> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8672 ___ Python tracker <https://bugs.python.org/issue34652> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 40caa05fa4d1810a1a6bfc34e0ec930c351089b7 by Benjamin Peterson in branch 'master': closes bpo-34652: Always disable lchmod on Linux. (GH-9234) https://github.com/python/cpython/commit/40caa05fa4d1810a1a6bfc34e0ec93

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8669 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34654> ___ _

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread Benjamin Peterson
New submission from Benjamin Peterson : POSIX allows the '%Y' format in strftime to start with a '+' sign for years with more than 4 digits. test_time is not tolerant of that, which leads to failures

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Reimplementing locks with eventfd can be another issue. Such a change can only land in a new Python version, though. We'll just have to consider musl unsupported for interrupting locks in our current maintenance releases as I have done. How likely

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8668 ___ Python tracker <https://bugs.python.org/issue34650> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8667 ___ Python tracker <https://bugs.python.org/issue34650> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c7042224b8a67748f125c22836862483f81a87a6 by Benjamin Peterson in branch 'master': closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9228) https://github.com/python/cpyt

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8665 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34652> ___ _

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
New submission from Benjamin Peterson : You can't modify the mode of symbolic links on Linux. Thus, lchmod is a useless function. libc may, however, define a lchmod stub that always returns an error. autoconf has a check that detects the dummy stub for glibc, but it detects lchmod as wo

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8659 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34650> ___ _

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
New submission from Benjamin Peterson : ERROR: test_get_and_set_scheduler_and_param (test.test_posix.PosixTester) -- Traceback (most recent call last): File "/buildbot/buildarea/3.x.ware-alpine/build/Lib/test/test_pos

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 5b10d5111d7a855297654af9045f8907b7d3dd08 by Benjamin Peterson in branch 'master': closes bpo-34004: Skip lock interruption tests on musl. (GH-9224) https://github.com/python/cpython/commit/5b10d5111d7a855297654af9045f89

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8655 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34004> ___ _

[issue34647] print sys.thread_info in regrtest header

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Actually, this is already in "make pythoninfo", which is enough, I think. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker <h

[issue34647] print sys.thread_info in regrtest header

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8652 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34647> ___ _

[issue34647] print sys.thread_info in regrtest header

2018-09-12 Thread Benjamin Peterson
New submission from Benjamin Peterson : It might be useful to see the thread implementation info in the header. -- components: Tests messages: 325170 nosy: benjamin.peterson priority: normal severity: normal status: open title: print sys.thread_info in regrtest header versions: Python

[issue34646] remove PyAPI_* from function definitions

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e5024517811ee990b770fca0ba7058742d00e032 by Benjamin Peterson in branch 'master': closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) https://github.com/python/cpython/commit/e5024517811ee990b770fca0ba7058

[issue34646] remove PyAPI_* from function definitions

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8650 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34646> ___ _

[issue34646] remove PyAPI_* from function definitions

2018-09-12 Thread Benjamin Peterson
New submission from Benjamin Peterson : It suffices to have PyAPI_FUNC and PyAPI_DATA on the forward declaration in a header file. We should remove the usages we have in .c files. -- components: Interpreter Core messages: 325147 nosy: benjamin.peterson priority: normal severity

[issue34640] remove the configure check TANH_PRESERVES_ZERO_SIGN

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 865c17fb28f8c3275fd94da6ee4ac51472ec874a by Benjamin Peterson in branch 'master': closes bpo-34640: Remove the TANH_PRESERVES_ZERO_SIGN configure check. (GH-9206) https://github.com/python/cpyt

[issue34641] Curiosity: f((a)=1) is not a syntax error -- why?

2018-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8644 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34641> ___ _

[issue25041] document AF_PACKET socket address format

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset a00de685c11cf8bdca1f8efa7aab80552d80ddfb by Benjamin Peterson in branch '3.6': [3.6] closes bpo-25041: Document AF_PACKET socket address format. (GH-9209) https://github.com/python/cpython/commit/a00de685c11cf8bdca1f8efa7aab80

[issue25041] document AF_PACKET socket address format

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset cadb66e173ded86ebc85b54889db48f66e7af592 by Benjamin Peterson in branch '3.7': [3.7] closes bpo-25041: Document AF_PACKET socket address format. (GH-9207) https://github.com/python/cpython/commit/cadb66e173ded86ebc85b54889db48

[issue34641] Curiosity: f((a)=1) is not a syntax error -- why?

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: I expect you'd have to make the check of test nodes in ast.c stricter. Here's a slightly gross implementation of that: diff --git a/Python/ast.c b/Python/ast.c index 94962e00c7..b7cebf4777 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2815,1

[issue25041] document AF_PACKET socket address format

2018-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8643 ___ Python tracker <https://bugs.python.org/issue25041> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25041] document AF_PACKET socket address format

2018-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8641 ___ Python tracker <https://bugs.python.org/issue25041> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25041] document AF_PACKET socket address format

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 731ff68eeef58babdf2b32dc9a73b141760c2be9 by Benjamin Peterson (Cheryl Sabella) in branch 'master': closes bpo-25041: Document AF_PACKET socket address format. (GH-4092) https://github.com/python/cpyt

[issue34640] remove the configure check TANH_PRESERVES_ZERO_SIGN

2018-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8640 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34640> ___ _

[issue34640] remove the configure check TANH_PRESERVES_ZERO_SIGN

2018-09-11 Thread Benjamin Peterson
New submission from Benjamin Peterson : configure.ac currently has to check for a bug in FreeBSD 6.2: # On FreeBSD 6.2, it appears that tanh(-0.) returns 0. instead of # -0. on some architectures. AC_MSG_CHECKING(whether tanh preserves the sign of zero) ... FreeBSD 6.2 is nearing 12 years old

[issue31903] `_scproxy` calls SystemConfiguration functions in a way that can cause deadlocks

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 4859ba0d2ce4506fddc3f55f90f8dce031b3804f by Benjamin Peterson (Max Bélanger) in branch 'master': closes bpo-31903: Release the GIL when calling into SystemConfiguration (GH-4178) https://github.com/python/cpyt

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d919c60e6936f853ad15040017f2c0bce0f027f8 by Benjamin Peterson (Chih-Hsuan Yen) in branch '2.7': [2.7] bpo-32502: Discard 64-bit (and other invalid) hardware addresses (GH-9125) https://github.com/python/cpyt

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 253279c616d4f34287c5749df15e20eb2eb988d6 by Benjamin Peterson in branch '2.7': [2.7] closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-9179) https://github.com/python/cpyt

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ccbbdd0a1e00ecad6f0005438dd6ff6d84fd9ceb by Benjamin Peterson in branch '3.6': [3.6] closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-9178) https://github.com/python/cpyt

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8618 ___ Python tracker <https://bugs.python.org/issue31608> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31636] test_locale failure on OpenBSD

2018-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8617 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31636> ___ _

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 24bd50bdcc97d65130c07d6cd26085fd06c3e972 by Benjamin Peterson (Oren Milman) in branch 'master': closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-3788) https://github.com/pyth

[issue31704] HTTP check lowercase response from proxy

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: The spec, https://tools.ietf.org/html/rfc7230#section-2.6, is quite clear that the HTTP version is case sensitive. In practice, not every client is lax. Firefox does a case-insensitive comparison, but libcurl requires uppercase. That makes me think we

[issue29832] Don't refer to getsockaddrarg in error messages

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 735171e33486131d93865cf851c0c3d63fffd364 by Benjamin Peterson (Oren Milman) in branch 'master': closes bpo-29832: Remove "getsockaddrarg" from error messages. (GH-3163) https://github.com/p

[issue32490] subprocess: duplicate filename in exception message

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 73870bfeb9cf350d84ee88bd25430c104b3c6191 by Benjamin Peterson (Zackery Spytz) in branch 'master': closes bpo-32490: Fix filename duplication in subprocess exception message. (GH-9163) https://github.com/python/cpyt

[issue32490] subprocess: duplicate filename in exception message

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: The builtin exception is better now, so I don't see a problem with reverting the original patch. -- ___ Python tracker <https://bugs.python.org/is

[issue33883] doc Mention mypy, pyrex, pytype and PyAnnotate in FAQ

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset a37825418649873a0fa971dc7e5e6d142c124574 by Benjamin Peterson (Andrés Delfino) in branch 'master': closes bpo-33883: Mention type checkers in the FAQ. (GH-7760) https://github.com/python/cpython/commit/a37825418649873a0fa971dc7e5e6d

[issue34625] update to expat 2.2.6

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b2260e59ff1eaf20de4738099005ddf507b7b27d by Benjamin Peterson (Miss Islington (bot)) in branch '3.6': bpo-34625: Update vendorized expat version to 2.2.6. (GH-9158) https://github.com/python/cpyt

[issue34625] update to expat 2.2.6

2018-09-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34625] update to expat 2.2.6

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 5033aa77aacaa5505636f150e8d54baac5bdca9c by Benjamin Peterson in branch 'master': bpo-34625: Update vendorized expat version to 2.2.6. (GH-9150) https://github.com/python/cpython/commit/5033aa77aacaa5505636f150e8d54b

[issue34625] update to expat 2.2.6

2018-09-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8597 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34625> ___ _

[issue34625] update to expat 2.2.6

2018-09-10 Thread Benjamin Peterson
New submission from Benjamin Peterson : libexpat 2.2.6 has been released. We should update our vendorized version. -- components: XML messages: 324967 nosy: benjamin.peterson priority: normal severity: normal status: open title: update to expat 2.2.6 versions: Python 2.7, Python 3.6

[issue34623] _elementtree.c doesn't call XML_SetHashSalt()

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Note we compile expat with -DXML_POOR_ENTROPY on the assumption that Python always initializes the entropy itself. -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue34

[issue34525] smtplib's authobject return value wrongly documented

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 78deb7f33227972987722bc3fed5bcb45fae869e by Benjamin Peterson (Sebastian Rittau) in branch 'master': closes bpo-34525: Fix smtplib's authobject() documentation (GH-8965) https://github.com/python

[issue23354] Loading 2 GiLOC file which raises exception causes wrong traceback

2018-09-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: works for me -> status: closed -> open ___ Python tracker <https://bugs.python.org/issue23354> ___ ___ Pyth

[issue23354] Loading 2 GiLOC file which raises exception causes wrong traceback

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: We would need to know what test.py was actually doing to fix this bug. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34068] traceback.clear_frames(): Objects/typeobject.c:3086: _PyType_Lookup: Assertion `!PyErr_Occurred()' failed.

2018-09-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker <https://bugs.python.org/issue34068> ___ ___ Python-bugs-

[issue24696] Don't use None as sentinel for traceback

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: 3.4 is out of bugfix support. -- nosy: +benjamin.peterson resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34598] How to fix? Error in Kali linux python 2.7 - Collecting pip From cffi callback : Traceback (most recent call last): File "/usr/local/lib/pytho

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: This seems likely to be a bug in the Kali distribution. -- nosy: +benjamin.peterson resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34588] traceback formatting can drop a frame

2018-09-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34588] traceback formatting can drop a frame

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d545869d084e70d4838310e79b52a25a72a1ca56 by Benjamin Peterson in branch 'master': bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077) https://github.com/python/cpython/commit/d545869d084e70d4838310e79b52a2

[issue34588] traceback formatting can drop a frame

2018-09-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: It actually does save space because each traceback entry is usually two lines (frame id and source snippet). I don't really have an opinion about what should happen be printed on the boundary cases. My current PR seems like a strict improvement t

[issue34608] gc.get_referrers behavior change 3.6 to 3.7

2018-09-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Likely fallout from 5a625d0aa6a6d9ec6574ee8344b41d63dcb9897e. get_referrers() doesn't really guarantee anything. It's more of a clever hack based on however the Python GC works at the moment. So, this it probably WONTFIX. -

[issue34594] Some tests use hardcoded errno values

2018-09-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 18d7dff1bb6f5ca7060b0b2e2a2e74493619178f by Benjamin Peterson (Zackery Spytz) in branch '3.7': [3.7] bpo-34594: Don't hardcode errno values in the tests. (GH-9094) https://github.com/python

[issue34594] Some tests use hardcoded errno values

2018-09-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 9eeecfd5d03cfd6d5cef71de31eed7f65f0e658b by Benjamin Peterson (Zackery Spytz) in branch '3.6': [3.6] bpo-34594: Don't hardcode errno values in the tests. (GH-9096) https://github.com/python

[issue34599] improve performance of _Py_bytes_capitalize()

2018-09-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 593bb30e82eded7f2ec02f7d1aa49742e6962113 by Benjamin Peterson (Sergey Fedoseev) in branch 'master': closes bpo-34599: Improve performance of _Py_bytes_capitalize(). (GH-9083) https://github.com/python/cpyt

[issue34594] Some tests use hardcoded errno values

2018-09-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b03c2c51909e3b5b5966d86a2829b5ddf2d496aa by Benjamin Peterson (Zackery Spytz) in branch 'master': closes bpo-34594: Don't hardcode errno values in the tests. (GH-9076) https://github.com/python

[issue34588] traceback formatting can drop a frame

2018-09-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8535 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34588> ___ _

[issue34588] traceback formatting can drop a frame

2018-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Further investigation reveals this is a general off-by-one error with the recursive traceback pruning feature. -- components: +Interpreter Core title: traceback module can drop a frame -> traceback formatting can drop a fr

[issue34593] Missing inttypes.h

2018-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Python 3.6 requires a C compiler that supports C99. So, not MSVC 2012. -- nosy: +benjamin.peterson resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <https://bug

[issue34588] traceback module can drop a frame

2018-09-05 Thread Benjamin Peterson
New submission from Benjamin Peterson : Consider the following script: import traceback def fill_stack(depth): if depth <= 1: return traceback.format_stack() else: return fill_stack(depth - 1) assert fill_stack(4) != fill_stack(5) On the Python 3 versions I tes

[issue34581] Windows : use of __pragma msvc extension without ifdef

2018-09-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 874809ea389e6434787e773a6054a08e0b81f734 by Benjamin Peterson (Erik Janssens) in branch 'master': closes bpo-34581 : Conditionalize use of __pragma in Modules/socketmodule.c. (GH-9067) https://github.com/python/cpyt

[issue34555] AF_VSOCK not unset because of wrong nesting

2018-09-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 2d7102e726e973ab2d307aa9748c7ec433677877 by Benjamin Peterson (Thomas Herzog) in branch 'master': closes bpo-34555: Fix incorrectly nested test for HAVE_LINUX_VM_SOCKETS_H (GH-9016) https://github.com/python/cpyt

[issue34495] excess_args asserts if args == nullptr

2018-08-29 Thread Benjamin Peterson
Change by Benjamin Peterson : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue34495> ___ ___ Python-bugs-

[issue34540] shutil._call_external_zip should use subprocess

2018-08-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d8b103b8b3ef9644805341216963a64098642435 by Benjamin Peterson in branch '2.7': closes bpo-34540: Convert shutil._call_external_zip to use subprocess rather than distutils.spawn. (GH-8985) https://github.com/python/cpyt

[issue34540] shutil._call_external_zip should use subprocess

2018-08-28 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8458 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34540> ___ _

[issue34540] shutil._call_external_zip should use subprocess

2018-08-28 Thread Benjamin Peterson
New submission from Benjamin Peterson : disutils.spawn isn't very good at quoting command lines (#8987). We need to use subprocess to avoid shell injection. -- components: Library (Lib) messages: 324301 nosy: benjamin.peterson priority: normal severity: normal status: open

[issue34510] add HTTPConnection.settimeout()

2018-08-26 Thread Benjamin Peterson
Change by Benjamin Peterson : -- title: Add add HTTPConnection.settimeout() -> add HTTPConnection.settimeout() ___ Python tracker <https://bugs.python.org/issu

[issue34504] PySequence_Check: argument is dereferenced and then checked for NULL

2018-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b57b4ac042b977e0b42a2f5ddb30ca7edffacfa9 by Benjamin Peterson (Alexey Izbyshev) in branch 'master': closes bpo-34504: Remove the useless NULL check in PySequence_Check(). (GH-8935) https://github.com/python/cpyt

[issue34501] PyType_FromSpecWithBases: spec->name is dereferenced before checking for NULL

2018-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 5f79b50763d687aeeed8edcb4efcc7ac9f8fa186 by Benjamin Peterson (Alexey Izbyshev) in branch 'master': closes bpo-34501: PyType_FromSpecWithBases: Check spec->name before dereferencing it. (GH-8930) https://github.com/python/c

[issue34501] PyType_FromSpecWithBases: spec->name is dereferenced before checking for NULL

2018-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: Your suggested fix seems fine to me. -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue34

[issue34502] Docs of sys.exit() mention utf8_mode for an unclear reason

2018-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 44838be9f79870ff3c9e04b7398a1dc3d56d53ed by Benjamin Peterson (Alexey Izbyshev) in branch 'master': closes bpo-34502: Remove a note about utf8_mode from sys.exit() docs. (GH-8928) https://github.com/python/cpyt

[issue34493] Objects/genobject.c: Missing NULL check in compute_cr_origin()

2018-08-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 8fdd331bbf7e60dd81c02c7077f44c7939e2a05d by Benjamin Peterson (Alexey Izbyshev) in branch 'master': closes bpo-34493: Objects/genobject.c: Add missing NULL check to compute_cr_origin() (GH-8911) https://github.com/python/cpyt

[issue34471] _datetime: Missing NULL check in tzinfo_from_isoformat_results()

2018-08-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 498845368ff0f6238750ab1d443e7cf4ec98ccd2 by Benjamin Peterson (Alexey Izbyshev) in branch 'master': closes bpo-34471: _datetime: Add missing NULL check to tzinfo_from_isoformat_results. (GH-8869) https://github.com/python/cpyt

[issue18560] builtin_sum() doesn't check return value of PyLong_FromLong()

2018-08-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Backported to 2.7 in 67dafd5c202cd529e209bf3f35e022ce766709eb. (I messed up the commit message.) -- nosy: +benjamin.peterson versions: +Python 2.7 ___ Python tracker <https://bugs.python.org/issue18

[issue34468] An always-false condition in range_repr() from Objects/rangeobject.c

2018-08-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 7ecae3ca0bda3cacf3b0125bae0bc718a17cc071 by Benjamin Peterson (Alexey Izbyshev) in branch 'master': closes bpo-34468: Objects/rangeobject.c: Fix an always-false condition in range_repr() (GH-8880) https://github.com/python/cpyt

[issue18560] builtin_sum() doesn't check return value of PyLong_FromLong()

2018-08-23 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8365 ___ Python tracker <https://bugs.python.org/issue18560> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34474] Python/bltinmodule.c: Missing NULL check in builtin_sum_impl()

2018-08-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 2b824b2538c4a5f9f520c5de8a1eae5a0c181a94 by Benjamin Peterson (Alexey Izbyshev) in branch 'master': closes bpo-34474: Python/bltinmodule.c: Add missing NULL check in builtin_sum_impl() (GH-8872) https://github.com/python/cpyt

[issue34477] Objects/typeobject.c: Missing NULL check in type_init()

2018-08-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f6247aac08c1a79d0479145a405718bb76dba434 by Benjamin Peterson (Alexey Izbyshev) in branch 'master': closes bpo-34477: Objects/typeobject.c: Add missing NULL check to type_init() (GH-8876) https://github.com/python/cpyt

[issue34466] socket.settimeout working incorrectly for connect() method of AF_UNIX socket

2018-08-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think what you want to do is not use the timeout feature of Python sockets and instead use mysock.setsockopt(SO_SNDTIMEO, 5). -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.

<    1   2   3   4   5   6   7   8   9   10   >