0:23 AM
itamarst has quit
0:23 AM
garetjax has quit
0:27 AM
khorn joined the channel
1:00 AM
-- BotBot disconnected, possible missing messages --
1:01 AM
[c__c] joined the channel
1:11 AM
isis joined the channel
1:51 AM
daMaestro joined the channel
2:38 AM
itamar has quit
2:40 AM
kenaan
Tickets pending review:
https://tm.tl/#9299 , #9305, #9210, #9337, #9340, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176, #7495
2:51 AM
rthille-ciena1 joined the channel
4:45 AM
jlitzingerdev joined the channel
4:59 AM
jlitzingerdev
In looking at a solution to 9333, I'm wondering is there value in a public format method that appends tracebacks (note that formatEvent does not)?
5:00 AM
Or should such a method remain private for internal use. A related question is how often the raw formatters are used instead of observers
5:50 AM
tos9 has quit
5:58 AM
tos9 joined the channel
6:13 AM
adiroiban has quit
6:25 AM
adiroiban joined the channel
6:27 AM
jlitzingerdev has quit
7:27 AM
garetjax joined the channel
7:37 AM
KenaanX joined the channel
7:37 AM
NOTICE: [13twisted] 15markrwilliams pushed 1 new commit to 067033-pyopenssl-ecdh: 02https://git.io/vbfdu
7:37 AM
NOTICE: 13twisted/067033-pyopenssl-ecdh 14393d9b6 15Mark Williams: Merge branch 'trunk' into 7033-pyopenssl-ecdh
7:37 AM
KenaanX has left the channel
7:40 AM
kenaan
Tickets pending review:
https://tm.tl/#9299 , #9305, #9210, #9337, #9340, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176, #7495
7:52 AM
garetjax has quit
8:13 AM
garetjax joined the channel
8:17 AM
garetjax has quit
8:22 AM
KenaanX joined the channel
8:22 AM
NOTICE: [13twisted] 15markrwilliams pushed 1 new commit to 06trunk: 02https://git.io/vbfN8
8:22 AM
NOTICE: 13twisted/06trunk 14a2e8623 15Mark Williams: Merge pull request #928 from twisted/7033-pyopenssl-ecdh...
8:22 AM
KenaanX has left the channel
8:22 AM
8:29 AM
KenaanX joined the channel
8:29 AM
NOTICE: [13twisted] 15markrwilliams created 069210-ecdh-selection at 14ea07364 (+0 new commits): 02https://git.io/vbfN7
8:29 AM
KenaanX has left the channel
8:39 AM
KenaanX joined the channel
8:39 AM
NOTICE: [13twisted] 15markrwilliams 04deleted 069210-ecdh-selection at 14ea07364: 02https://git.io/vbfAr
8:39 AM
KenaanX has left the channel
8:41 AM
KenaanX joined the channel
8:41 AM
NOTICE: [13twisted] 15markrwilliams opened pull request #935: 9210 ecdh selection 1 (06trunk...069210-ecdh-selection-1) 02https://git.io/vbfA9
8:41 AM
KenaanX has left the channel
8:43 AM
garetjax joined the channel
8:48 AM
KenaanX joined the channel
8:48 AM
NOTICE: [13twisted] 15markrwilliams pushed 1 new commit to 069210-ecdh-selection-1: 02https://git.io/vbfp3
8:48 AM
NOTICE: 13twisted/069210-ecdh-selection-1 14883d748 15Mark Williams: Skip ECDHE integration test with OpenSSLs >= 1.0.2.
8:48 AM
KenaanX has left the channel
8:52 AM
8:59 AM
evil_gordita joined the channel
9:01 AM
markrwilliams submitted <
https://tm.tl/#9210> ; - TLS handshake failure with OpenSSL 1.1.0f (unassigned) for review
9:04 AM
KenaanX joined the channel
9:04 AM
NOTICE: [13twisted] 15rodrigc pushed 2 new commits to 069303-rodrigc-shellcomp-py3: 02https://git.io/vbfhB
9:04 AM
NOTICE: 13twisted/069303-rodrigc-shellcomp-py3 149016100 15Craig Rodrigues: Move check for unicode ioType into shellComplete.
9:04 AM
NOTICE: 13twisted/069303-rodrigc-shellcomp-py3 146c52f7e 15Craig Rodrigues: Merge branch 'trunk' into 9303-rodrigc-shellcomp-py3
9:04 AM
KenaanX has left the channel
9:39 AM
garetjax has quit
9:44 AM
garetjax joined the channel
9:59 AM
garetjax has quit
10:02 AM
garetjax joined the channel
10:41 AM
KenaanX joined the channel
10:41 AM
NOTICE: [13twisted] 15rodrigc 04deleted 069303-rodrigc-shellcomp-py3 at 146c52f7e: 02https://git.io/vbJqc
10:41 AM
KenaanX has left the channel
10:41 AM
10:52 AM
garetjax has quit
11:04 AM
itamar joined the channel
12:00 PM
12:02 PM
KenaanX joined the channel
12:02 PM
NOTICE: [13twisted] 15rodrigc created 069343-rodrigc-tobytes (+2 new commits): 02https://git.io/vbJcg
12:02 PM
NOTICE: 13twisted/069343-rodrigc-tobytes 14ed23289 15Craig Rodrigues: Add a toBytes() function for converting unicode to bytes.
12:02 PM
NOTICE: 13twisted/069343-rodrigc-tobytes 1444996d1 15Craig Rodrigues: Add tests for toBytes().
12:02 PM
KenaanX has left the channel
12:08 PM
KenaanX joined the channel
12:08 PM
NOTICE: [13twisted] 15rodrigc opened pull request #936: Add toBytes() helper method (06trunk...069343-rodrigc-tobytes) 02https://git.io/vbJCe
12:08 PM
KenaanX has left the channel
12:10 PM
KenaanX joined the channel
12:10 PM
NOTICE: [13twisted] 15rodrigc pushed 1 new commit to 069343-rodrigc-tobytes: 02https://git.io/vbJCq
12:10 PM
NOTICE: 13twisted/069343-rodrigc-tobytes 1499bd953 15Craig Rodrigues: Add newsfragment
12:10 PM
KenaanX has left the channel
12:10 PM
12:40 PM
Tickets pending review:
https://tm.tl/#9299 , #9305, #9337, #9340, #9210, #9343, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176, #7495
12:40 PM
clokep_tb joined the channel
13:06 PM
itamarst joined the channel
13:54 PM
exarkun has quit
13:55 PM
exarkun joined the channel
14:08 PM
moshez has quit
14:16 PM
evil_gordita has quit
14:24 PM
itamar has quit
14:58 PM
garetjax joined the channel
15:39 PM
garetjax has quit
16:01 PM
Arfrever joined the channel
16:52 PM
KenaanX joined the channel
16:52 PM
NOTICE: [13twisted] 15rodrigc pushed 1 new commit to 068487-rodrigc-mailmail-py3-2: 02https://git.io/vbUe8
16:52 PM
NOTICE: 13twisted/068487-rodrigc-mailmail-py3-2 142166345 15Craig Rodrigues: Skip correct test
16:52 PM
KenaanX has left the channel
16:55 PM
clokep_tb joined the channel
17:36 PM
garetjax joined the channel
17:40 PM
Tickets pending review:
https://tm.tl/#9299 , #9305, #9337, #9340, #9210, #9343, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176, #7495
17:59 PM
garetjax has quit
18:41 PM
epopt joined the channel
19:59 PM
KenaanX joined the channel
19:59 PM
NOTICE: [13klein] 15wsanchez pushed 2 new commits to 06master: 02https://git.io/vbUBe
19:59 PM
NOTICE: 13klein/06master 14adc6341 15Jason Litzinger: Prefer unittest.mock but require mock for python < 3.3....
19:59 PM
NOTICE: 13klein/06master 141f2bc3b 15Wilfredo Sánchez Vega: Merge pull request #221 from jlitzingerdev/166-use-unittest-mock...
19:59 PM
KenaanX has left the channel
20:00 PM
KenaanX joined the channel
20:00 PM
NOTICE: [13klein] 15wsanchez pushed 1 new commit to 06headers: 02https://git.io/vbUBU
20:00 PM
NOTICE: 13klein/06headers 148fea94f 15Wilfredo Sánchez Vega: Merge branch 'master' into headers
20:00 PM
KenaanX has left the channel
21:00 PM
garetjax joined the channel
21:40 PM
runciter
why does Twisted need to find out if the read side of a ProcessWriter pipe has been closed?
21:56 PM
it looks like it's done to determine when a process has exited, but SIGCHLD should handle that
21:57 PM
it seems dubious to me that twisted actually supports non-windows platforms that don't support SIGCHLD
22:00 PM
exarkun
SIGCHLD doesn't tell you which process has exited (mostly).
22:00 PM
itamar joined the channel
22:01 PM
Also ... You want to know if a process has closed its stdin so you can notify application code of that event.
22:01 PM
Closed stdin is not the same event as process exited.
22:03 PM
runciter
exarkun: yes, SIGCHLD doesn't tell you what process has exited, but the traditional approach of calling waitpid(-1, &wstatus, WNOHANG) in a loop addresses that, right?
22:04 PM
exarkun: also it's certainly true that stdin (or any of a process' readable file descriptors) is meaningfully different than a process exit, but the tradition there is to discover that the read side is closed by handling EPIPE on the next write
22:05 PM
was the idea with ProcessWriter that twisted could do better with pipes than it can with sockets?
22:05 PM
exarkun
runciter: waiting for EPIPE definitely sucks
22:06 PM
I don't see how it's better for pipes than for sockets
22:06 PM
It's the same
22:06 PM
Get the event when it happens, not after an arbitrary delay?
22:06 PM
You don't have to wait for a bum write() on a socket
22:06 PM
(I think I don't understand what you mean)
22:07 PM
runciter
exarkun: you're right, a socket will come up as readable, but you still have to be prepared to handle EPIPE
22:08 PM
exarkun: reading ProcessWriter's source and The Linux Programming Interface's table on pipe behaviors, though, the write side of a pipe does not necessarily become readable when its read side is closed
22:08 PM
exarkun
Indeed. Isn't that why there's a function for detecting that behavior?
22:09 PM
The bottom line is that child process management is a charlie foxtrot on Linux and you probably can't do better than a collection of hacks
22:09 PM
We should try to keep the hacks in the reactor and out of application code
22:10 PM
bbl
22:10 PM
runciter
22:10 PM
exarkun: thanks for the input
22:11 PM
i don't think we can given that everything in the last ~12 years expects childConnectionLost to get called as soon as a pipe is closed
22:13 PM
exarkun has quit
22:17 PM
cjwatson has quit
22:22 PM
exarkun joined the channel
22:23 PM
garetjax has quit
22:40 PM
kenaan
Tickets pending review:
https://tm.tl/#9299 , #9305, #9337, #9340, #9210, #9343, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176, #7495
22:40 PM
garetjax joined the channel
22:48 PM
foom
22:57 PM
runciter
foom: oh, thanks!
22:59 PM
garetjax has quit
23:05 PM
foom
I hated this code a decade ago. Good luck. =)
23:06 PM
runciter
foom: unix never forgets
23:07 PM
foom
Well, this is really self-inflicted wound in twisted, with polling for write before calling processEnded
23:09 PM
Polling on the write pipe, that is.