[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 9788f97bf69230ec6b38a483c90e88828eba9a1b by Benjamin Peterson in branch '3.8': [3.8] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17136) https://github.com/python/cpython/commit/9788f97bf69230ec6b38a483c90e8

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b8b3e4377ec38c7d64570afabbd0923a51f0666c by Benjamin Peterson in branch '3.7': [3.7] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17137) https://github.com/python/cpython/commit/b8b3e4377ec38c7d64570afabbd09

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16647 pull_request: https://github.com/python/cpython/pull/17137 ___ Python tracker ___ ___

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16646 pull_request: https://github.com/python/cpython/pull/17136 ___ Python tracker ___ ___

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 74fa9f723f700a342e582b5ad4b51a2c4801cd1c by Benjamin Peterson in branch 'master': closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17112) https://github.com/python/cpython/commit/74fa9f723f700a342e582b5ad4b51a2c

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-11-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +16619 pull_request: https://github.com/python/cpython/pull/17112 ___ Python tracker ___ ___

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-09-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: If we were starting from zero, I would suggest omitting the lseek() after open. Sure .tell() might report 0 on newly opened files, but avoiding unnecessary io operations is nicer. -- nosy: +benjamin.peterson __

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-05-11 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___ __

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2019-05-11 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +13166 stage: test needed -> patch review ___ Python tracker ___ ___ Py

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2018-07-21 Thread Brett Randall
Change by Brett Randall : -- nosy: +javabrett ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2018-04-05 Thread Skip Montanaro
Skip Montanaro added the comment: I was bitten by this porting a system from Python 2.7 to 3.6. "/dev/stderr" is a very nice default for logfiles. Users will frequently override the default, so you really want to open the logfile in append mode. Having to jump through hoops to avoid blasting

[issue27805] io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

2016-08-26 Thread Martin Panter
Changes by Martin Panter : -- title: os.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE -> io.open('/dev/stdout', 'a') raises OSError with errno=ESPIPE ___ Python tracker ___