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 dwight.guth
Recipients amaury.forgeotdarc, dwight.guth, jcea, pitrou, sbt, skrah, vstinner
Date 2013-06-01.23:23:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370129004.08.0.648177275798.issue15903@psf.upfronthosting.co.za>
In-reply-to
Content
I was programming something today and thought I should let you know I came across a situation where the current behavior of this function is able to expose what seems to be raw memory to the user.

import io
class A(io.RawIOBase):
  def readinto(self, b):
    return len(b)

A().read(100)
History
Date User Action Args
2013-06-01 23:23:25dwight.guthsetrecipients: + dwight.guth, jcea, amaury.forgeotdarc, pitrou, vstinner, skrah, sbt
2013-06-01 23:23:24dwight.guthsetmessageid: <1370129004.08.0.648177275798.issue15903@psf.upfronthosting.co.za>
2013-06-01 23:23:23dwight.guthlinkissue15903 messages
2013-06-01 23:23:21dwight.guthcreate