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


Groups > comp.lang.python > #6923

Re: Multiprocessing.connection magic

From Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de>
Newsgroups comp.lang.python
Subject Re: Multiprocessing.connection magic
Date 2011-06-03 10:03 +0200
Organization A newly installed InterNetNews server
Message-ID <isa4gj$5cp$1@r03.glglgl.eu> (permalink)
References <mailman.2417.1307082948.9059.python-list@python.org>

Show all headers | View raw


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...


Thomas

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