I have done a quick verification:
inside Noble lxc container:
````
root@perfect-dinosaur:~# python3 test.py
Traceback (most recent call last):
File "/root/test.py", line 23, in <module>
assert b''.join(tw.buffer.writes) == b"a" * (CHUNK_SIZE - 1) + b"b" * 2 +
b"c"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
root@perfect-dinosaur:~# add-apt-repository ppa:ubuntu-toolchain-r/python
...
root@perfect-dinosaur:~# apt upgrade
root@perfect-dinosaur:~# apt list | grep python3.12
...
python3.12/noble,now 3.12.3-1ubuntu0.13 amd64 [installed,automatic]
root@perfect-dinosaur:~# python3 test.py
root@perfect-dinosaur:~#
```
Binary-copying to the noble-proposed:
./copy-package -b --from ppa:ubuntu-toolchain-r/ubuntu/python --to ubuntu
--from-suite noble --to-suite noble-proposed python3.12
Copy candidates:
python3.12 3.12.3-1ubuntu0.13 in noble
idle-python3.12 3.12.3-1ubuntu0.13 in noble amd64
idle-python3.12 3.12.3-1ubuntu0.13 in noble arm64
idle-python3.12 3.12.3-1ubuntu0.13 in noble armhf
idle-python3.12 3.12.3-1ubuntu0.13 in noble i386
idle-python3.12 3.12.3-1ubuntu0.13 in noble ppc64el
idle-python3.12 3.12.3-1ubuntu0.13 in noble riscv64
idle-python3.12 3.12.3-1ubuntu0.13 in noble s390x
libpython3.12-dev 3.12.3-1ubuntu0.13 in noble amd64
libpython3.12-dev 3.12.3-1ubuntu0.13 in noble arm64
libpython3.12-dev 3.12.3-1ubuntu0.13 in noble armhf
libpython3.12-dev 3.12.3-1ubuntu0.13 in noble i386
libpython3.12-dev 3.12.3-1ubuntu0.13 in noble ppc64el
libpython3.12-dev 3.12.3-1ubuntu0.13 in noble riscv64
libpython3.12-dev 3.12.3-1ubuntu0.13 in noble s390x
libpython3.12-minimal 3.12.3-1ubuntu0.13 in noble amd64
libpython3.12-minimal 3.12.3-1ubuntu0.13 in noble arm64
libpython3.12-minimal 3.12.3-1ubuntu0.13 in noble armhf
libpython3.12-minimal 3.12.3-1ubuntu0.13 in noble i386
libpython3.12-minimal 3.12.3-1ubuntu0.13 in noble ppc64el
libpython3.12-minimal 3.12.3-1ubuntu0.13 in noble riscv64
libpython3.12-minimal 3.12.3-1ubuntu0.13 in noble s390x
libpython3.12-stdlib 3.12.3-1ubuntu0.13 in noble amd64
libpython3.12-stdlib 3.12.3-1ubuntu0.13 in noble arm64
libpython3.12-stdlib 3.12.3-1ubuntu0.13 in noble armhf
libpython3.12-stdlib 3.12.3-1ubuntu0.13 in noble i386
libpython3.12-stdlib 3.12.3-1ubuntu0.13 in noble ppc64el
libpython3.12-stdlib 3.12.3-1ubuntu0.13 in noble riscv64
libpython3.12-stdlib 3.12.3-1ubuntu0.13 in noble s390x
libpython3.12-testsuite 3.12.3-1ubuntu0.13 in noble amd64
libpython3.12-testsuite 3.12.3-1ubuntu0.13 in noble arm64
libpython3.12-testsuite 3.12.3-1ubuntu0.13 in noble armhf
libpython3.12-testsuite 3.12.3-1ubuntu0.13 in noble i386
libpython3.12-testsuite 3.12.3-1ubuntu0.13 in noble ppc64el
libpython3.12-testsuite 3.12.3-1ubuntu0.13 in noble riscv64
libpython3.12-testsuite 3.12.3-1ubuntu0.13 in noble s390x
libpython3.12t64 3.12.3-1ubuntu0.13 in noble amd64
libpython3.12t64 3.12.3-1ubuntu0.13 in noble arm64
libpython3.12t64 3.12.3-1ubuntu0.13 in noble armhf
libpython3.12t64 3.12.3-1ubuntu0.13 in noble i386
libpython3.12t64 3.12.3-1ubuntu0.13 in noble ppc64el
libpython3.12t64 3.12.3-1ubuntu0.13 in noble riscv64
libpython3.12t64 3.12.3-1ubuntu0.13 in noble s390x
libpython3.12t64-dbg 3.12.3-1ubuntu0.13 in noble amd64
libpython3.12t64-dbg 3.12.3-1ubuntu0.13 in noble arm64
libpython3.12t64-dbg 3.12.3-1ubuntu0.13 in noble armhf
libpython3.12t64-dbg 3.12.3-1ubuntu0.13 in noble i386
libpython3.12t64-dbg 3.12.3-1ubuntu0.13 in noble ppc64el
libpython3.12t64-dbg 3.12.3-1ubuntu0.13 in noble riscv64
libpython3.12t64-dbg 3.12.3-1ubuntu0.13 in noble s390x
python3.12 3.12.3-1ubuntu0.13 in noble amd64
python3.12 3.12.3-1ubuntu0.13 in noble arm64
python3.12 3.12.3-1ubuntu0.13 in noble armhf
python3.12 3.12.3-1ubuntu0.13 in noble i386
python3.12 3.12.3-1ubuntu0.13 in noble ppc64el
python3.12 3.12.3-1ubuntu0.13 in noble riscv64
python3.12 3.12.3-1ubuntu0.13 in noble s390x
python3.12-dbg 3.12.3-1ubuntu0.13 in noble amd64
python3.12-dbg 3.12.3-1ubuntu0.13 in noble arm64
python3.12-dbg 3.12.3-1ubuntu0.13 in noble armhf
python3.12-dbg 3.12.3-1ubuntu0.13 in noble i386
python3.12-dbg 3.12.3-1ubuntu0.13 in noble ppc64el
python3.12-dbg 3.12.3-1ubuntu0.13 in noble riscv64
python3.12-dbg 3.12.3-1ubuntu0.13 in noble s390x
python3.12-dev 3.12.3-1ubuntu0.13 in noble amd64
python3.12-dev 3.12.3-1ubuntu0.13 in noble arm64
python3.12-dev 3.12.3-1ubuntu0.13 in noble armhf
python3.12-dev 3.12.3-1ubuntu0.13 in noble i386
python3.12-dev 3.12.3-1ubuntu0.13 in noble ppc64el
python3.12-dev 3.12.3-1ubuntu0.13 in noble riscv64
python3.12-dev 3.12.3-1ubuntu0.13 in noble s390x
python3.12-doc 3.12.3-1ubuntu0.13 in noble amd64
python3.12-doc 3.12.3-1ubuntu0.13 in noble arm64
python3.12-doc 3.12.3-1ubuntu0.13 in noble armhf
python3.12-doc 3.12.3-1ubuntu0.13 in noble i386
python3.12-doc 3.12.3-1ubuntu0.13 in noble ppc64el
python3.12-doc 3.12.3-1ubuntu0.13 in noble riscv64
python3.12-doc 3.12.3-1ubuntu0.13 in noble s390x
python3.12-examples 3.12.3-1ubuntu0.13 in noble amd64
python3.12-examples 3.12.3-1ubuntu0.13 in noble arm64
python3.12-examples 3.12.3-1ubuntu0.13 in noble armhf
python3.12-examples 3.12.3-1ubuntu0.13 in noble i386
python3.12-examples 3.12.3-1ubuntu0.13 in noble ppc64el
python3.12-examples 3.12.3-1ubuntu0.13 in noble riscv64
python3.12-examples 3.12.3-1ubuntu0.13 in noble s390x
python3.12-full 3.12.3-1ubuntu0.13 in noble amd64
python3.12-full 3.12.3-1ubuntu0.13 in noble arm64
python3.12-full 3.12.3-1ubuntu0.13 in noble armhf
python3.12-full 3.12.3-1ubuntu0.13 in noble i386
python3.12-full 3.12.3-1ubuntu0.13 in noble ppc64el
python3.12-full 3.12.3-1ubuntu0.13 in noble riscv64
python3.12-full 3.12.3-1ubuntu0.13 in noble s390x
python3.12-minimal 3.12.3-1ubuntu0.13 in noble amd64
python3.12-minimal 3.12.3-1ubuntu0.13 in noble arm64
python3.12-minimal 3.12.3-1ubuntu0.13 in noble armhf
python3.12-minimal 3.12.3-1ubuntu0.13 in noble i386
python3.12-minimal 3.12.3-1ubuntu0.13 in noble ppc64el
python3.12-minimal 3.12.3-1ubuntu0.13 in noble riscv64
python3.12-minimal 3.12.3-1ubuntu0.13 in noble s390x
python3.12-nopie 3.12.3-1ubuntu0.13 in noble amd64
python3.12-nopie 3.12.3-1ubuntu0.13 in noble arm64
python3.12-nopie 3.12.3-1ubuntu0.13 in noble armhf
python3.12-nopie 3.12.3-1ubuntu0.13 in noble i386
python3.12-nopie 3.12.3-1ubuntu0.13 in noble ppc64el
python3.12-nopie 3.12.3-1ubuntu0.13 in noble riscv64
python3.12-nopie 3.12.3-1ubuntu0.13 in noble s390x
python3.12-venv 3.12.3-1ubuntu0.13 in noble amd64
python3.12-venv 3.12.3-1ubuntu0.13 in noble arm64
python3.12-venv 3.12.3-1ubuntu0.13 in noble armhf
python3.12-venv 3.12.3-1ubuntu0.13 in noble i386
python3.12-venv 3.12.3-1ubuntu0.13 in noble ppc64el
python3.12-venv 3.12.3-1ubuntu0.13 in noble riscv64
python3.12-venv 3.12.3-1ubuntu0.13 in noble s390x
Candidate copy target: https://api.launchpad.net/devel/ubuntu/+archive/primary,
noble, proposed
Copy [y|N]? y
113 copies requested.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144593
Title:
SRU: io.TextIOWrapper.write: write during flush causes pending_bytes
length mismatch leading to crash/corruption
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.12/+bug/2144593/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs