Skip to main content

Mutable Integer package, a subclass of int

Project description

Python Mutable Integer package, a subclass of int


'pip install mutableint'

This package is a proof of concept implemenation of a mutable integer object for Python. The mutable integer class is a sub-class of the built-in int class.
The mutable integer object feels like an int, works like an int, it even works exactly like an int when the Python object is passed into C code via SWIG


from mutableint import MutableInt

# create a mutable integer with value 10 
a = MutableInt(10)

# change the value of a to 11


Install and compile the package locally

'python setup install'

Run the unit tests


Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

mutableint-0.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

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