Skip to main content

If you ever missed segfaults in Python, there you go

Reason this release was yanked:

Even though raise(SIGSEGV), you would not get wanted msg in console

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

segfault_package-0.0.2.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

segfault_package-0.0.2-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file segfault_package-0.0.2.tar.gz.

File metadata

  • Download URL: segfault_package-0.0.2.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.7

File hashes

Hashes for segfault_package-0.0.2.tar.gz
Algorithm Hash digest
SHA256 591aa39f0f28dcdfc33bfd104215c6c6c9efeaa6b3a337281ccfd7c6e846f5d0
MD5 eb87a4d2342883a8240b97476556bfde
BLAKE2b-256 79d3332a5ebf874057bc1facb58bbc3351d02642bc6cf5a9bfe042d99251b55c

See more details on using hashes here.

File details

Details for the file segfault_package-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for segfault_package-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 94dcc11a67856cd5de58058d4aca0afaf6443fd150231957344091f706dc7232
MD5 36ed5a99818d456db9ae7f0eccc9cf45
BLAKE2b-256 36558015032a33ca46f8a90796de35901126531ca83389c80e0316054ab89e75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page