calendar.py doesn't use lists???
Sean 'Shaleh' Perry
shalehperry at attbi.com
Mon Apr 22 18:46:26 EDT 2002
>
> In [1]: from calendar import month_abbr, month_name
>
> In [2]: month_abbr ?
> Type: instance
> Base Class: calendar._localized_name
> String Form: <calendar._localized_name instance at 0x81a8cb4>
> Namespace: Interactive
>
> In [3]: for m in month_abbr: print m
> ...:
> Segmentation fault
>
> Python shouldn't segfault ever, period (that is, unless it's calling your own
> extension modules and those are causing the segfault).
>
2.2.1 works just fine here.
More information about the Python-list
mailing list