[issue38692] add a pidfd child process watcher

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: It will be fixed, though, as soon as the user upgrades systemd. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38692] add a pidfd child process watcher

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Sure, that change on it's own looks small and harmless. My point is that it's a slippery slope. Why is that sandbox configuration important enough to handle? It won't be tested by our CI and no one will know whether they can ever re

[issue38692] add a pidfd child process watcher

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: We should not claim to support running our tests in weird syscall sandboxes. There's an infinite number of possible sandboxing configurations, and we can't fix them all. -- ___ Python track

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16619 pull_request: https://github.com/python/cpython/pull/17112 ___ Python tracker <https://bugs.python.org/issue27

[issue38692] add a pidfd child process watcher

2019-11-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: It seems like systemd-nspawn is just breaking everything: https://sourceware.org/ml/libc-alpha/2019-11/msg00277.html -- ___ Python tracker <https://bugs.python.org/issue38

[issue38692] add a pidfd child process watcher

2019-11-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think you must still be experiencing some sort of sandboxing. I don't know how else you would get an EPERM out of pidfd_open. -- ___ Python tracker <https://bugs.python.org/is

[issue38730] 2.7 modern compiler warnings

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

[issue38730] 2.7 modern compiler warnings

2019-11-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 9f94e52e8d38092520a3bfb1bf1ef9cbb0836584 by Benjamin Peterson in branch '2.7': bpo-38730: Remove usage of stpncpy as it's not supported on MSVC 2008. (GH-17081) https://github.com/python

[issue38730] 2.7 modern compiler warnings

2019-11-07 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16591 pull_request: https://github.com/python/cpython/pull/17081 ___ Python tracker <https://bugs.python.org/issue38

[issue38730] 2.7 modern compiler warnings

2019-11-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f32bcf8c27f3681407707bbb029323eb340d3c4b by Benjamin Peterson in branch '2.7': [2.7] bpo-38730: Fix -Wstringop-truncation warnings. (GH-17075) https://github.com/python/cpython/commit/f32bcf8c27f3681407707bbb029323

[issue37731] Possible redifinition of _POSIX_C_SOURCE in ./pyconfig.h

2019-11-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 089e5f52a34377193a9e6c03088114b14c8507af by Benjamin Peterson in branch '2.7': bpo-37731: Squish another _POSIX_C_SOURCE redefinition problem in expat. (GH-17077) https://github.com/python/cpyt

[issue37731] Possible redifinition of _POSIX_C_SOURCE in ./pyconfig.h

2019-11-06 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16587 pull_request: https://github.com/python/cpython/pull/17077 ___ Python tracker <https://bugs.python.org/issue37

[issue38730] 2.7 modern compiler warnings

2019-11-06 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +16585 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17075 ___ Python tracker <https://bugs.python.org/issu

[issue38730] 2.7 modern compiler warnings

2019-11-06 Thread Benjamin Peterson
New submission from Benjamin Peterson : GCC 9's -Wstringop-truncation warnings trigger several times in 2.7. Some of these instances are all actual bugs. In all cases, we should clarify the code to make the compiler happy. -- components: Build messages: 356166 nosy: benjamin.pet

[issue38692] add a pidfd child process watcher

2019-11-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Wed, Nov 6, 2019, at 09:57, STINNER Victor wrote: > > STINNER Victor added the comment: > > Would it be useful to use a pidfd in subprocess.Popen to fix bpo-38630 > root issue, when pidfd is available? Probably, but as noted above, we

[issue38712] add signal.pidfd_send_signal

2019-11-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yes, I thought about that a bit. I choose signal because: 1. signal already has some specialized functions that send signals pthread_kill and raise_signal. 2. If we every do want to implement the third parameter of pidfd_send_signal, the signal module

[issue38713] expose P_PIDFD

2019-11-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +16580 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17071 ___ Python tracker <https://bugs.python.org/issu

[issue38713] expose P_PIDFD

