bug report w\o registering

Jørgen Cederberg jorgencederberg at hotmail.com
Tue Nov 5 08:21:31 EST 2002


"Anton Vredegoor" <anton at vredegoor.doge.nl> wrote in message news:aq8cmh$gcq$1 at news.hccnet.nl...
> On Tue, 5 Nov 2002 15:49:20 +1100, "Delaney, Timothy"
> <tdelaney at avaya.com> wrote:
> 
> >> From: anton at vredegoor.doge.nl [mailto:anton at vredegoor.doge.nl]
> >> 
> >> Here's a bug report. I don't want to register at SourceForge now
> >> (browser settings etc.). Sorry for the inconvenience.
> >
> >If you do not submit to sourceforge, the bug report *will* be lost.
> 
> If you do not read the traceback you will not detect the bug.

If read the traceback, and there is no bug. Extract from the Library reference:


> 
> Anton.
> 
> Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
> win32
> Type "copyright", "credits" or "license" for more information.
> IDLE 0.8 -- press F1 for help
> >>> import os,popen2
> >>> infile,outfile = os.popen2("dir","b",-1)
> >>> outfile,infile = popen2.popen2("dir","b",-1)
> Traceback (most recent call last):
>   File "<pyshell#2>", line 1, in ?
>     outfile,infile = popen2.popen2("dir","b",-1)
>   File "D:\PYTHON22\lib\popen2.py", line 123, in popen2
>     w, r = os.popen2(cmd, mode, bufsize)
> TypeError: popen2() argument 2 must be string, not int
> >>>



More information about the Python-list mailing list