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.
Created on 2011年12月05日 03:26 by nedbat, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| patch | kidanger, 2011年12月17日 16:24 | review | ||
| Messages (7) | |||
|---|---|---|---|
| msg148861 - (view) | Author: Ned Batchelder (nedbat) * (Python triager) | Date: 2011年12月05日 03:26 | |
The docs for os.lseek don't make any mention of its return value. I believe it's the new offset in the file, but I'm not sure if there are other subtleties to be mentioned. |
|||
| msg148863 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2011年12月05日 07:27 | |
The only subtlety is that the result is the offset from the beginning, independent of the how value. It may also raise exceptions. |
|||
| msg149675 - (view) | Author: Jérémy Anger (kidanger) | Date: 2011年12月17日 16:24 | |
Here is a patch which add the return value of lseek into the documentation. |
|||
| msg149709 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年12月17日 22:13 | |
New changeset 46c418d8a480 by Victor Stinner in branch '3.2': Issue #13530: Document os.lseek() result http://hg.python.org/cpython/rev/46c418d8a480 New changeset b05caa600c40 by Victor Stinner in branch 'default': Issue #13530: Document os.lseek() result http://hg.python.org/cpython/rev/b05caa600c40 |
|||
| msg149710 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年12月17日 22:14 | |
Thanks for the patch Jérémy. |
|||
| msg213130 - (view) | Author: Till Maas (till) | Date: 2014年03月11日 09:24 | |
This is not fixed for Python 2.7 and 2.6. |
|||
| msg213133 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年03月11日 09:29 | |
New changeset 168e40af4a20 by Georg Brandl in branch '2.7': #13530: port to 2.7 branch (document what os.lseek returns). http://hg.python.org/cpython/rev/168e40af4a20 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:24 | admin | set | github: 57739 |
| 2014年03月11日 09:29:13 | python-dev | set | messages: + msg213133 |
| 2014年03月11日 09:24:06 | till | set | nosy:
+ till messages: + msg213130 |
| 2011年12月17日 22:14:18 | vstinner | set | nosy:
+ vstinner messages: + msg149710 |
| 2011年12月17日 22:14:09 | vstinner | set | status: open -> closed resolution: fixed |
| 2011年12月17日 22:13:52 | python-dev | set | nosy:
+ python-dev messages: + msg149709 |
| 2011年12月17日 16:45:53 | pitrou | set | stage: patch review type: behavior versions: + Python 3.3 |
| 2011年12月17日 16:24:44 | kidanger | set | files:
+ patch nosy: + kidanger messages: + msg149675 |
| 2011年12月10日 13:34:46 | rosslagerwall | set | nosy:
+ rosslagerwall |
| 2011年12月06日 06:01:25 | eli.bendersky | set | nosy:
+ eli.bendersky |
| 2011年12月05日 07:27:55 | loewis | set | nosy:
+ loewis messages: + msg148863 |
| 2011年12月05日 03:26:58 | nedbat | create | |