#twisted

/

      • LichtMacher joined the channel
      • itamarst has quit
      • c0ded has quit
      • c0ded joined the channel
      • kenaan
        Tickets pending review: https://tm.tl/#5406 (MostAwesomeDude), #9305, #9333 (markrwilliams), #9337, #9210 (markrwilliams), #9390, #7705, #9398, #9399, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • tdsmith has quit
      • tdsmith joined the channel
      • Evidlo has left the channel
      • rthille-ciena1 joined the channel
      • markrwilliams submitted <https://tm.tl/#9343>; - Add a ensureBytes() helper function (assigned to rodrigc) for review
      • jamesaxl joined the channel
      • DigiDigi has quit
      • Tickets pending review: https://tm.tl/#5406 (MostAwesomeDude), #9305, #9333 (markrwilliams), #9337, #9210 (markrwilliams), #9390, #7705, #9398, #9399, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • ecx has quit
      • artige has quit
      • ecx joined the channel
      • artige joined the channel
      • fcurella joined the channel
      • fl0v0 joined the channel
      • __peke___ joined the channel
      • new core enhancement https://tm.tl/#9400 by markrwilliams: Request.getRequestHostname should fail explicitly on non-TCP transports
      • slav0nic joined the channel
      • energizer joined the channel
      • efphe joined the channel
      • terrycojones joined the channel
      • terrycojones has quit
      • tdsmith has quit
      • Tickets pending review: https://tm.tl/#5406 (MostAwesomeDude), #9305, #9333 (markrwilliams), #9337, #9210 (markrwilliams), #9390, #7705, #9398, #9399, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • efphe has quit
      • clokep joined the channel
      • terrycojones joined the channel
      • itamar joined the channel
      • rajesh joined the channel
      • efphe joined the channel
      • ayaka has quit
      • ayaka joined the channel
      • ayaka has quit
      • ayaka joined the channel
      • jcline has quit
      • jcline joined the channel
      • LionsMane joined the channel
      • LichtMacher joined the channel
      • terrycojones has quit
      • terrycojones joined the channel
      • tdsmith joined the channel
      • DigiDigi joined the channel
      • rajesh joined the channel
      • iffy joined the channel
      • iffy has left the channel
      • Tickets pending review: https://tm.tl/#5406 (MostAwesomeDude), #9305, #9333 (markrwilliams), #9337, #9210 (markrwilliams), #9390, #7705, #9398, #9399, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • rajesh joined the channel
      • energizer joined the channel
      • rajesh
        hi, i'd like to call a blocking method but don't need any return values so would like to return to the caller immediately. how would i do that?
      • call the method and move on. let that method do its thing.
      • EACFreddy
      • rajesh
        EACFreddy: thought about it. is there any other way/
      • EACFreddy
        reactor.callInThread maybe, but I never used that before
      • rajesh
        EACFreddy: i'll use deferToThread. thanks.
      • ayaka has quit
      • ayaka joined the channel
      • rthille-ciena joined the channel
      • teratorn
        rajesh: what does the blocking method do?
      • rajesh
        teratorn: makes a request to another service.
      • teratorn
        rajesh: why is it blocking, then?
      • rajesh
        it's another service provider whose api i call. there can be many requests to that provider lining up on my side. so i'd like to trigger them as i enqueue them, and i don't care about the results of the operations on their end.
      • teratorn
        deferToThread may not be sufficient for that
      • rajesh
        why not?
      • teratorn
        a) if your API library is not thread-safe you don't have control over it being used from a single thread b) it's not going to queue them up one-by-one if that is what you need
      • just having your own dedicated thread and a queue might be better?
      • rajesh
        teratorn: yes of course, a separate queue and a thread per request to the other service.
      • i imagine i only need manage the append/pop of the queue elements.
      • teratorn
        shouldn't be too hard... twisted isn't magic, it's just python code
      • rajesh
        yeah, no i don't have a problem with that.
      • warner joined the channel
      • warner
        is anyone else seeing this?: travis-ci OS-X builds of a project that depends upon twisted are failing as they try to install "incremental>=16.10.1", claiming "Couldn't find index page for 'incremental' (maybe misspelled?)"
      • the travis linux builds are fine, a local OS-X build is fine
      • and the build appears to be able to find other dependencies without problems, so I'm not convinced it's related to the TLS<=1.2 brownouts that PyPI is running in preparation for disabling older TLS entirely in a week or two
      • clokep1 joined the channel
      • clokep joined the channel
      • clokep1 joined the channel
      • clokep1 is now known as clokep
      • terrycojones joined the channel
      • itamar has quit
      • itamar joined the channel
      • clokep has quit
      • terrycojones_ joined the channel
      • kenaan
        Tickets pending review: https://tm.tl/#5406 (MostAwesomeDude), #9305, #9333 (markrwilliams), #9337, #9210 (markrwilliams), #9390, #7705, #9398, #9399, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • LichtMacher joined the channel
      • clokep joined the channel
      • meejah
        'brownouts', that an interesting way to handle deprecation for SaaS stuff :)
      • warner
        yeah. I kinda like it, although apparently some versions of pip don't report the error in the most helpful manner
      • meejah
        i guess better "some" bug-reports from users rather than all of a sudden a bunch can't make anything work
      • (i kinda like it too :)
      • itamar has quit
      • itamar joined the channel
      • slav0nic has quit
      • njs
        warner: it's not documented well, but in addition to the official brownout ("all requests during this time period will fail"), there's also a probabilistic brownout happening ("x% of requests will fail randomly"), so it could potentially be that
      • warner: certainly if you're on MacOS and you don't have either the very latest pip (9.0.3) or the very latest MacOS (10.13), you need to upgrade one or the other
      • meejah
        njs: does Travis say what MacOS version they're running?
      • warner checks
      • njs
        meejah: probably somewhere, but I don't know off the top of my head
      • warner
        their docs say 10.12.6
      • there's one beta image available that has 10.13, but all the rest are 10.12 or older
      • but it looks like we've got pip-9.0.3
      • one build just passed, so it's not consistent
      • (I suppose one way to figure out if it's the brownout or not is to just wait two weeks :)
      • is there any "all requests that start with the letter 'i' will fail" aspect?
      • njs
        warner: you should probably ask in #pypa-dev, they're pretty on top of this stuff right now for obvious reasons :-)
      • warner
        I can't figure out why it fails when it gets to Incremental, but appears to get good responses up until just a moment earlier, on multiple builds
      • good point, thanks
      • clokep has quit
      • itamar has quit