This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients barry, gac, r.david.murray
Date 2013-01-14.12:15:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358165730.3.0.523487484377.issue16914@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the suggestion and patch.  I haven't reviewed it thoroughly yet, but if you change _print_debug to be:

   def _print_debug(*args):

then

   print(datetime.datetime.now(), *args, file=stderr)

should do what you want for python3 (I don't think the [] are needed, personally).  This patch won't be applied to 2.7, which I presume you know, so making that work would be for informational purposes only.
History
Date User Action Args
2013-01-14 12:15:31r.david.murraysetrecipients: + r.david.murray, barry, gac
2013-01-14 12:15:30r.david.murraysetmessageid: <1358165730.3.0.523487484377.issue16914@psf.upfronthosting.co.za>
2013-01-14 12:15:30r.david.murraylinkissue16914 messages
2013-01-14 12:15:27r.david.murraycreate