Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #6926

Re: Multiprocessing.connection magic

References <mailman.2417.1307082948.9059.python-list@python.org> <isa4gj$5cp$1@r03.glglgl.eu>
Date 2011-06-03 18:26 +1000
Subject Re: Multiprocessing.connection magic
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2423.1307089610.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Jun 3, 2011 at 6:03 PM, Thomas Rachel
<nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de>
wrote:
> Am 03.06.2011 08:28 schrieb Claudiu Popa:
>>
>> Hello guys,
>>       While  working  at a dispatcher using
>>   multiprocessing.connection.Listener  module  I've stumbled upon some
>>   sort    of  magic  trick  that  amazed  me. How is this possible and
>>   what  does  multiprocessing  library doing in background for this to
>>   work?
>
> As Chris already said, it probably uses pickle. Doing so, you should be
> aware that unpickling strings can execute arbitrary code. So be very careful
> if you use something like that...

Nice piece of safe ambiguity there - two people said that, both named Chris!

Just how many Chrises are there on this list? I have a pet theory that
there's a greater-than-usual correlation between geeks and the name
"Chris", and the Python list has provided a number of supporting
instances.

Chris Angelico

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Multiprocessing.connection magic Claudiu Popa <cpopa@bitdefender.com> - 2011-06-03 09:28 +0300
  Re: Multiprocessing.connection magic Chris Torek <nospam@torek.net> - 2011-06-03 07:03 +0000
    Re: Multiprocessing.connection magic Chris Angelico <rosuav@gmail.com> - 2011-06-03 17:18 +1000
  Re: Multiprocessing.connection magic Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-06-03 10:03 +0200
    Re: Multiprocessing.connection magic Chris Angelico <rosuav@gmail.com> - 2011-06-03 18:26 +1000
      Re: Multiprocessing.connection magic Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-03 08:50 +0000
        Re: Multiprocessing.connection magic Chris Angelico <rosuav@gmail.com> - 2011-06-03 20:34 +1000

csiph-web