|
|
Subscribe / Log in / New account

Python support for regular expressions

Python support for regular expressions

Posted Feb 24, 2022 18:45 UTC (Thu) by NYKevin (subscriber, #129325)
In reply to: Python support for regular expressions by interalia
Parent article: Python support for regular expressions

Maybe a little, but I think the bigger issue here is that packaging and dependencies are a pathologically hard problem to solve. Nevertheless, I would expect Python to do a better job than it actually does, because Python's import system is almost entirely made up of first-class objects that exist at runtime. If you *wanted* to have some sort of fancy dependency resolution system requiring elaborate runtime support, Python has already built all of the complicated infrastructure which you need in order to make that possible (see e.g. the importlib documentation: https://docs.python.org/3/library/importlib.html). And yet Python's out-of-the-box packaging and dependency system is just as bad as everyone else's.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds