[Python-bugs-list] [ python-Bugs-658254 ] Accept None for
time.ctime() and friends
SourceForge.net
noreply at sourceforge.net
Wed Sep 10 09:45:14 EDT 2003
Bugs item #658254, was opened at 2002-12-24 11:58
Message generated for change (Comment added) made by fdrake
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=658254&group_id=5470
Category: Extension Modules
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Fred L. Drake, Jr. (fdrake)
Assigned to: Raymond Hettinger (rhettinger)
Summary: Accept None for time.ctime() and friends
Initial Comment:
Several functions in the time module can have the time
value they operate on omitted to indicate the current
time, but they do not accept None as equivalent to
omitting the value. It should be equivalent.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2003-09-10 11:45
Message:
Logged In: YES
user_id=3066
I generally expect that None should be accepted for an
omitted arg, but Guido has certainly never cared about that.
Given that no existing code passes None, it's ok to reject.
If the truth be told, though, the current situation
certainly complicates some existing code!
----------------------------------------------------------------------
Comment By: Christopher Blunck (blunck2)
Date: 2003-01-06 22:43
Message:
Logged In: YES
user_id=531881
see patch 663482
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=658254&group_id=5470
More information about the Python-bugs-list
mailing list