summaryrefslogtreecommitdiffstats
path: root/Objects/namespaceobject.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't use deprecated function PyUnicode_GET_SIZE()Victor Stinner2013-11-131-1/+1
| | | | Replace it with PyUnicode_GET_LENGTH() or PyUnicode_AsUnicodeAndSize()
* Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou2013-08-131-1/+1
|
* 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