Skip to content

Check if the name starts with '_' prior to getattr. See #1762.#1776

Merged
r0x0r merged 1 commit intor0x0r:masterfrom
jonathanbluhm:fix-get-functions
Jan 16, 2026
Merged

Check if the name starts with '_' prior to getattr. See #1762.#1776
r0x0r merged 1 commit intor0x0r:masterfrom
jonathanbluhm:fix-get-functions

Conversation

@jonathanbluhm
Copy link
Copy Markdown
Contributor

No description provided.

@r0x0r
Copy link
Copy Markdown
Owner

r0x0r commented Jan 16, 2026

Thanks for the fix!

@r0x0r r0x0r merged commit c355f71 into r0x0r:master Jan 16, 2026
7 checks passed
Hancock33 added a commit to Hancock33/batocera.piboy that referenced this pull request Apr 13, 2026
---------------------------------------------------------------------------------------
applewin.mk b0a1c705b47728860060fec7c2f3f556e69cabd6 # Version: Commits on Apr 12, 2026
---------------------------------------------------------------------------------------
Merge pull request #345 from sh95014/cassette-api

new CassetteTape API,

-------------------------------------------------------------------------------------
azahar.mk 1edc5de18e91971878234da0dbd693041ca87905 # Version: Commits on Apr 13, 2026
-------------------------------------------------------------------------------------
android: Stop emulation state if activity destroyed and fix relaunching from intents (#2000),

------------------------------------------------------------------------------------------
dolphin-emu.mk b62bfe4b30a03077790b61fd8bc4bcadcb0b673b # Version: Commits on Apr 13, 2026
------------------------------------------------------------------------------------------
Merge pull request #14336 from SuperSamus/arbitrary-mipmap-disables-gpu-decoding

VideoCommon: Invert interaction between Arbitrary Mipmap Detection and GPU Texture Decoding (the former disables the latter),

-----------------------------------------------------------------------------------
eden.mk a7ef19e0286b9913c451f500a52ec3fe2c3f576c # Version: Commits on Apr 13, 2026
-----------------------------------------------------------------------------------
[settings] Exposes the Hidden GPU Async Setting on other Platforms (#3833)

-------------------------------------------------------------------------------------
hatari.mk 58d46dff458a4707a9c1a90a404beb01dbd834b5 # Version: Commits on Apr 13, 2026
-------------------------------------------------------------------------------------
Workaround for WinUAE disassembler stack smashing / crashing

Prior to writing to buffer and adding the symbol to it, showea_val()

advances pointer to end of given buffer content. Take also that into

account.

This is workaround instead of a fix, because 80 chars is nowhere near

the space needed to show full C++ symbols within disassembly.

Demangled C++ symbols can be hundreds of chars long...

PS. Upstream code has similar issue(s) in symbol additions, so this

fix will likely need to be adapted to later upstream fixes for the

same issue, after it's been verified that this fixes the user

crashes.,

--------------------------------------------------------------------------------------
openmsx.mk cc1c8b1cd716c0604e02cab8a65e0d3533927133 # Version: Commits on Apr 12, 2026
--------------------------------------------------------------------------------------
romdb -  more cleanup and new additions,

----------------------------------------------------
pcsx2.mk v2.7.250 # Version: Commits on Apr 13, 2026
----------------------------------------------------
- [Qt: Add RetroAchievements to Setup Wizard](PCSX2/pcsx2#14284)

,

-----------------------------------------------------------------------------------
play.mk dba5eb3e729527ccb256372a5066bf1ebc87d1ab # Version: Commits on Apr 13, 2026
-----------------------------------------------------------------------------------
Merge pull request #1576 from jpd002/dependabot/github_actions/mymindstorm/setup-emsdk-16

Bump mymindstorm/setup-emsdk from 15 to 16,

------------------------------------------------------------------------------------
rpcs3.mk bcd9663349f1e2404976188d9997878ea036bc93 # Version: Commits on Apr 13, 2026
------------------------------------------------------------------------------------
Thread.cpp: Added stack trace and register logging to exception filter (#18564),

-----------------------------------------------------
ryujinx.mk 1.3.269 # Version: Commits on Apr 13, 2026
-----------------------------------------------------
1.3.269

-------------------------------------------------------------------------------------------
xenia-canary.mk 763b160c7aefb0d8fb34911986716351adfcf829 # Version: Commits on Apr 13, 2026
-------------------------------------------------------------------------------------------
[Threading/Linux] Add fallback to nice values

SCHED_FIFO requires CAP_SYS_NICE or root, try SCHED_FIFO first for real-time

priority control, then fall back to setpriority() nice values if permission

is denied.,

-------------------------------------------------------------------------------------------
xenia-native.mk 763b160c7aefb0d8fb34911986716351adfcf829 # Version: Commits on Apr 13, 2026
-------------------------------------------------------------------------------------------
[Threading/Linux] Add fallback to nice values

SCHED_FIFO requires CAP_SYS_NICE or root, try SCHED_FIFO first for real-time

priority control, then fall back to setpriority() nice values if permission

is denied.,

-----------------------------------------------------------------------------------------
lightspark.mk f680ce75818fd1eed9a7d05b6f706fb78c81c50d # Version: Commits on Apr 11, 2026
-----------------------------------------------------------------------------------------
[TextField] switch to twips for text formatting

fixes a few text formatting issues,

-------------------------------------------------------------------------------------------
moonlight-qt.mk ed029f194fdcdbdb7e2c50fa6a49af6c8b3ef525 # Version: Commits on Apr 12, 2026
-------------------------------------------------------------------------------------------
Propagate CFLAGS/CXXFLAGS/LDFLAGS environment variables to QMake

Closes #1602,

----------------------------------------------------------------------------------------------------
gamenetworkingsockets.mk 46c0a4f98a8ef77613d31b0414e0191ccf8ec877 # Version: Commits on Apr 13, 2026
----------------------------------------------------------------------------------------------------
Linux flavors

Drop bionic.

CI now uses latest LTS

linux-flavors will also test previous LTS,

---------------------------------------------------
pywebview.mk 6.2 # Version: Commits on Apr 13, 2026
---------------------------------------------------
### âš¡ Features

- `All` Display scaling support for `Screen` class. Screen objects now report proper DPI-aware dimensions. New properties include `scale`, `dpi`, `physical_x`, `physical_y`, `physical_width` and `physical_height`.

- `All` New `multiprocess` example demonstrating multi-process architecture with a non-blocking architecture.

- `All` Support for state index notation (eg. `window.state[\attribute\]`) for easier state access.

- `All` Bump minimum Python version to 3.8.

### 🚀 Improvements

- `All` Support for static methods for JS API exposure. Thanks @ivanovmatveywork. [#1770](r0x0r/pywebview#1770)

- `Cocoa` Improved file picker to use all MIME types from accept attribute in NSOpenPanel. Wildcard types (image/*, video/*) are now properly mapped to their supertype UTIs. Thanks @JMHSV. [#1781](r0x0r/pywebview#1781) [#1780](r0x0r/pywebview#1780)

- `Cocoa` Icon support. Thanks @sevilla. [#1757](r0x0r/pywebview#1757)

- `Winforms` Icon support. Thanks @sevilla. [#1755](r0x0r/pywebview#1755)

- `Winforms` Improved theme detection using AppsUseLightTheme registry key instead of SystemUsesLightTheme. Thanks @Mnaisuka. [#1760](r0x0r/pywebview#1760)

- `Winforms` Fallback to coreclr when netfx runtime is not found. Thanks @HZBHZB1234. [#1791](r0x0r/pywebview#1791)

- `EdgeChromium` Update WebView2 to 1.0.3856.49

- `QT` Support for `REMOTE_DEBUGGING_PORT` via `webview.settings['REMOTE_DEBUGGING_PORT']`. Thanks @cybergrind. [#1740](r0x0r/pywebview#1740)

### � Bug fixes

- `All` Fix file pattern parsing in file dialogs.

- `All` Fix `window.expose` race condition.

- `All` Fix 'WindowsPath' object has no attribute '_hash'. Thanks @jonathanbluhm. [#1762](r0x0r/pywebview#1762) [#1776](r0x0r/pywebview#1776)

- `Cocoa` Fix use-after-free crash on macOS ARM64 by disabling releasedWhenClosed. NSWindow now properly manages retain count. Thanks @smparkes. [#1799](r0x0r/pywebview#1799)

- `Cocoa` Fix single app delegate - use a single shared AppDelegate instead of one per window. Thanks @smparkes. [#1801](r0x0r/pywebview#1801)

- `Cocoa` Clear delegates before removing from instances dict in windowWillClose_ to prevent callbacks after window closure. Thanks @smparkes. [#1802](https://github.com/r0x0r/pywinsebview/issues/1802)

- `Cocoa` Fix input file accept parameter handling. [#1604](r0x0r/pywebview#1604)

- `Cocoa` Prevent crash in windowDidBecomeKey_ when window is closed.

- `Cocoa` Release retained instances on window close to prevent memory leaks in macOS Tahoe. Thanks @AlecHaring. [#1743](r0x0r/pywebview#1743)

- `Cocoa` Fix macOS drag handler. Thanks @AlecHaring. [#1742](r0x0r/pywebview#1742)

- `Winforms` Fix window position scaling for proper multi-monitor support.

- `Winforms` Fix logical pixels calculation for DPI-aware rendering.

- `Winforms` Fix Ctrl+C signal handling.

- `QT` Fix resize problem.

- `QT` Fix mousemove exception and other minor issues.

- `GTK` Fix menu rendering.

- `GTK` Fix response_received events when there's no request_sent event. Thanks @jmuchemb. [#1784](r0x0r/pywebview#1784)

- `GTK` Fix background color not being applied correctly. [#1811](r0x0r/pywebview#1811)

- `EdgeChromium` Better exception handling in clear_user_data.,

------------------------------------------------------------------------
aic8800.mk 5.0+git20260123.5f7be68d-4 # Version: Commits on Apr 13, 2026
------------------------------------------------------------------------
feat: release 5.0+git20260123.5f7be68d-4,

------------------------------------------------------------------------------------------
dxx-rebirth.mk b749eadb4080f596ce90ef7b2be97d7c1213567f # Version: Commits on Apr 12, 2026
------------------------------------------------------------------------------------------
`fvi.cpp`: fix non-macOS compilation errors

LLVM's libc++ provides a `std::bitset<N>::operator[](size_t) const` with

a non-standard signature <https://bugs.llvm.org/show_bug.cgi?id=10314>

(opened 2011-07-09, later moved to

<llvm/llvm-project#10686>).

`operator[](size_t) const` should return `bool`, but LLVM's version

returns a proxy object.  This caused commit

a1b6c6811b033580ee3f7b4379dd6f352a7fcfc6 to break builds using LLVM's

libc++, such as the macOS build, since `bool` can be used to

list-initialize an `enum collision_result`, but the proxy object cannot

be used there.  Builds run by clang with gcc's libstdc++ headers

accepted that commit.  Commit 53130e805a57cf3875cfb6be690541c84fa0ec54

attempted to fix this by adding a `static_cast<bool>` to force the proxy

object to the correct type.  However, this cast is useless on gcc, where

`operator[](size_t) const` already returns `bool`, so the cast breaks

the gcc build by introducing a `-Wuseless-cast` warning.  clang does not

recognize `-Wuseless-cast`, so only gcc builds can catch this new

failure.  Resolve the `-Wuseless-cast` failure by creating an anonymous

bool via list-initialization, and then using that bool to

list-initialize the `collision_result`.  gcc generates the same code for

this fix as it did before the introduction of `static_cast<bool>`, and

does not warn about the `bool` list-initialize step as useless, so this

version of the code works on both macOS clang and on Linux gcc.

Fixes: 53130e805a57cf3875cfb6be690541c84fa0ec54 (\Fix macOS compilation errors\),

------------------------------------------------------------------------------------------
fallout2-ce.mk 14839db4f99eb904da93415c78a5f36feb89d494 # Version: Commits on Apr 12, 2026
------------------------------------------------------------------------------------------
Set DPI Awareness hint on windows (#370)

* Set DPI Awareness hint on windows

* Windows specific hint must be used only on WIN32

* Check for SDL_HINT_WINDOWS_DPI_AWARENESS

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>,

--------------------------------------------------------------------------------------
omf2097.mk 450d27155ae9eef2486202461c09c27a66aca901 # Version: Commits on Apr 12, 2026
--------------------------------------------------------------------------------------
Merge pull request #1373 from omf2097/extended-palette

Extended palette,

----------------------------------------------------------------------------------------
openjkdf2.mk 3a706bbaf262c3f9d519ba328f5d8fb843c070b5 # Version: Commits on Apr 13, 2026
----------------------------------------------------------------------------------------
Merge pull request #423 from bobberb/fix/hook-system

Fix broken hook registrations for non-existent functions,

----------------------------------------------------------------------------------------
openmohaa.mk bcf1c4a4ea3ad2a2f25189ae97b90c9ecd249b91 # Version: Commits on Apr 12, 2026
----------------------------------------------------------------------------------------
docs: improve installation documentation,

---------------------------------------------------------------------------------------
mangohud.mk b7730c978cacbb44d2ac7cc537dd5d91560e4365 # Version: Commits on Apr 12, 2026
---------------------------------------------------------------------------------------
shim: Allow experimental dlsym fix to be used using env var

This allows user to enable experimental dlsym RTLD_DEFAULT fix.

this is currently disabled by default, as it may introduce issues.

the fix can be enabled by env MANGOHUD_DLSYM_RTLD_DEFAULT_FIX=1

also MANGOHUD_DLSYM_RTLD_NEXT_BAD_FIX=1 can be used to try and use

the same solution for RTLD_NEXT however, the resulting behavior is mostly

wrong, and will result in issues.

MANGOHUD_DLSYM_RTLD_NEXT_BAD_FIX=1 implies MANGOHUD_DLSYM_RTLD_DEFAULT_FIX=1,

-------------------------------------------------------------------------------------------------
shadps4-qtlauncher.mk 3b97226adb80093400730fdd05f05812f93a7593 # Version: Commits on Apr 13, 2026
-------------------------------------------------------------------------------------------------
Trophy viewer - additional extraction fixes (#311),

----------------------------------------------------------------------------------------------------
sdl2-gamecontrollerdb.mk e6f9f10b2616badca4849e2d8ac1fa175114d854 # Version: Commits on Apr 13, 2026
----------------------------------------------------------------------------------------------------
Add Raphnet GC/N64 to USB v2 mapping for Linux (#941)

* Add Raphnet GC/N64 to USB v2 mapping for Linux

Add mapping for the raphnet.net GC/N64 to USB v2 adapter

(VID:1740 PID:057F, GUID:03008da2401700007f05000001010000).

This adapter variant was not previously covered by the existing

Raphnet entries (which use VID:289B). Mapping was generated using

SDL3 testcontroller and verified against raw joystick events.

Analog triggers use -a4/-a5 (negative half-axis) because the

adapter outputs inverted values (high positive at rest, negative

when pressed).

* Remove CRC in GUIDs

---------

Co-authored-by: Alynne <alviscera@gmail.com>,

--------------------------------------------------------------------------------------
xpadneo.mk b514bd4454ddca2c40bf5522b3083cf079c9764e # Version: Commits on Apr 13, 2026
--------------------------------------------------------------------------------------
xpadneo, debug: Add debugging of any HID report

Signed-off-by: Kai Krakow <kai@kaishome.de>,

----------------------------------------------------------------------------------------
retroarch.mk 3e0411c508b0df6227063c67c4e85b897221e0ad # Version: Commits on Apr 13, 2026
----------------------------------------------------------------------------------------
(RPNG) Silence warning,

-------------------------------------------------------------------------------------
libdof.mk 37005ff75a7d4bb9bb5370acea8cf1c54affba21 # Version: Commits on Apr 12, 2026
-------------------------------------------------------------------------------------
misc: move usb lifecycle into new IOConfigurator,

---------------------------------------------------------------------------------------
vpinball.mk 2e25f5ebec2a19f81bc0fbe91d1bbb41fdd10250 # Version: Commits on Apr 12, 2026
---------------------------------------------------------------------------------------
pup: another pass at multiple inits (fixes stle),

----------------------------------------------------------------------------------------
doomretro.mk 5786c26d97cf0d68e0a4dec5552dbd939f18732f # Version: Commits on Apr 13, 2026
----------------------------------------------------------------------------------------
Remove Direct3D 11 support for now,

--------------------------------------------------------------------------------------
yquake2.mk 26cd1fe3163c8fcf1456e39a22366eb077727101 # Version: Commits on Apr 13, 2026
--------------------------------------------------------------------------------------
build(deps): bump softprops/action-gh-release from 2 to 3

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3.

- [Release notes](https://github.com/softprops/action-gh-release/releases)

- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)

- [Commits](softprops/action-gh-release@v2...v3)

---

updated-dependencies:

- dependency-name: softprops/action-gh-release

  dependency-version: '3'

  dependency-type: direct:production

  update-type: version-update:semver-major

...

Signed-off-by: dependabot[bot] <support@github.com>,

------------------------------------------------------------------------------------------
xash3d-fwgs.mk 0d40357b93b43e468f3ab083264487b01b97ee96 # Version: Commits on Apr 13, 2026
------------------------------------------------------------------------------------------
ref: common: wscript: fix psvita build,

---------------------------------------------------------------------------------------------
libretro-citra.mk 1edc5de18e91971878234da0dbd693041ca87905 # Version: Commits on Apr 13, 2026
---------------------------------------------------------------------------------------------
android: Stop emulation state if activity destroyed and fix relaunching from intents (#2000),

------------------------------------------------------------------------------------------------------
libretro-doublecherrygb.mk 33c09c13856a8d36c8922a1a1c319c0b1259100f # Version: Commits on Apr 13, 2026
------------------------------------------------------------------------------------------------------
🩹 Fixed Zelda Oracle color correction,

---------------------------------------------------------------------------------------------
libretro-fbneo.mk e5122551d533ae271d027f2a14f1348165c8c57d # Version: Commits on Apr 13, 2026
---------------------------------------------------------------------------------------------
(libretro) display version in logs,

-------------------------------------------------------------------------------------------------
libretro-geargrafx.mk c3803c6b9f29d27932885d5cc86fe836c7c0ba4d # Version: Commits on Apr 12, 2026
-------------------------------------------------------------------------------------------------
Enhance color output description with LPF filter

Added optional LPF filter to RGB or Composite color output.,

-----------------------------------------------------------------------------------------------
libretro-geolith.mk cc223a0b67a2294a7f0e06d50170527b63d54caf # Version: Commits on Apr 13, 2026
-----------------------------------------------------------------------------------------------
geo_cd: Split off LC8951 code and use safer state serialization,

----------------------------------------------------------------------------------------------
libretro-stella.mk b7fd1f5a35245439b82268cf4f20f502a07fcab8 # Version: Commits on Apr 12, 2026
----------------------------------------------------------------------------------------------
Removed FSNode::write that took a stringstream, and then all the relevant callsites.,

-------------------------------------------------------------------------------------------
glsl-shaders.mk ebe123c55fa8538ec6abfa3eaa22d87f91e36679 # Version: Commits on Apr 12, 2026
-------------------------------------------------------------------------------------------
Tweak some more fakelottes-ntsc-* parameters (#556),

--------------------------------------------------------------------------------------------
slang-shaders.mk 6f21e7868a9f367edd4de80f13f68c15d3af9e0f # Version: Commits on Apr 13, 2026
--------------------------------------------------------------------------------------------
vectorscale: T-junction pair selection per paper + crossing fixes (#894)

* vectorscale: T-junction pair selection per paper + crossing fixes

cell-graph: Replace hardcoded geometric priority with paper's Section

3.3 shading/contour + angle heuristic for T-junction through-pair

selection. Handle t_count == 4 in nbr_cp_idx to fix out-of-bounds

when all 4 boundaries are present.

optimize-energy: Combined curvature from both chains at crossings,

corner nodes excluded from curvature energy.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* vectorscale: fix out-of-bounds in nbr_cp_idx when t_count == 4

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* vectorscale: sRGB-correct AA blending + L∞ pixel width projection

AA blending now decodes sRGB to linear before blending and re-encodes

after, preventing muddy midtones on dark boundaries. Pixel width

projection uses L∞ norm (max) instead of L1 (sum) for tighter AA

bands on diagonal curves.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants