[issue46090] C extensions can't swap out live frames anymore

2021-12-16 Thread Jason Madden
Change by Jason Madden : -- nosy: +jmadden ___ Python tracker <https://bugs.python.org/issue46090> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43196] logging.config.dictConfig shuts down socket for existing SysLogHandlers

2021-02-11 Thread Jason Madden
Change by Jason Madden : -- nosy: +jmadden ___ Python tracker <https://bugs.python.org/issue43196> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40018] test_ssl fails with OpenSSL 1.1.1e

2020-03-25 Thread Jason Madden
Change by Jason Madden : -- nosy: +jmadden ___ Python tracker <https://bugs.python.org/issue40018> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39674] Keep deprecated features in Python 3.9 to ease migration from Python 2.7, but remove in Python 3.10

2020-02-18 Thread Jason Madden
Change by Jason Madden : -- nosy: +jmadden ___ Python tracker <https://bugs.python.org/issue39674> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36843] AIX build fails with failure to get random numbers

2019-05-07 Thread Jason Madden
Change by Jason Madden : -- nosy: +jmadden ___ Python tracker <https://bugs.python.org/issue36843> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35291] duplicate of memoryview from io.BufferedWriter leaks

2018-11-21 Thread Jason Madden
New submission from Jason Madden : Using Python 2.7.15, if a BufferedWriter wraps an IO object that duplicates the memoryview passed to the IO object's `write` method, that memoryview leaks. This script demonstrates the problem by leaking a memoryview for each iteration of the loop

[issue33005] 3.7.0b2 Interpreter crash in dev mode (or with PYTHONMALLOC=debug) with 'python -X dev -c 'import os; os.fork()'

2018-03-06 Thread Jason Madden
Jason Madden <ja...@nextthought.com> added the comment: Thank you! I can confirm that git commit 31e2b76f7bbcb8278748565252767a8b7790ff27 on the 3.7 branch fixes the issue for me. -- ___ Python tracker <rep...@bugs.python.or

[issue33005] 3.7.0b2 Interpreter crash in dev mode (or with PYTHONMALLOC=debug) with 'python -X dev -c 'import os; os.fork()'

2018-03-05 Thread Jason Madden
Jason Madden <ja...@nextthought.com> added the comment: I built a local version of master (6821e73) and was able to get some line numbers (they're off by one for some reason, it appears): Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel

[issue33005] 3.7.0b2 Interpreter crash in dev mode (or with PYTHONMALLOC=debug) with 'python -X dev -c 'import os; os.fork()'

2018-03-05 Thread Jason Madden
New submission from Jason Madden <ja...@nextthought.com>: At the request of Victor Stinner on twitter, I ran the gevent test suite with Python 3.7.0b2 with the new '-X dev' argument and discovered an interpreter crash. With a bit of work, it boiled down to a very simple command: $

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-08 Thread Jason Madden
Changes by Jason Madden <ja...@nextthought.com>: -- nosy: +jmadden ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28147> ___ _

[issue24291] wsgiref.handlers.SimpleHandler truncates large output blobs

2016-04-03 Thread Jason Madden
Jason Madden added the comment: I'm sorry, I'm still not following the argument that `write` is likely to return nothing. `RawIOBase` and `BufferedIOBase` both document that `write` must return the number of written bytes; if you don't return that, you break anything that assumes you do

[issue24291] wsgiref.handlers.SimpleHandler truncates large output blobs

2016-04-03 Thread Jason Madden
Jason Madden added the comment: `self.stdin` and `self.stderr` are documented to be `wsgi.input` and `wsgi.errors`, which are both described as "file-like" objects, meaning that the `write` method should return bytes written. It seems like the same could reasonably be said

[issue24291] wsgiref.handlers.SimpleHandler truncates large output blobs

2016-04-03 Thread Jason Madden
Jason Madden added the comment: Is there an expected `self.stdout` implementation that doesn't return the number of bytes it writes? `sys.stdout` does, as does `io.RawIOBase`. It doesn't seem clear to me that practically speaking there's a compatibility problem with requiring

[issue24291] wsgiref.handlers.SimpleHandler truncates large output blobs

2016-04-03 Thread Jason Madden
Jason Madden added the comment: Django uses a `wsgiref.simple_server` to serve requests, which in turn uses `socketserver.StreamRequestHandler` to implement its `WSGIRequestHandler`. That base class explicitly turns off buffering for writes (`wbufsize = 0` is the class default which gets

[issue24291] wsgiref.handlers.SimpleHandler truncates large output blobs

2016-04-03 Thread Jason Madden
Jason Madden added the comment: gevent has another simple reproducer for this. I do believe it's not gevent's fault, the fault is in the standard library; SimpleHandler._write needs to loop until `sent += self.stdeout.write(data)` is `len(data)`. I have written up more on this at https

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2016-01-05 Thread Jason Madden
Changes by Jason Madden <ja...@nextthought.com>: -- nosy: +jmadden ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25940> ___ _