# Int/str conversions broken in latest Python bugfix releases

**URL:** <https://discuss.python.org/t/int-str-conversions-broken-in-latest-python-bugfix-releases/18889>\
**Category:** Core Development\
**Created:** [September 8, 2022, 10:40pm UTC](https://discuss.python.org/t/int-str-conversions-broken-in-latest-python-bugfix-releases/18889 "2022-09-08T22:40:32Z")\
**Posts on this page:** 1\
**Showing post:** 83

<div class="post-metadata">

**Author:** ![MarkCBell](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/markcbell/32/1503_2.png) [@MarkCBell](https://discuss.python.org/u/MarkCBell)\
**Post date:** [September 13, 2022, 10:46am UTC](https://discuss.python.org/t/int-str-conversions-broken-in-latest-python-bugfix-releases/18889/83 "2022-09-13T10:46:59Z")

</div>

Just for awareness, this has also broken a number of problem set for students. For example, “What is the leading / trailing / 500th digit of 4^(5^6)? How many times does each digit appear?”. Students used to be able to solve by doing something like:

```auto
n = 4 **(5** 6)
s = str(n)
print(s[0], s[-1], s[-500]))

from collections import Counter
print(Counter(s))

```

Of course, the second line now raises a ValueError since our cloud learning environments have all updated to the latest patch release.

---

_[View the full topic](https://discuss.python.org/t/int-str-conversions-broken-in-latest-python-bugfix-releases/18889)._
