I followed the test case in the bug description and installed python version 3.5.1 in /usr/local/bin and did receive the traceback from the description when reinstalling python3.5. I then modified my /etc/apt/sources.list file to enable -proposed ran 'apt-get update' and then installed python3.5 from zesty-proposed.
Get:1 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 libpython3.5 amd64 3.5.3-1ubuntu0~17.04.1 [1,372 kB]
Get:2 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 python3.5 amd64 3.5.3-1ubuntu0~17.04.1 [175 kB]
Get:3 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 libpython3.5-stdlib amd64 3.5.3-1ubuntu0~17.04.1 [2,167 kB]
Get:4 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 python3.5-minimal amd64 3.5.3-1ubuntu0~17.04.1 [1,635 kB]
Get:5 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 libpython3.5-minimal amd64 3.5.3-1ubuntu0~17.04.1 [529 kB]
Fetched 5,877 kB in 1s (3,560 kB/s)
(Reading database ... 229111 files and directories currently installed.)
Preparing to unpack .../libpython3.5_3.5.3-1ubuntu0~17.04.1_amd64.deb ...
Unpacking libpython3.5:amd64 (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ...
Preparing to unpack .../python3.5_3.5.3-1ubuntu0~17.04.1_amd64.deb ...
Unpacking python3.5 (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ...
Preparing to unpack .../libpython3.5-stdlib_3.5.3-1ubuntu0~17.04.1_amd64.deb ...
Unpacking libpython3.5-stdlib:amd64 (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ...
Preparing to unpack .../python3.5-minimal_3.5.3-1ubuntu0~17.04.1_amd64.deb ...
Unpacking python3.5-minimal (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ...
Preparing to unpack .../libpython3.5-minimal_3.5.3-1ubuntu0~17.04.1_amd64.deb ...
Unpacking libpython3.5-minimal:amd64 (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Setting up libpython3.5-minimal:amd64 (3.5.3-1ubuntu0~17.04.1) ...
Setting up libpython3.5-stdlib:amd64 (3.5.3-1ubuntu0~17.04.1) ...
Setting up python3.5-minimal (3.5.3-1ubuntu0~17.04.1) ...
Setting up python3.5 (3.5.3-1ubuntu0~17.04.1) ...
Setting up libpython3.5:amd64 (3.5.3-1ubuntu0~17.04.1) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
I followed the test case in the bug description and installed python version 3.5.1 in /usr/local/bin and did receive the traceback from the description when reinstalling python3.5. I then modified my /etc/apt/ sources. list file to enable -proposed ran 'apt-get update' and then installed python3.5 from zesty-proposed.
Get:1 http:// archive. ubuntu. com/ubuntu zesty-proposed/main amd64 libpython3.5 amd64 3.5.3-1ubuntu0~ 17.04.1 [1,372 kB] archive. ubuntu. com/ubuntu zesty-proposed/main amd64 python3.5 amd64 3.5.3-1ubuntu0~ 17.04.1 [175 kB] archive. ubuntu. com/ubuntu zesty-proposed/main amd64 libpython3.5-stdlib amd64 3.5.3-1ubuntu0~ 17.04.1 [2,167 kB] archive. ubuntu. com/ubuntu zesty-proposed/main amd64 python3.5-minimal amd64 3.5.3-1ubuntu0~ 17.04.1 [1,635 kB] archive. ubuntu. com/ubuntu zesty-proposed/main amd64 libpython3. 5-minimal amd64 3.5.3-1ubuntu0~ 17.04.1 [529 kB] 5_3.5.3- 1ubuntu0~ 17.04.1_ amd64.deb ... 1ubuntu0~ 17.04.1) over (3.5.3- 1ubuntu0~ 17.04.0) ... 5_3.5.3- 1ubuntu0~ 17.04.1_ amd64.deb ... 1ubuntu0~ 17.04.1) over (3.5.3- 1ubuntu0~ 17.04.0) ... 5-stdlib_ 3.5.3-1ubuntu0~ 17.04.1_ amd64.deb ... 5-stdlib: amd64 (3.5.3- 1ubuntu0~ 17.04.1) over (3.5.3- 1ubuntu0~ 17.04.0) ... 5-minimal_ 3.5.3-1ubuntu0~ 17.04.1_ amd64.deb ... 1ubuntu0~ 17.04.1) over (3.5.3- 1ubuntu0~ 17.04.0) ... 5-minimal_ 3.5.3-1ubuntu0~ 17.04.1_ amd64.deb ... 5-minimal: amd64 (3.5.3- 1ubuntu0~ 17.04.1) over (3.5.3- 1ubuntu0~ 17.04.0) ... 17.04.20170406- 0ubuntu1) ... applications/ bamf-2. index.. . 5-minimal: amd64 (3.5.3- 1ubuntu0~ 17.04.1) ... 5-stdlib: amd64 (3.5.3- 1ubuntu0~ 17.04.1) ... 1ubuntu0~ 17.04.1) ... 1ubuntu0~ 17.04.1) ... 1ubuntu0~ 17.04.1) ...
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Fetched 5,877 kB in 1s (3,560 kB/s)
(Reading database ... 229111 files and directories currently installed.)
Preparing to unpack .../libpython3.
Unpacking libpython3.5:amd64 (3.5.3-
Preparing to unpack .../python3.
Unpacking python3.5 (3.5.3-
Preparing to unpack .../libpython3.
Unpacking libpython3.
Preparing to unpack .../python3.
Unpacking python3.5-minimal (3.5.3-
Preparing to unpack .../libpython3.
Unpacking libpython3.
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.3+
Rebuilding /usr/share/
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Setting up libpython3.
Setting up libpython3.
Setting up python3.5-minimal (3.5.3-
Setting up python3.5 (3.5.3-
Setting up libpython3.5:amd64 (3.5.3-
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
No traceback!