Abhay Saxena added the comment:
If the goal is tokenize(...) accepting a text I/O readline, we already have the
(undocumented) generate_tokens(readline).
--
nosy: +ark3
___
Python tracker
<http://bugs.python.org/issue9
Abhay Saxena added the comment:
Works for me with a fresh py3k on Ubuntu.
--
nosy: +ark3
___
Python tracker
<http://bugs.python.org/issue7804>
___
___
Python-bug
Abhay Saxena added the comment:
The test is incorrect on leap years for February 29, due to the way it
constructs its list of dates. The function itself appears to give the right
answer.
--
nosy: +ark3
___
Python tracker
<http://bugs.python.
Abhay Saxena added the comment:
Quick hack alternative test. It would look nicer if the test used the datetime
module, but I'm not sure that would be appropriate.
def test_dayofyear