2019-11-05 Thread Benjamin Peterson
New submission from Benjamin Peterson : On Linux 5.4, P_PIDFD allows using waitid with a pidfd. -- components: Library (Lib) messages: 356092 nosy: benjamin.peterson, njs priority: normal severity: normal status: open title: expose P_PIDFD versions: Python 3.9

[issue38712] add signal.pidfd_send_signal

2019-11-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +16579 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17070 ___ Python tracker <https://bugs.python.org/issu

[issue38712] add signal.pidfd_send_signal

2019-11-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- nosy: +njs ___ Python tracker <https://bugs.python.org/issue38712> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38712] add signal.pidfd_send_signal

2019-11-05 Thread Benjamin Peterson
New submission from Benjamin Peterson : Add signal.pidfd_send_signal, which will wrap the Linux 5.1 syscall of the same name. -- components: Library (Lib) messages: 356091 nosy: benjamin.peterson priority: normal severity: normal status: open title: add signal.pidfd_send_signal

[issue38692] add a pidfd child process watcher

2019-11-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16578 pull_request: https://github.com/python/cpython/pull/17069 ___ Python tracker <https://bugs.python.org/issue38

[issue38692] add a pidfd child process watcher

2019-11-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 6c4c45efaeb40f4f837570f57d90a0b3429c6ae9 by Benjamin Peterson in branch 'master': bpo-38692: Add os.pidfd_open. (GH-17063) https://github.com/python/cpython/commit/6c4c45efaeb40f4f837570f57d90a0

[issue38692] add a pidfd child process watcher

2019-11-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: pidfd_open was added after pidfd pollling, so it should suffice to make sure pidfd_open doesn't ENOSYS. -- ___ Python tracker <https://bugs.python.org/is

[issue38692] add a pidfd child process watcher

2019-11-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yes, I will be submitting followup changes for pidfd_send_signal and the other goodies. I would like to use pidfds in subprocess, but as you as you say, that's another kettle of fish. -- ___ Python tr

[issue38692] add a pidfd child process watcher

2019-11-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16571 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17063 ___ Python tracker <https://bugs.python.org/issu

[issue37633] Py_CompileString and PyParser_SimpleParseString not exported in python38.dll

2019-11-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Tue, Nov 5, 2019, at 03:12, STINNER Victor wrote: > > STINNER Victor added the comment: > > > closes bpo-37633: Reëxport some function compatibility wrappers for macros > > in ``pythonrun.h``. (GH-17056) > > Aha, finally

[issue38591] Deprecate Process Child Watchers

2019-11-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: FWIW, I started implementing a pidfd-based child process watcher over on #38692. -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue38

[issue38692] add a pidfd child process watcher

2019-11-04 Thread Benjamin Peterson
New submission from Benjamin Peterson : Recent versions of Linux has built out support for pidfd, a way to do process management with file descriptors. I wanted to try it out, so implemented a pidfd-based child watcher for asyncio. My WIP progress patch is attached. It passes all asyncio

[issue37633] Py_CompileString and PyParser_SimpleParseString not exported in python38.dll

2019-11-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 62161ce989d7d4fe2b0e6899a54da20feeddc798 by Benjamin Peterson in branch 'master': closes bpo-37633: Reëxport some function compatibility wrappers for macros in ``pythonrun.h``. (GH-17056) https://github.com/python/cpyt

[issue37633] Py_CompileString and PyParser_SimpleParseString not exported in python38.dll

2019-11-04 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +16567 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17056 ___ Python tracker <https://bugs.python.org/issu

[issue38666] is for tuples

2019-11-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: "is" compares by identity not equality. Since tuples are immutable, the interpreter is free to reuse or not reuse the same tuple instance when it appears multiple times in a program. This is an implementation detail not a bug. -

[issue38648] Py_tp_free is specified twice in Python-ast.c

2019-10-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset bdac32e9fe25fdb97a7172a93aabd1ffead89462 by Benjamin Peterson (Max Bernstein) in branch 'master': closes bpo-38648: Remove double tp_free slot in Python-ast.c. (GH-17002) https://github.com/python/cpyt

