[Python-bugs-list] [Bug #121887] new.function, 3rd arg: can it be None or not?

noreply@sourceforge.net noreply@sourceforge.net
Mon, 13 Nov 2000 12:29:35 -0800


Bug #121887, was updated on 2000-Nov-07 07:20
Here is a current snapshot of the bug.

Project: Python
Category: None
Status: Closed
Resolution: None
Bug Group: None
Priority: 5
Summary: new.function, 3rd arg: can it be None or not?

Details: According to the docs, new.function's 3rd argument can be None (then the name from the codeobject will be used).

Trying to call new.function with None as the third argument raises an exception saying that this argument must be a string. Documentation error, or bug in module new?


Follow-Ups:

Date: 2000-Nov-13 12:29
By: gvanrossum

Comment:
I have fixed the code in CVS. Closed.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=121887&group_id=5470