#895: [PATCH]turbogears.scheduler.add_daytime_task broken
------------------------+---------------------------------------------------
Reporter: Joost | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone:
Component: TurboGears | Version: 0.9a6
Severity: normal | Resolution: fixed
Keywords: |
------------------------+---------------------------------------------------
Comment (by jorge.vargas):
I almost went crazy with this....
I was looking at the trunk running 0.9a5
I even put in jeopardy my python-fu
>>> def poskws(a,b,c=0,d=1):
... print locals()
...
>>> poskds()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'poskds' is not defined
>>> poskws()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: poskws() takes at least 2 arguments (0 given)
>>> poskws(1,0)
{'a': 1, 'c': 0, 'b': 0, 'd': 1}
>>> poskws((1,),0)
{'a': (1,), 'c': 0, 'b': 0, 'd': 1}
>>> poskws((1,),(1,2))
{'a': (1,), 'c': 0, 'b': (1, 2), 'd': 1}
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/895>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---