Author inefab
Recipients inefab
Date 2007-08-28.16:07:04
SpamBayes Score 0.215288
Marked as misclassified No
Message-id <1188317224.86.0.133502540854.issue1046@psf.upfronthosting.co.za>
In-reply-to
Content
The function HTMLCalendar.formatyearpage in module calendar takes at
most 5 arguments (year, month, css, encoding) whereas documentation
(http://docs.python.org/lib/module-calendar.html) says it takes at most
6 (theyear, themonth[, width[, css[, encoding]]]). 

Also, the title tag in the head of the produced document with (year,
month, css) as arguments isn't properly closed ; the line is
<title>Calendar for 2008</title
when it should be
<title>Calendar for 2008</title>

This happend with linux (debian sid), with Python 2.5.1

Note: I haven't tested if the encoding did what it should 

Joined files :
 - HTMLyearbug.py: reproduces the bug
 - 2008cal.html: the output produced by this file
Files
File name Uploaded
cal.py inefab, 2007-08-28.16:07:04
History
Date User Action Args
2007-08-28 16:07:05inefabsetspambayes_score: 0.215288 -> 0.215288
recipients: + inefab
2007-08-28 16:07:04inefabsetspambayes_score: 0.215288 -> 0.215288
messageid: <1188317224.86.0.133502540854.issue1046@psf.upfronthosting.co.za>
2007-08-28 16:07:04inefablinkissue1046 messages
2007-08-28 16:07:04inefabcreate