Commit d918d4a
committed
gh-155742: Use PyBytesWriter in _io _textiowrapper_writeflush()
Replace soft deprecated PyBytes_FromStringAndSize() with
PyBytesWriter.
Replace PyBytes_AsStringAndSize() with PyBytes_AS_STRING() and
PyBytes_GET_SIZE().1 parent cd98657 commit d918d4a
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1671 | 1671 | | |
1672 | 1672 | | |
1673 | 1673 | | |
1674 | | - | |
1675 | | - | |
| 1674 | + | |
| 1675 | + | |
1676 | 1676 | | |
1677 | 1677 | | |
1678 | 1678 | | |
1679 | | - | |
| 1679 | + | |
1680 | 1680 | | |
1681 | 1681 | | |
1682 | 1682 | | |
1683 | 1683 | | |
1684 | | - | |
| 1684 | + | |
1685 | 1685 | | |
1686 | 1686 | | |
1687 | 1687 | | |
| |||
1690 | 1690 | | |
1691 | 1691 | | |
1692 | 1692 | | |
1693 | | - | |
1694 | | - | |
1695 | | - | |
1696 | | - | |
| 1693 | + | |
| 1694 | + | |
1697 | 1695 | | |
1698 | 1696 | | |
1699 | 1697 | | |
1700 | 1698 | | |
1701 | 1699 | | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
1702 | 1705 | | |
1703 | 1706 | | |
1704 | 1707 | | |
| |||
0 commit comments