[issue38395] proxy_contains (weakref.proxy) can access an object with 0 refcount

2019-10-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: All fixed now, right? -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38433] 2.7.17rc1 tcl/tk version regression on Windows

2019-10-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Unless this actually regresses functionality, it doesn't seem like this needs to block the release. -- ___ Python tracker <https://bugs.python.org/is

[issue38424] typing.Generator shorthand

2019-10-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: Is Iterator[Whatever] not sufficient for you? -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue38

[issue17123] Add OCSP support to ssl module

2019-10-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: Considering OSCP has fallen out of favor relative to CT in recent years, may be should simply reject this feature request. -- ___ Python tracker <https://bugs.python.org/issue17

[issue36161] Use thread-safe functions instead of unsafe ones (crypt, ttyname)

2019-10-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 594e2edfb5e0d24e03469d035d8f39ff29a64d99 by Benjamin Peterson (Antonio Gutierrez) in branch 'master': closes bpo-36161: Use thread-safe ttyname_r instead of ttyname. (GH-14868) https://github.com/python/cpyt

[issue38402] crypt: check error from library call

2019-10-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0d3fe8ae4961bf551e7d5e42559e2ede1a08fd7c by Benjamin Peterson (Antonio Gutierrez) in branch 'master': closes bpo-38402: Check error of primitive crypt/crypt_r. (GH-16599) https://github.com/python/cpyt

[issue38402] crypt: check error from library call

