This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author watusimoto
Recipients Decorater, X-Istence, berker.peksag, ned.deily, rr-, srittau, vstinner, watusimoto
Date 2018-06-13.09:06:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528880796.18.0.947875510639.issue27777@psf.upfronthosting.co.za>
In-reply-to
Content
This also manifests itself when using web.py: if the underlying code throws an exception, this is emitted:

  File "/usr/local/lib/python3.5/dist-packages/web/webapi.py", line 364, in input
    out = rawinput(_method)
  File "/usr/local/lib/python3.5/dist-packages/web/webapi.py", line 341, in rawinput
    a = cgi.FieldStorage(fp=fp, environ=e, keep_blank_values=1)
  File "/usr/lib/python3.5/cgi.py", line 561, in __init__
    self.read_single()
  File "/usr/lib/python3.5/cgi.py", line 740, in read_single
    self.read_binary()
  File "/usr/lib/python3.5/cgi.py", line 762, in read_binary
    self.file.write(data)
TypeError: write() argument must be str, not bytes
History
Date User Action Args
2018-06-13 09:06:36watusimotosetrecipients: + watusimoto, srittau, vstinner, ned.deily, X-Istence, berker.peksag, Decorater, rr-
2018-06-13 09:06:36watusimotosetmessageid: <1528880796.18.0.947875510639.issue27777@psf.upfronthosting.co.za>
2018-06-13 09:06:36watusimotolinkissue27777 messages
2018-06-13 09:06:36watusimotocreate