God, Love, News, Event, Entertainment, Amebo,..... All about Bringing out the best in you...
Show HN: Modshim – a new alternative to monkey-patching in Python https://ift.tt/VBU9lOF
Show HN: Modshim – a new alternative to monkey-patching in Python I've invented a new alternative to forking / vendoring / monkey-patching packages in Python. It's a bit like OverlayFS for Python modules - it allows you write modifications for a target module (lower) in a new module (upper), and have these combined in a new virtual module (mount). It works by rewriting imports using AST transformations, then running both the lower and upper module's code in the new Python module. This prevents polluting the global namespace when monkey-patching, and means if you want to make changes to a third-party package, you don't have to take on the maintenance burden of forking, you can package and distribute just your changes. https://ift.tt/s2GNyE7 October 16, 2025 at 01:17AM
Subscribe to:
Post Comments (Atom)
Show HN: Self-healing review gate and knowledge base for Claude Code (Beta) https://ift.tt/UZwQnsH
Show HN: Self-healing review gate and knowledge base for Claude Code (Beta) We built Verity.md for the new era of loop engineering where tra...
-
submitted by /u/Dull_Tonight [link] [comments] source https://www.reddit.com/r/worldnews/comments/pehy48/housing_secretary_robert_je...
-
Show HN: Lindra – generate browser agents to automate any website Hi HN, We’re one month into building Lindra, a platform that turns any web...
-
Show HN: High-precision date/time in SQLite https://ift.tt/hEvedVC August 12, 2024 at 03:47AM
No comments:
Post a Comment