2019-10-07 Thread Benjamin Peterson
New submission from Benjamin Peterson : (split off from #36161) The crypt module currently doesn't check for errors from crypt or crypt_r. It should. -- messages: 354166 nosy: benjamin.peterson priority: normal severity: normal status: open title: crypt: check error from library

[issue31036] building the python docs requires the blurb module

2019-10-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0bd59d655280ad4c4aff2d327789815b89caee18 by Benjamin Peterson in branch '2.7': [2.7] bpo-31036: Allow sphinx and blurb to be found automatically (GH-16638) https://github.com/python/cpython/commit/0bd59d655280ad4c4aff2d32778981

[issue31036] building the python docs requires the blurb module

2019-10-07 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16223 pull_request: https://github.com/python/cpython/pull/16638 ___ Python tracker <https://bugs.python.org/issue31

[issue38395] proxy_contains (weakref.proxy) can access an object with 0 refcount

2019-10-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Note I'm going to ignore this for the purposes of 2.7.17 because it doesn't look like a new regression. -- ___ Python tracker <https://bugs.python.o

[issue38216] Fix for issue30458 (HTTP Header Injection) prevents crafting invalid requests

2019-10-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f5b1abbb3b0083381925dcd5898ae6d019224826 by Benjamin Peterson (Jason R. Coombs) in branch '2.7': [2.7] bpo-38216, bpo-36274: Allow subclasses to separately override validation and encoding behavior (GH-16476) https://github.

[issue36274] http.client cannot send non-ASCII request lines

2019-10-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f5b1abbb3b0083381925dcd5898ae6d019224826 by Benjamin Peterson (Jason R. Coombs) in branch '2.7': [2.7] bpo-38216, bpo-36274: Allow subclasses to separately override validation and encoding behavior (GH-16476) https://github.

[issue37664] Update bundled pip and setuptools

2019-10-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e7e58fe03175adc660c192e724b91ae7ccba9cb6 by Benjamin Peterson in branch '2.7': [2.7] bpo-37664: Update ensurepip bundled wheels, again (GH-16633) https://github.com/python/cpython/commit/e7e58fe03175adc660c192e724b91a

[issue37664] Update bundled pip and setuptools

2019-10-07 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16219 pull_request: https://github.com/python/cpython/pull/16633 ___ Python tracker <https://bugs.python.org/issue37

[issue38389] Bug on sorted with count key

2019-10-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: 5 and 12 both appear twice in the list, so as far as the key function is concerned, they're equal. -- nosy: +benjamin.peterson resolution: -> not a bug stage: -> resolved status: open -> closed

[issue38350] ./configure --with-pydebug should use -O0 rather than -Og

2019-10-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: If -Og is breaking debugging, isn't that a compiler bug? The GCC manpage claims " -Og enables optimizations that do not interfere with debugging." -- nosy: +benjamin.peterson ___ Python

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-09-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: If we were starting from zero, I would suggest omitting the lseek() after open. Sure .tell() might report 0 on newly opened files, but avoiding unnecessary io operations is nicer. -- nosy: +benjamin.peterson

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: You're welcome to 3.5. On Thu, Sep 26, 2019, at 00:23, STINNER Victor wrote: > > STINNER Victor added the comment: > > Benjamin: Python 3.5 is in the Versions field, but I don't see any > change related to 3.5 yet. It's

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 90b4e49c98dd0ff948e13dd0618240c2294eb23d by Benjamin Peterson in branch '2.7': bpo-38174 follow up: Remove loadlibrary.c from VS9.0. (GH-16411) https://github.com/python/cpython/commit/90b4e49c98dd0ff948e13dd0618240

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f0501630b0ba31448c230c756b1027647f4ef100 by Benjamin Peterson in branch '3.6': [3.6] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16410) https://github.com/python/cpython/commit/f0501630b0ba31448c230c756b1027

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d75bf44a2812a249663f979dc8379d27c1633ba5 by Benjamin Peterson in branch '3.8': [3.8] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16409) https://github.com/python/cpython/commit/d75bf44a2812a249663f979dc8379d

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 8e4622ea898bdda687eb2fb0747721c0cd8b0d02 by Benjamin Peterson in branch '3.7': [3.7] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16407) https://github.com/python/cpython/commit/8e4622ea898bdda687eb2fb0747721

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +15993 pull_request: https://github.com/python/cpython/pull/16411 ___ Python tracker <https://bugs.python.org/issue38

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e73b93ab3e0bc2e5a3591f125f465353e025ecaf by Benjamin Peterson in branch '2.7': [2.7] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16408) https://github.com/python/cpython/commit/e73b93ab3e0bc2e5a3591f125f4653

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +15992 pull_request: https://github.com/python/cpython/pull/16410 ___ Python tracker <https://bugs.python.org/issue38

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +15991 pull_request: https://github.com/python/cpython/pull/16409 ___ Python tracker <https://bugs.python.org/issue38

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +15990 pull_request: https://github.com/python/cpython/pull/16408 ___ Python tracker <https://bugs.python.org/issue38

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +15989 pull_request: https://github.com/python/cpython/pull/16407 ___ Python tracker <https://bugs.python.org/issue38

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 52b940803860e37bcc3f6096b2d24e7c20a0e807 by Benjamin Peterson in branch 'master': closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16346) https://github.com/python/cpython/commit/52b940803860e37bcc3f6096b2d24e

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-23 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +15923 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16346 ___ Python tracker <https://bugs.python.org/issu

[issue16637] py-bt, py-locals, etc. GDB commands fail with output-radix 16

2019-09-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 6f53d34fb0f944a8c0ee530334c353559ac40f72 by Benjamin Peterson (Marc Hartmayer) in branch 'master': closes bpo-16637: libpython: construct integer object directly from gdbvalue (GH-15232) https://github.com/python/cpyt

[issue38253] Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h

2019-09-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 4346bad3321699d49a45e3446270b57726ab5c8f by Benjamin Peterson (Hai Shi) in branch 'master': closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230) https://github.com/python/cpyt

[issue37199] Test suite fails when Ipv6 is unavailable

2019-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 81319a81b2a3f42fe1047c2e6f5fd958faab6cdb by Benjamin Peterson (Zackery Spytz) in branch 'master': bpo-37199: Replace the early returns added in c2cda63. (GH-14535) https://github.com/python/cpyt

[issue36002] configure --enable-optimizations with clang fails to detect llvm-profdata

2019-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0519d497b04b252f50dfff9101fb7f4b9e33f1c4 by Benjamin Peterson (Doyle Rowland) in branch 'master': closes bpo-36002: Use AC_PATH_TOOL to find llvm-profdata and llvm-ar. (GH-14998) https://github.com/python/cpyt

