🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #237230

Re: New Remailer

#237230
From: Zax
Date: Mon, 08 Mar 2010 16:10
26 lines
2235 bytes
On Mon, 08 Mar 2010 10:44:55 -0500, matterhorn wrote in
Message-Id: <4b951b77$0$12195$426a74cc@news.free.fr>:

> You mentionned python version mismatches. Does this package not work
> with other versions than python 2.6? Perhaps I could produce eggs for
> other versions of python...

Hi,
This proved to be the problem. Your code uses a couple of features that
are new to Python 2.6:-
* Exception handling using the syntax 'except foo as bar'.  In previous
  versions the syntax was somewhat ambiguous, 'except foo, bar'.

* The with function, 'with open(file, 'r') as f:' can't be done prior to
  Python 2.6.

I've worked through your code and changed these for Python 2.5
compatible syntax but currently it's not working (untrapped errors).
Probably because the 'with' function is much better for handling missing
files than saying f = open(file, 'r').

-- 
pub  1024D/8ED57743 2003-07-08 Bananasplit Operator
     Key fingerprint = 796F 67E0 E890 A0BB BDAE  EBB4 94A6 7A09 8ED5 7743
uid                            Admin <admin.bananasplit.info>
Technical Details
Message-ID: <slrnhpa8bj.k7v.admin@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED.fleegle.mixmin.net!not-for-mail
References: <3fc0040bc801bc607b5def7c7f091117@rip.ax.lt> <4b8b3e52bfbc24283a392cf44da87b8a@rip.ax.lt> <slrnhp9ul7.k7v.admin@fleegle.mixmin.net> <slrnhpa2co.k7v.admin@fleegle.mixmin.net> <4b951b77$0$12195$426a74cc@news.free.fr>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhpa8bj.k7v.admin@fleegle.mixmin.net>
Subject: Re: New Remailer
Date: Mon, 08 Mar 2010 16:10:27 +0000
From: Zax <admin@bananasplit.info>
References: <3fc0040bc801bc607b5def7c7f091117@rip.ax.lt> <4b8b3e52bfbc24283a392cf44da87b8a@rip.ax.lt> <slrnhp9ul7.k7v.admin@fleegle.mixmin.net> <slrnhpa2co.k7v.admin@fleegle.mixmin.net> <4b951b77$0$12195$426a74cc@news.free.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED.fleegle.mixmin.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Bananasplit
Injection-Date: Mon, 8 Mar 2010 16:10:27 +0000 (UTC)
Injection-Info: news.mixmin.net;
 posting-host="fleegle.mixmin.net:2002:5285:676::1";
 logging-data="20079"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.0-17 (Linux)
Lines: 25
X-Original-Bytes: 2051