[Twisted-Python] Sending other things than strings in UDP packets

Christopher Armstrong radeex at gmail.com
Wed Oct 6 17:53:08 EDT 2004

On Wed, 6 Oct 2004 14:38:55 -0700, Paul Campbell <paul at ref.nmedia.net> wrote:
> Sending anything via any protocol is fairly easy with python in general.
> There are two ways to do it depending on your particular goals.
> The "python way" is as follows:
> message = pickle.dumps(my structures)
> my structures = pickle.loads(message)

Ergh. Please don't do anything _close_ to suggesting this. This is not
the "python way", it is the "stupid, insecure,
let-people-rm-rf-your-home-directory way".

 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+            http://radix.twistedmatrix.com

More information about the Twisted-Python mailing list