python-dateutil 1.4.1-2 miss __str__() method

Bug #365529 reported by Khertan on 2009-04-23
Affects Status Importance Assigned to Milestone
python-dateutil (Ubuntu)

Bug Description

python-dateutil 1.4.1-2 have at least one difference in the file dateutil/

Indeed the method __str__ is missing from the source when compared to the 1.4.1 tar.gz source available at

which prevent to convert a rrule to an rfc rrule string.

Example :

import dateutil
import dateutil.rrule
import datetime
r = dateutil.rrule.rrule(dateutil.rrule.DAILY,dtstart=datetime(2007,1,1))

print r

>>>Current result :
<dateutil.rrule.rrule instance of 0x254612>

>>>Expected result :

Raumkraut (raumkraut) wrote :

I can find no indication of a __str__ method being defined for any of dateutil's classes. A recursive grep comes up blank for both the linked-to archive and the Ubuntu package. The relevant archive available from pypi also shows no sign of such code.
Additionally, the documentation makes no mention of converting *to* RFC 2445 rrules, only *from* them.

Changed in python-dateutil (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers