summaryrefslogtreecommitdiffstats
path: root/Objects/namespaceobject.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9566: Fix a compiler warning on Windows 64-bit in namespace_init()Victor Stinner2013-06-041-1/+1
| | | | | | The result type is int, return -1 to avoid a compiler warning (cast Py_ssize_t to int). PyObject_Size() can only fail with -1, and anyway a constructor should return -1 on error, not an arbitrary negative number.
* Issue #15022: Ensure all pickle protocols are supported.Eric Snow2013-02-171-1/+24
|
* Issue #15022: Add pickle and comparison support to types.SimpleNamespace.Eric Snow2013-02-161-9/+24
|
* Close #16160: Subclass support now works for types.SimpleNamespace. Thanks ↵Eric Snow2012-10-171-12/+12
| | | | to RDM for noticing.
* Eric Snow's implementation of PEP 421.Barry Warsaw2012-06-031-0/+225
Issue 14673: Add sys.implementation