[issue37803] "python -m pdb --help" does not work

2019-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 855df7f273c3988c72f01e51ba57091887ec38b2 by Benjamin Peterson (Daniel Hahler) in branch 'master': closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193) https://github.com/python/cpyt

[issue38118] Valgrind warnings when running tokenize.py

2019-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> off-by-one error in PyState_AddModule ___ Python tracker <https://bugs.python

[issue37405] socket.getsockname() returns string instead of tuple

2019-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f60fd95dcc189ace8c0a2177a394b9cc20389a1e by Benjamin Peterson (Miss Islington (bot)) in branch '3.8': closes bpo-37405: Make socket.getsockname() always return a tuple for AF_CAN. (GH-14392) (GH-16018) https://github.com/pyth

[issue38127] A fatal error when running test_ctypes

2019-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ea683deccc505a781eb8c6a88b0835ad5151 by Benjamin Peterson (Zackery Spytz) in branch 'master': closes bpo-38127: _ctypes: PyObject_IsSubclass() should be checked for failure. (GH-16011) https://github.com/python/cpyt

[issue37405] socket.getsockname() returns string instead of tuple

2019-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 954900a3f98a8c0dea14dd575490237f3f8626b3 by Benjamin Peterson (bggardner) in branch 'master': closes bpo-37405: Make socket.getsockname() always return a tuple for AF_CAN. (GH-14392) https://github.com/python/cpyt

[issue37758] unicodedata checksum-tests only test 1/17th of Unicode's codepoints

2019-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 6954be815a16fad11d1d66be576865bbbeb2b97d by Benjamin Peterson (Greg Price) in branch 'master': closes bpo-37758: Extend unicodedata checksum tests to cover all of Unicode. (GH-15125) https://github.com/python/cpyt

[issue37760] Refactor makeunicodedata.py: dedupe parsing, use dataclass

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

[issue37760] Refactor makeunicodedata.py: dedupe parsing, use dataclass

2019-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset a65678c5c90002c5e40fa82746de07e6217df625 by Benjamin Peterson (Greg Price) in branch 'master': bpo-37760: Convert from length-18 lists to a dataclass, in makeunicodedata. (GH-15265) https://github.com/python/cpyt

[issue38124] off-by-one error in PyState_AddModule

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 39de95b746c990e6a2fe9af5fad01747f58b2e5f by Benjamin Peterson in branch 'master': closes bpo-38124: Fix bounds check in PyState_AddModule. (GH-16007) https://github.com/python/cpython/commit/39de95b746c990e6a2fe9af5fad017

[issue38124] off-by-one error in PyState_AddModule

2019-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +15633 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16007 ___ Python tracker <https://bugs.python.org/issu

[issue38124] off-by-one error in PyState_AddModule

2019-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- title: off-by-one error in PyState_GetModule -> off-by-one error in PyState_AddModule ___ Python tracker <https://bugs.python.org/issu

[issue38124] off-by-one error in PyState_GetModule

2019-09-11 Thread Benjamin Peterson
New submission from Benjamin Peterson : https://github.com/python/cpython/blob/3f4db4a0bab073b768fae958e93288bd5d24eadd/Python/pystate.c#L707 should be using > not >=. -- components: Interpreter Core messages: 352031 nosy: benjamin.peterson priority: normal severity: normal

[issue33983] unify types for lib2to3.pytree.Base.children

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Isn't children annotated as List in typeshed? -- ___ Python tracker <https://bugs.python.org/issue33983> ___ ___ Pytho

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2019-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed ___ Python tracker <https://bugs.python.org/issue31639> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue36528] Remove duplicate tests in Lib/tests/re_tests.py

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e6557d3c62800f51ee6530c94a10b93d725504fa by Benjamin Peterson (Xtreak) in branch 'master': bpo-36528: Remove duplicate re tests. (GH-2689) https://github.com/python/cpython/commit/e6557d3c62800f51ee6530c94a10b93d725504fa -

