@@ -6628,17 +6628,31 @@ static PyObject* items_struct(struct_info& info, PyObject* obj) {
66286628};
66296629
66306630SWIGINTERN PyObject *Exiv2_DateValue_Date_keys(Exiv2::DateValue::Date *self){
6631+ // Deprecated since 2025-09-11
6632+ PyErr_WarnEx(PyExc_DeprecationWarning,
6633+ "Please use __members__ to get the struct member names", 1);
66316634 return Exiv2_DateValue_Date___members___get(self);
66326635 }
66336636SWIGINTERN PyObject *Exiv2_DateValue_Date_values(Exiv2::DateValue::Date *self,PyObject *py_self){
6637+ // Deprecated since 2025-09-11
6638+ PyErr_WarnEx(PyExc_DeprecationWarning,
6639+ "Please use __members__ to get the struct member names"
6640+ " and getattr to get values from names", 1);
66346641 init_info_Exiv2_DateValue_Date();
66356642 return values_struct(info_Exiv2_DateValue_Date, py_self);
66366643 }
66376644SWIGINTERN PyObject *Exiv2_DateValue_Date_items(Exiv2::DateValue::Date *self,PyObject *py_self){
6645+ // Deprecated since 2025-09-11
6646+ PyErr_WarnEx(PyExc_DeprecationWarning,
6647+ "Please use __members__ to get the struct member names"
6648+ " and getattr to get values from names", 1);
66386649 init_info_Exiv2_DateValue_Date();
66396650 return items_struct(info_Exiv2_DateValue_Date, py_self);
66406651 }
66416652SWIGINTERN PyObject *Exiv2_DateValue_Date___iter__(){
6653+ // Deprecated since 2025-09-11
6654+ PyErr_WarnEx(PyExc_DeprecationWarning,
6655+ "Please iterate over the __members__ attribute", 1);
66426656 init_info_Exiv2_DateValue_Date();
66436657 PyObject* seq = keys_struct(info_Exiv2_DateValue_Date);
66446658 PyObject* result = PySeqIter_New(seq);
@@ -6666,17 +6680,31 @@ static PyObject* Exiv2_TimeValue_Time___members___get(Exiv2::TimeValue::Time*) {
66666680};
66676681
66686682SWIGINTERN PyObject *Exiv2_TimeValue_Time_keys(Exiv2::TimeValue::Time *self){
6683+ // Deprecated since 2025-09-11
6684+ PyErr_WarnEx(PyExc_DeprecationWarning,
6685+ "Please use __members__ to get the struct member names", 1);
66696686 return Exiv2_TimeValue_Time___members___get(self);
66706687 }
66716688SWIGINTERN PyObject *Exiv2_TimeValue_Time_values(Exiv2::TimeValue::Time *self,PyObject *py_self){
6689+ // Deprecated since 2025-09-11
6690+ PyErr_WarnEx(PyExc_DeprecationWarning,
6691+ "Please use __members__ to get the struct member names"
6692+ " and getattr to get values from names", 1);
66726693 init_info_Exiv2_TimeValue_Time();
66736694 return values_struct(info_Exiv2_TimeValue_Time, py_self);
66746695 }
66756696SWIGINTERN PyObject *Exiv2_TimeValue_Time_items(Exiv2::TimeValue::Time *self,PyObject *py_self){
6697+ // Deprecated since 2025-09-11
6698+ PyErr_WarnEx(PyExc_DeprecationWarning,
6699+ "Please use __members__ to get the struct member names"
6700+ " and getattr to get values from names", 1);
66766701 init_info_Exiv2_TimeValue_Time();
66776702 return items_struct(info_Exiv2_TimeValue_Time, py_self);
66786703 }
66796704SWIGINTERN PyObject *Exiv2_TimeValue_Time___iter__(){
6705+ // Deprecated since 2025-09-11
6706+ PyErr_WarnEx(PyExc_DeprecationWarning,
6707+ "Please iterate over the __members__ attribute", 1);
66806708 init_info_Exiv2_TimeValue_Time();
66816709 PyObject* seq = keys_struct(info_Exiv2_TimeValue_Time);
66826710 PyObject* result = PySeqIter_New(seq);
0 commit comments