Skip to content

Commit db89848

Browse files
gh-155245: Add NEWS entry for calendar %OB fix
1 parent bcf985c commit db89848

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed a bug where :mod:`calendar` could raise an uncaught :exc:`ValueError` on import when falling back from :data:`calendar.standalone_month_name`/:data:`calendar.standalone_month_abbr` to :data:`calendar.month_name`/:data:`calendar.month_abbr`, on platforms where ``strftime()`` accepts ``%OB``/``%Ob`` when a name object is constructed but rejects them once the value is actually formatted (e.g. under Wine).

0 commit comments

Comments
 (0)