nntplib and xover

Gerhard Häring g.haering at ___skynamics.com.invalid
Wed Sep 19 16:33:29 EDT 2001


Erno Kuusela wrote:

> In article <slrn9qfafu.1j1.gerhard.nospam at lilith.hqd-internal>,
> gerhard.nospam at bigfoot.de (Gerhard Häring) writes:
> 
> |                 xover_lines.append((elem[0],
> |                                     elem[1],
> |                                     elem[2],
> |                                     elem[3],
> |                                     elem[4],
> |                                     elem[5].split(),
> |                                     elem[6],
> |                                     elem[7],
> | 				    xref))
> 
> 
> this just adds an xref element to the tuple, right? i bet many
> people unpack the returned tuple into variables straight away,
> so the change would cause some code breakage.


Ups. Didn't think of that. Then I guess there's no way to modify the 
xover function that is also backwards compatible. I also didn't check 
any RFCs, this was just a quick shot.

-- 
Gerhard Häring
skynamics AG
g.haering at skynamics.com
http://www.skynamics.com




More information about the Python-list mailing list