Re: [PATCH] pylibfdt: Replace removed SWIG Python 2 compatibility macros

Tom Rini <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <178664212400.3617045.5918029182707632556.b4-ty__17120.9137466334$1786642148$gmane$org@konsulko.com>
On Tue, 11 Aug 2026 15:34:33 +0200, Jaipaul Cheernam wrote:

> SWIG 4.5.0 removed Python 2 compatibility macros (PyInt_*, PyString_*)
> from its runtime header pyhead.swg (see commit 79f7a2b7cb7d). Replace
> them with their Python 3 C API equivalents:
> 
> - PyString_FromString -> PyUnicode_FromString
> - PyString_AsString -> PyBytes_AsString
> - PyInt_AsLong -> PyLong_AsLong
> 
> [...]

Applied to u-boot/main, thanks!

[1/1] pylibfdt: Replace removed SWIG Python 2 compatibility macros
      commit: 527115ef6783cec49e5610c523c124b399011361
-- 
Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.