New GitHub issue #118976 from DomePole27:<br>
<hr>
<pre>
# Bug report
### Bug description:
```python
# Add a code block here, if required
```class IntConversionDescriptor:
def __init__(self, *, default):
self._default = default
def __set_name__(self, owner, name):
self._name = "_" + name
def __get__(self, obj, type):
if obj is None:
return self._default
return getattr(obj, self._name, self._default)
def __set__(self, obj, value):
setattr(obj, self._name, int(value))
### CPython versions tested on:
CPython main branch
### Operating systems tested on:
Other
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/118976">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>