Patches item #1478292, was opened at 2006-04-28 11:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1478292&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Heller (theller)
Assigned to: Tim Peters (tim_one)
Summary: Fix doctest nit.

Initial Comment:
I was puzzled by this behaviour:

C:\>py25
Python 2.5a2 (r25a2:45740, Apr 27 2006, 06:31:19) [MSC
v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> from doctest import register_optionflag
>>> print register_optionflag("SPAM")
1024
>>> print register_optionflag("SPAM")
2048
>>> print register_optionflag("SPAM")
2048
>>>

I suggest that register_optionflags does not
re-register already registered flags.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1478292&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to