[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#5285: nntplib.NNTP() dies in "illegal seek"



Package: python
Version: 1.4.0-1

I use the following trivial test program:

	import nntplib
	x = nntplib.NNTP("localhost")
	x.quit()

Replace localhost with any suitable news server.

With 1.4beta3-1, this works (it outputs nothing). With 1.4.0-1,
it crashes:

	$ python nntptest.py
	Traceback (innermost last):
	  File "nntptest.py", line 2, in ?
	    x = nntplib.NNTP("localhost")
	  File "/usr/lib/python1.4/nntplib.py", line 71, in __init__
	    self.file = self.sock.makefile('rb')
	socket.error: (29, 'Illegal seek')
	$ 

This sort of kills my comp.os.linux.announce moderation scripts. :-)

I am using kernel 2.0.6, libc 5.4.7-6, inn 1.4unoff4-1, if
those details matter.

-- 
Please read <http://www.iki.fi/liw/mail-to-lasu.html> before mailing me.
Please don't Cc: me when replying to my message on a mailing list.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: