Change by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<https://bugs.python.org/issue46090>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<https://bugs.python.org/issue39674>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<https://bugs.python.org/issue40018>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<https://bugs.python.org/issue43196>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 (i
Change by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<https://bugs.python.org/issue36843>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jason Madden :
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:
$ env -i .runtime
Jason Madden 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.dylib 0x7fff789
Jason Madden added the comment:
Thank you! I can confirm that git commit
31e2b76f7bbcb8278748565252767a8b7790ff27 on the 3.7 branch fixes the issue for
me.
--
___
Python tracker
<https://bugs.python.org/issue33
Changes by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<http://bugs.python.org/issue28147>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<http://bugs.python.org/issue25940>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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 req
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 to b
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 ass
16 matches
Mail list logo