summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* allow 2.7 to be built with asan (closes #24061)Benjamin Peterson2015-04-271-0/+20
|
* Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case ofSerhiy Storchaka2015-03-301-7/+4
| | | | MemoryError.
* Issue #22079: Py3k warning now is issued in PyType_Ready() instead ofSerhiy Storchaka2015-03-221-6/+9
| | | | | raising TypeError when statically allocated type subclasses dynamically allocated type
* Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵Antoine Pitrou2015-03-102-13/+1
| | | | objects.
* fix potential refleak in PyFloat_AsDouble (closes #23590)Benjamin Peterson2015-03-061-0/+1
|
* fix merge_collapse to actually maintain the invariant it purports to (closes ↵Benjamin Peterson2015-02-251-1/+2
| | | | | | | | #23515) See de Gouw, Stijn and Rot, Jurriaan and de Boer, Frank S and Bubel, Richard and Hähnle, Reiner "OpenJDK’s java.utils.Collection.sort() is broken: The good, the bad and the worst case"
* Issue #23370: Fix off-by-one error for non-contiguous buffers.Stefan Krah2015-02-011-2/+2
|
* Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV.Serhiy Storchaka2015-01-301-0/+2
|
* Issue #23055: Fixed off-by-one error in PyUnicode_FromFormatV.Serhiy Storchaka2015-01-301-1/+2
|
* Issue #23349: Fix off-by-one error in PyBuffer_ToContiguous(). Initial patchStefan Krah2015-01-301-2/+2
| | | | by Richard Hansen.
* Issue #22079: PyType_Ready() now checks that statically allocated type hasSerhiy Storchaka2015-01-281-0/+14
| | | | no dynamically allocated bases.
* Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. AnalysisSerhiy Storchaka2015-01-271-12/+13
| | | | and fix by Guido Vranken.
* Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-4/+4
|
* remove tautological condition (closes #22954)Benjamin Peterson2014-11-271-1/+1
|
* remove strange castsBenjamin Peterson2014-11-231-4/+4
|
* Closes #22772: fix __ifloordiv__ and __itruediv__ docstring.Georg Brandl2014-10-311-2/+2
|
* Issue #22604: Fix assertion error in debug mode when dividing a complex ↵Antoine Pitrou2014-10-101-2/+6
| | | | number by (nan+0j).
* use Py_ssize_t for file offset and length computations in iteration (closes ↵Benjamin Peterson2014-10-011-8/+7
| | | | #22526)
* fix overflow checking in PyString_Repr (closes #22519)Benjamin Peterson2014-09-291-2/+3
|
* cleanup overflowing handling in unicode_decode_call_errorhandler and ↵Benjamin Peterson2014-09-291-21/+48
| | | | unicode_encode_ucs1 (closes #22518)
* give exception a nice message (closes #22379)Benjamin Peterson2014-09-281-1/+1
| | | | Patch by Yongzhi Pan.
* Fix typo in comment.Raymond Hettinger2014-08-021-1/+1
|
* Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat().Victor Stinner2014-07-291-9/+9
|
* don't overwrite the error from PyObject_GetAttrString (closes #4346)Benjamin Peterson2014-06-271-8/+4
|
* avoid overflow with large buffer sizes and/or offsets (closes #21831)Benjamin Peterson2014-06-241-2/+2
|
* Merge.Charles-François Natali2014-06-1910-92/+96
|\
| * Issue 8743: Improve interoperability between sets and the collections.Set ↵Raymond Hettinger2014-05-261-6/+2
| | | | | | | | abstract base class.
| * Issue #21350: Fix file.writelines() to accept arbitrary buffer objects, as ↵Antoine Pitrou2014-05-081-7/+7
| | | | | | | | | | | | advertised. Patch by Brian Kearns.
| * Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_ResizeKristján Valur Jónsson2014-04-252-6/+4
| |
| * Issue #12546: Allow \x00 as a fill character for builtin type __format__ ↵Eric V. Smith2014-04-141-10/+8
| | | | | | | | methods.
| * bail in unicode error's __str__ methods if the objects are not properly ↵Benjamin Peterson2014-04-021-0/+12
| | | | | | | | initialized (closes #21134)
| * fix expandtabs overflow detection to be consistent and not rely on signed ↵Benjamin Peterson2014-03-301-19/+19
| | | | | | | | overflow
| * add braces and fix indentationBenjamin Peterson2014-03-301-17/+18
| |
| * fix indentation and add bracesBenjamin Peterson2014-03-301-16/+17
| |
| * give non-iterable TypeError a message (closes #20507)Benjamin Peterson2014-02-151-1/+1
| |
| * Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.Serhiy Storchaka2014-02-121-2/+4
| | | | | | | | This silences a Coverity complain.
| * Issue #20437: Fixed 43 potential bugs when deleting objects references.Serhiy Storchaka2014-02-092-8/+4
| |
* | Issue #21810: Backport mmap-based arena allocation failure check.Charles-François Natali2014-06-191-4/+9
|/
* mmap obmalloc arenas so that they may be immediately returned to the system ↵Benjamin Peterson2014-02-041-13/+37
| | | | when unused (closes #20494)
* Circumventing a bug in glibc (issue #17976).Serhiy Storchaka2013-12-171-3/+5
| | | | Patch by Jaakko Moisio.
* Issue #17976: Fixed potential problem with file.write() not detecting IO errorSerhiy Storchaka2013-12-171-1/+5
| | | | | by inspecting the return value of fwrite(). Based on patches by Jaakko Moisio and test by Victor Stinner.
* Issue #14432: Generator now clears the borrowed reference to the thread stateVictor Stinner2013-12-131-0/+3
| | | | | | | Fix a crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup.
* Issue #6477: Revert fbb97f6eb3b3 as it broke test_xpickle.Alexandre Vassalotti2013-12-011-2/+2
|
* Issue #6477: Added pickling support for singletons and their types.Alexandre Vassalotti2013-12-011-2/+2
|
* fix docstring. extra \.Gregory P. Smith2013-11-251-1/+1
|
* Document that @property can incorporate a docstring from the getter method. ↵Raymond Hettinger2013-11-241-5/+9
| | | | Improve readabilty with additional whitespace.
* Issue #19279: UTF-7 decoder no more produces illegal unicode strings.Serhiy Storchaka2013-10-191-0/+2
|
* Issue #19171: speed some cases of 3-argument long pow().Tim Peters2013-10-051-4/+10
| | | | | | | | | Reduce the base by the modulus when the base is larger than the modulus. This can unboundedly speed the "startup costs" of doing modular exponentiation, particularly in cases where the base is much larger than the modulus. Original patch by Armin Rigo, inspired by https://github.com/pyca/ed25519. (grafted from f34c59494420765b013136ca93f63b716d9f1d30)
* #19069: use imperative mood in float object docstrings. Patch by Marco Buttu.Ezio Melotti2013-10-051-9/+9
|
* #19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.Ezio Melotti2013-10-051-2/+2
|