Hacker Newsnew | past | comments | ask | show | jobs | submit | lights0123's commentslogin

Yes, it’s the SIGBUS signal.

Python removes features all the time in 3.x releases. For example, I was not a fan of the distutils removal in 3.12 which broke many legacy but otherwise functional packages. Deprecated functions and classes are also removed from packages regularly.

They do publish removal plans years in advance, e.g. see Python 3.17's plans: https://docs.python.org/3/deprecations/pending-removal-in-3....


I agree. It would likely have identified the separate deflate and zstd chunks automatically.


Never thought about using that, thanks for the tip!


It is slightly wider than the space bar. I've never had an issue with mine, as it is located exactly where I expect it to be.


https://zealdocs.org/ is surprisingly decent.


Yes, Firefox 147 will respect XDG dirs.


GCC adds similar syntax as an extension to C: https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html

It's used all throughout the Linux kernel and useful for macros.


The best part of statement expressions is that a return there returns from the function itself, not from the statement expr.

I use that with with macros to return akins to std::expected, while maintaining the code in the happy-path like with exceptions.


noexec now prevents mmaping files on that filesystem as executable.



Python absolutely can run scripts in installation. Before pyproject.toml, arbitrary scripts were the only way to install a package. It's the reason PyPi.org doesn't show a dependency graph, as dependencies are declared in the Turing-complete setup.py.


Wrong. Wheels were available long before pyproject.toml, and you could instruct pip to only install from wheels. setup.py was needed to build the wheels, but the build step wasn’t a necessary part of installation and could be disabled. In that sense its role is similar to that of pre-publish build step of npm packages, unless wheels aren’t available.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: