homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nagle
Recipients alexandre.vassalotti, nagle, pitrou, serhiy.storchaka
Date 2015年03月13日.19:48:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426276111.16.0.0539155867263.issue23655@psf.upfronthosting.co.za>
In-reply-to
Content
> Or just use pickle._Pickler instead of pickle.Pickler and like 
> (implementation detail!).
Tried that. Changed my own code as follows:
25a26
> 
71,72c72,73
< self.reader = pickle.Unpickler(self.proc.stdout) # set up reader
< self.writer = pickle.Pickler(self.proc.stdin,kpickleprotocolversion)
---
> self.reader = pickle._Unpickler(self.proc.stdout) # set up reader
> self.writer = pickle._Pickler(self.proc.stdin,kpickleprotocolversion
125,126c126,127
< self.reader = pickle.Unpickler(self.datain) # set up reader
< self.writer = pickle.Pickler(self.dataout,kpickleprotocolversion) 
---
> self.reader = pickle._Unpickler(self.datain) # set up reader
> self.writer = pickle._Pickler(self.dataout,kpickleprotocolversion) 
Program runs after those changes.
So it looks like CPickle has a serious memory corruption problem.
History
Date User Action Args
2015年03月13日 19:48:31naglesetrecipients: + nagle, pitrou, alexandre.vassalotti, serhiy.storchaka
2015年03月13日 19:48:31naglesetmessageid: <1426276111.16.0.0539155867263.issue23655@psf.upfronthosting.co.za>
2015年03月13日 19:48:31naglelinkissue23655 messages
2015年03月13日 19:48:31naglecreate

AltStyle によって変換されたページ (->オリジナル) /