[issue14060] Implement a CSP-style channel

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14060] Implement a CSP-style channel

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: @Matt are you interested in following up on this? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14060

[issue14060] Implement a CSP-style channel

2014-04-03 Thread Sarah Mount
Changes by Sarah Mount mount.sa...@gmail.com: -- nosy: +snim2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14060 ___ ___ Python-bugs-list mailing

[issue14060] Implement a CSP-style channel

2012-02-21 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: I'd like to veto changing the meaning of 0, it's going to break somebody's code. It's easy enough to add some other keyword argument to request an unbuffered queue. Other than that, (1) and (2) seem fine to me. Please consider making

[issue14060] Implement a CSP-style channel

2012-02-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I think zero-sized queues are exactly the right answer here. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14060 ___

[issue14060] Implement a CSP-style channel

2012-02-20 Thread Matt Joiner
Matt Joiner anacro...@gmail.com added the comment: As I see it, here are the desirable features of CSP-style concurrency as it pertains to channels: 1) At least an unbuffered mode 2) Can be marked closed 3) Block on multiple send/receives until one can proceed Specifically features 1 and 2

[issue14060] Implement a CSP-style channel

2012-02-19 Thread Matt Joiner
New submission from Matt Joiner anacro...@gmail.com: From the mailing list, there is some interest in a CSP-style channel. http://mail.python.org/pipermail/python-ideas/2012-February/014073.html -- components: Library (Lib) messages: 153748 nosy: anacrolix priority: normal severity:

[issue14060] Implement a CSP-style channel

2012-02-19 Thread Guido van Rossum
Changes by Guido van Rossum gu...@python.org: -- nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14060 ___ ___ Python-bugs-list

[issue14060] Implement a CSP-style channel

2012-02-19 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Note that Go channels have an optional buffer. That makes them more like the queue module, except the latter doesn't support zero-sized queues. How hard would it be to add that? And are there really use cases in Python for unbuffered