File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,6 +118,11 @@ Windows
118118- Issue #21671, CVE-2014-0224: The bundled version of OpenSSL has been
119119 updated to 1.0.1h.
120120
121+ Tools/Demos
122+ -----------
123+
124+ - Issue #21629: Fix Argument Clinic's "--converters" feature.
125+
121126
122127What's New in Python 3.4.1?
123128===========================
Original file line number Diff line number Diff line change @@ -2044,11 +2044,9 @@ def add_default_legacy_c_converter(cls):
20442044 # automatically add converter for default format unit
20452045 # (but without stomping on the existing one if it's already
20462046 # set, in case you subclass)
2047- if ((cls .format_unit != 'O&' ) and
2047+ if ((cls .format_unit not in ( 'O&' , '' ) ) and
20482048 (cls .format_unit not in legacy_converters )):
20492049 legacy_converters [cls .format_unit ] = cls
2050- if cls .format_unit :
2051- legacy_converters [cls .format_unit ] = cls
20522050 return cls
20532051
20542052def add_legacy_c_converter (format_unit , ** kwargs ):
You can’t perform that action at this time.
0 commit comments