If you ever missed segfaults in Python, there you go
Reason this release was yanked:
no win support
Project description
Segfault Package / Пакет Segfault
English
Description
Segfault is a package I created as a joke, containing exactly one method that triggers a C exception: raise(SIGSEGV)
Why was this package created? I was bored.
Installation
To install, run the following command:
import segfault
segfault.cause_segfault()
Usage
Import and call the function cause_segfault:
import segfault
segfault.cause_segfault()
This will cause the program to terminate with a segmentation fault.
License
This package is provided "as is" without any warranties. Use at your own risk.
Русский
Описание
Segfault — пакет который я создал ради шутки и содержит ровно 1 метод, вызывающий исключение C : raise(SIGSEGV)
С какой целю был создан пакет? Мне было скучно.
Установка
Для установки пропишите команду:
pip install segfault_package
Использование
Импортируйте и вызовите функцию cause_segfault:
import segfault
segfault.cause_segfault()
Это приведет к аварийному завершению программы с сегментационным нарушением.
Лицензия
Этот пакет предоставляется "как есть" без каких-либо гарантий. Используйте на свой страх и риск.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file segfault_package-0.0.1.tar.gz.
File metadata
- Download URL: segfault_package-0.0.1.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
743029745c04f98f43301f17f2845b91048a9bc13761d9f630e87d3af8b06032
|
|
| MD5 |
0cd68eb252a5bc68c8426526841dd8ba
|
|
| BLAKE2b-256 |
7ed15bdffa28112b7c02366162bff7b9094e59d7d8e7c9859d1a0935fe5a9365
|
File details
Details for the file segfault_package-0.0.1-py3-none-any.whl.
File metadata
- Download URL: segfault_package-0.0.1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01e8dd951b86725d404b2bae9b535002e2f3f0f82094c369a5d1d141bf0dd71f
|
|
| MD5 |
c2c268972a3b07f1be35497c9588f8f8
|
|
| BLAKE2b-256 |
ed81751ea449714b626d4af1dd9e2bce56b4a678a967056348cf9ef910346ba9
|