Commit b92cf06
committed
PyObject_CallFunction(), PyObject_CallMethod(): Make sure we do not touch
the va_list until we are sure we have a format string and need to use it;
this avoid premature initialization and having to finalize it several
different places because of error returns.1 parent 0af4916 commit b92cf06
1 file changed
Lines changed: 11 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1670 | 1670 | | |
1671 | 1671 | | |
1672 | 1672 | | |
1673 | | - | |
1674 | 1673 | | |
1675 | | - | |
1676 | | - | |
| 1674 | + | |
1677 | 1675 | | |
1678 | | - | |
1679 | 1676 | | |
1680 | | - | |
| 1677 | + | |
| 1678 | + | |
1681 | 1679 | | |
| 1680 | + | |
| 1681 | + | |
1682 | 1682 | | |
1683 | 1683 | | |
1684 | 1684 | | |
1685 | | - | |
1686 | | - | |
1687 | 1685 | | |
1688 | 1686 | | |
1689 | 1687 | | |
| |||
1709 | 1707 | | |
1710 | 1708 | | |
1711 | 1709 | | |
1712 | | - | |
1713 | 1710 | | |
1714 | | - | |
1715 | | - | |
| 1711 | + | |
1716 | 1712 | | |
1717 | | - | |
1718 | 1713 | | |
1719 | 1714 | | |
1720 | 1715 | | |
1721 | | - | |
1722 | 1716 | | |
1723 | 1717 | | |
1724 | 1718 | | |
1725 | 1719 | | |
1726 | | - | |
1727 | | - | |
| 1720 | + | |
1728 | 1721 | | |
1729 | | - | |
1730 | 1722 | | |
1731 | | - | |
| 1723 | + | |
| 1724 | + | |
1732 | 1725 | | |
| 1726 | + | |
| 1727 | + | |
1733 | 1728 | | |
1734 | 1729 | | |
1735 | 1730 | | |
1736 | | - | |
1737 | | - | |
1738 | 1731 | | |
1739 | 1732 | | |
1740 | 1733 | | |
| |||
0 commit comments