[issue36528] Remove duplicate tests in Lib/tests/re_tests.py

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

[issue37252] devpoll test failures on Solaris

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 95da826db9ed4acbc81f32296f14429c06bd2124 by Benjamin Peterson (Jakub Kulík) in branch 'master': closes bpo-37252: Fix devpoll tests. (GH-14017) https://github.com/python/cpython/commit/95da826db9ed4acbc81f32296f1442

[issue36712] duplicate method definition in Lib/email/test/test_email_renamed.py

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f9db011c323556ec68761263c6b91b2f75ca95ba by Benjamin Peterson (Zackery Spytz) in branch '2.7': closes bpo-36712: Fix duplicate method in Lib/email/test/test_email_renamed.py. (GH-14800) https://github.com/python/cpyt

[issue36711] duplicate method definition in Lib/email/feedparser.py

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b239ab9107cd5bcbfbfa3b46290191298718ced3 by Benjamin Peterson (Zackery Spytz) in branch '2.7': closes bpo-36711: Remove duplicate method in Lib/email/feedparser.py. (GH-14801) https://github.com/python/cpyt

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

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

[issue20504] cgi.FieldStorage, multipart, missing Content-Length

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 2d7cacacc310b65b43e7e2de89e7722291dea6a4 by Benjamin Peterson (Pierre Quentel) in branch 'master': bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (#10638) https://github.com/python/cpyt

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f2173ae38fa49235c3cdc28ae2ca2e19a375a596 by Benjamin Peterson in branch 'master': bpo-35066: Make trailing percent test more portable. (GH-15907) https://github.com/python/cpython/commit/f2173ae38fa49235c3cdc28ae2ca2e

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +15548 pull_request: https://github.com/python/cpython/pull/15907 ___ Python tracker <https://bugs.python.org/issue35

[issue29171] blake2: Remove unused function to avoid undefined references

2019-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Numerous warnings with blake2 module ___ Python tracker <https://bugs.python

[issue32165] PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c

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

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2019-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 734f1202a50641eb2c4bfbcd5b75247c1dc99a8f by Benjamin Peterson (Bernt Røskar Brenna) in branch 'master': closes bpo-25461: Update os.walk() docstring to match the online docs. (GH-11836) https://github.com/python/cpyt

[issue38043] small cleanups in Unicode normalization code

2019-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 1ad0c776cb640be9f19c8019bbf34bb4aba312ad by Benjamin Peterson (Greg Price) in branch 'master': bpo-38043: Move unicodedata.normalize tests into test_unicodedata. (GH-15712) https://github.com/python/cpyt

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-09-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 58d61efd4cdece3b026868a66d829001198d29b1 by Benjamin Peterson in branch '2.7': [2.7] bpo-36502: Update link to UAX GH-44, the Unicode doc on the UCD. (GH-15808) https://github.com/python/cpyt

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-09-09 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +15459 pull_request: https://github.com/python/cpython/pull/15808 ___ Python tracker <https://bugs.python.org/issue36

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-09-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 64c6ac74e254d31f93fcc74bf02b3daa7d3e3f25 by Benjamin Peterson (Greg Price) in branch 'master': bpo-36502: Update link to UAX #44, the Unicode doc on the UCD. (GH-15301) https://github.com/python/cpyt

[issue38007] Regression: name of PyType_Spec::slots conflicts with Qt macro

2019-09-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: (You might also argue that Qt should be the ones fixing their namespacing.) -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue38

[issue38068] clean up configure logic for gettimeofday

2019-09-09 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +15428 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15775 ___ Python tracker <https://bugs.python.org/issu

[issue38068] clean up configure logic for gettimeofday

2019-09-09 Thread Benjamin Peterson
New submission from Benjamin Peterson : We assume gettimeofday exists, so we don't need a configure test for it. We should also assume it always takes a second argument per POSIX. -- messages: 351446 nosy: benjamin.peterson priority: normal severity: normal status: open title:

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