{ "info": { "author": "Urb\u00e1n D\u00e1niel", "author_email": "urban.dani@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "This python module makes it possible to add new attributes to built-in\ntypes, enabling the user to modify types implemented in C, which is not\npossible from Python code.\n\nThe code doing the monkey patching is in ext/_ext.c. It basically adds\na new attribute to a built-in type's __dict__, and then calls\nPyType_Modified on the type. This way it is possible to add new methods\n(implemented in Python or C) or other class attributes to built-in types\n(like list).\nThe module is experimental. I'm not sure which problems can result from\nmodifying the dict of a built-in type.\nThe module doesn't allow replacing an existing attribute of a type, so it\nis harder to render unusable the built-in types. The monkey patching also\nworks on types implemented in Python (it just calls setattr after checking\nif there is already an attribute with the given name).", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/durban/ext", "keywords": "monkey patch built-in type", "license": "Apache License Version 2.0", "maintainer": null, "maintainer_email": null, "name": "ext", "package_url": "https://pypi.org/project/ext/", "platform": "any", "project_url": "https://pypi.org/project/ext/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/durban/ext" }, "release_url": "https://pypi.org/project/ext/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Monkey patching support for built-in types in CPython (3.x)", "version": "0.1.0" }, "last_serial": 397589, "releases": { "0.1.0": [] }, "urls": [] }