Package: python2.3-gnome2
Version: 2.6.1-1
Severity: normal

  Running the attached file (which is not coincidentally similar to the popt 
test program) produces a segmentation fault.  However, trying to pass '\0' 
into gnome.init results in the following exception:

TypeError: argument 2 must be string without null bytes or None, not str

  That makes it sound like None is accepted, and moreover like it's the 
"proper" way of doing this (which is certainly the obvious and Pythonesque 
way of doing things).

  IMO: either None should be accepted or this message should be changed, and 
in either case guards are needed so that an exception is thrown instead of 
segfaulting.

  Daniel

-- 
/------------ Daniel Burrows <[EMAIL PROTECTED]> -------------\
|       Who is General Failure, and why is he reading my hard drive?        |
\------------ Evil Overlord, Inc: http://www.eviloverlord.com --------------/

Attachment: popt.py
Description: application/python

Attachment: pgpt17zNrIkTt.pgp
Description: PGP signature

Reply via email to