#python - Sun 6 May 2007 between 00:00 and 00:08

NY Lost Funds



peakerso that the same object unpickled twice in the same pickler/unpickler will result in references to the same object, and not to a copy of one
PenguinOfDoomSure. Why is that a problem?
peakerpickle.loads() in the string creates a new unshared unpickler
so if it refers to other objects in the pickle stream, they will be copies
instead of the same object
PenguinOfDoomDoes "pickle stream" mean "a bunch of concatenated pickles"?
peaker(assuming this eval thing is nested inside a bigger pickle)
koshI thought it meant web pickles ;)
peakeror is used in an unpickler object that maintains state
koshs/web/wet
PenguinOfDoomright
Curious. I think I'm fine with that limitation.
peakerI think if you use some more hacky pickle strings, you can put it on the pickle stack and get rid of it in a less intrusive way
or you could just find whatever references-less object in whatever pickle and replace that with the eval()
PenguinOfDoomoh, right, pickle includes a reasonably powerful stack language for all of my hacking needs
Dtu3ZOhtlnyou ppl and your pickles
NO PICKLES
kbrooksDtu3ZOhtln, pickle is insecure - see spe cially crafted code
actionDtu3ZOhtln likes deadpool
Dtu3ZOhtlnlikes deadpool
peakerI used pickle over a network once -- but it was one where you implied total trust to your peer anyhow :)
kbrooksPeaker, once?
peakerwell, in one of my projects
Dtu3ZOhtlnthe only time i've used pickles is database storage
peakerin other projects I used marshal
now I use twisted banana
Dtu3ZOhtlnis twisted web 2.0 finished yet?
i've been waiting for it :\
actionpeaker hates the web
peakerhates the web
kbrooksDtu3ZOhtln, why not talk in #twisted
peakerthe web is one of the worst accidents of computing history
Dtu3ZOhtlnkbrooks, just a casual question
kbrooksPeaker, why
peakerkbrooks: I wrote why in: http://slashdot.org/comments.pl?sid=233579&cid=19004461
kbrooksDtu3ZOhtln, it will be out WIR
peakerits a terrible terrible architecture to design and use. Webapps are much worse than local apps to use, too
kbrooksPeaker, But the web architecture means that if I want an app to run locally, or over the web, I have to rewrite the whole thing, with different languages, tools and protocols! # agree hands down
peakerbut the real horror is trying to develop for it, and the requirement to redesign and reimplement _everything_ if it has to run over the web
kbrooksPeaker, i wonder if it could be made even any easier
peakernobody really "architected" the web. that's why its an accident :)
kbrooksPeaker, at least for now

Page: 2 9 16 23 30 37 44 51 58 65 72 79 

IrcArchive

NY Lost Funds