[issue9858] RawIOBase doesn't define readinto

2010-09-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > +1 for a failing one. (Does the base implementation not raise?) The base implementation doesn't exist :) > Is it even possible to implement a real one without buffering? FileIO does. It's the same as read(), except that you read into an existing buffer rat

[issue9858] RawIOBase doesn't define readinto

2010-09-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: +1 for a failing one. (Does the base implementation not raise?) Is it even possible to implement a real one without buffering? -- ___ Python tracker ___

[issue9858] RawIOBase doesn't define readinto

2010-09-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson, stutzbach ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue9858] RawIOBase doesn't define readinto

2010-09-15 Thread Antoine Pitrou
New submission from Antoine Pitrou : RawIOBase is defined as having the readinto() method but it doesn't. It should at least have a failing one (raising io.UnsupportedOperation like the BufferedIOBase.{read,readinto} methods do). This is, of course, mainly for auto-documenting purposes (with h