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 | netzhen |
|---|---|
| Recipients | netzhen |
| Date | 2008年03月13日.04:32:28 |
| SpamBayes Score | 0.39779288 |
| Marked as misclassified | No |
| Message-id | <1205382751.6.0.0963204550732.issue2282@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The seekable() method of TextIOWrapper always returns False, for it does't override the seekable method of IOBase class in which just returns False. But, there is a method named _seekable(self) in TextIOWrapper(in io.py line 1211): def _seekable(self): return self._seekable which should be seekable(self), and _seekable method is overwrited by line 1190 in the __init__ method as a bool object: self._seekable = self._telling = self.buffer.seekable() |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年03月13日 04:32:32 | netzhen | set | spambayes_score: 0.397793 -> 0.39779288 recipients: + netzhen |
| 2008年03月13日 04:32:31 | netzhen | set | spambayes_score: 0.397793 -> 0.397793 messageid: <1205382751.6.0.0963204550732.issue2282@psf.upfronthosting.co.za> |
| 2008年03月13日 04:32:29 | netzhen | link | issue2282 messages |
| 2008年03月13日 04:32:28 | netzhen | create | |