Path: csiph.com!au2pb.net!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.freenet.ag!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Glenn Linderman Newsgroups: comp.lang.python Subject: Re: EOFError: marshal data too short -- causes? Date: Wed, 30 Dec 2015 12:35:11 -0800 Lines: 10 Message-ID: References: <56822D4F.8070309@g.nevcal.com> <56823DBC.9010205@g.nevcal.com> <20151229085625.036f548d@imp> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de t4rY8LEIb813jxSw3uw+jAHqoAxTNjqfmmkgt5JT8UsQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'received:10.0.90': 0.16; 'received:69.195': 0.16; 'received:69.195.124': 0.16; 'received:io': 0.16; 'received:mail.unifiedlayer.com': 0.16; 'received:psf.io': 0.16; 'received:unifiedlayer.com': 0.16; 'renamed': 0.16; 'subject:too': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cc:no real name:2**0': 0.22; 'am,': 0.23; 'code.': 0.23; 'dec': 0.23; 'import': 0.24; 'header:In- Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'subject: -- ': 0.27; 'really,': 0.29; 'tue,': 0.34; 'file': 0.34; 'received:10.0': 0.34; 'could': 0.35; 'instead': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'system.': 0.39; 'soon': 0.65; 'received:50': 0.66; 'actually,': 0.84; 'glenn': 0.84; 'received:69.89': 0.84 X-Authority-Analysis: v=2.1 cv=dqRIVTQ4 c=1 sm=1 tr=0 a=bHMQH+OLnPEWGwbUEerQzQ==:117 a=bHMQH+OLnPEWGwbUEerQzQ==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=9HSTQGAzAAAA:8 a=7j9GTTBHwvYA:10 a=vQfZDVcJo9MA:10 a=wUQvQvOEmiQA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=AW0IAozn5uVOMyWIMooA:9 a=QEXdDO2ut3YA:10 a=4drjM2ZSny1y-Sr_b2AA:9 a=4s_XfHb_WA0OVNWR:21 a=_W_S_7VecoQA:10 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: <20151229085625.036f548d@imp> X-Identified-User: {1756:box1033.bluehost.com:areliabl:nevcal.com} {sentby:smtp auth 50.37.12.73 authed with test@nevcal.com} X-Content-Filtered-By: Mailman/MimeDel 2.1.20+ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:101011 On 12/29/2015 5:56 AM, D'Arcy J.M. Cain wrote: > On Tue, 29 Dec 2015 00:01:00 -0800 > Glenn Linderman wrote: >> OK, so I actually renamed it instead of zapping it. Them, actually, > Really, just zap them. They are object code. Even if you zap a > perfectly good .pyc file a perfectly good one will be re-created as > soon as you import it. No need to clutter up you file system. > Yes, the only value would be if the type of corruption could be determined from the content.