summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* allow any type with __getitem__ to be a mapping for the purposes of % (#15801)Benjamin Peterson2013-03-242-4/+4
|
* Issue #10211 : Buffer object should support the new buffer interface.Kristján Valur Jónsson2013-03-191-2/+13
|
* Issue #16445: Fix potential segmentation fault when deleting an exception ↵Mark Dickinson2013-03-031-2/+1
| | | | message.
* fix building without pymalloc (closes #17228)Benjamin Peterson2013-02-201-1/+1
|
* #7963: fix error message when 'object' called with arguments.R David Murray2013-02-191-2/+2
| | | | Patch by Alexander Belopolsky.
* Issue #17043: The unicode-internal decoder no longer read past the end ofSerhiy Storchaka2013-02-071-27/+24
| | | | input buffer.
* Issue #17034: Use Py_CLEAR() in stringobject.c.Serhiy Storchaka2013-02-021-10/+5
|
* Silence a -Wformat-extra-argument warning when compiling.Gregory P. Smith2013-02-021-7/+15
|
* Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.Serhiy Storchaka2013-01-291-51/+28
|
* Issue #10156: In the interpreter's initialization phase, unicode globalsSerhiy Storchaka2013-01-261-41/+38
| | | | are now initialized dynamically as needed.
* Issue #16975: Fix error handling bug in the escape-decode decoder.Serhiy Storchaka2013-01-251-0/+4
|
* Issue #16335: Fix integer overflow in unicode-escape decoder.Serhiy Storchaka2013-01-211-1/+2
|
* Issue #15989: Fix possible integer overflow in str formatting as in unicode ↵Serhiy Storchaka2013-01-191-2/+6
| | | | formatting.
* Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-194-6/+42
| | | | | | | when result of PyInt_AsLong() or PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* Improve tooltips by listing the most common argument pattern first.Raymond Hettinger2013-01-191-1/+1
|
* Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"Serhiy Storchaka2013-01-151-21/+25
| | | | in any mapping, not only in an unicode string.
* Issue #11461: Fix the incremental UTF-16 decoder. Original patch bySerhiy Storchaka2013-01-081-1/+4
| | | | | Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters.
* Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.Serhiy Storchaka2013-01-081-1/+1
|
* untabifyBenjamin Peterson2013-01-021-3/+3
|
* call PyErr_Clear() when ignoring error from PyNumber_Int (closes #15516)Benjamin Peterson2013-01-021-1/+4
| | | | Patch from Tom Tromey.
* ensure the attribute name string is initalized before using it (closes #16839)Benjamin Peterson2013-01-021-1/+6
|
* get the core to compile --disable-unicodeBenjamin Peterson2013-01-021-1/+3
|
* Issue #16761: Raise TypeError when int() or long() called with base argument ↵Serhiy Storchaka2012-12-282-2/+14
| | | | only.
* Issue #16602: When a weakref's target was part of a long deallocation chain, ↵Antoine Pitrou2012-12-081-3/+2
| | | | | | the object could remain reachable through its weakref even though its refcount had dropped to zero. Thanks to Eugene Toder for diagnosing and reporting the issue.
* Issue #9742: Sneaky fix for build failure on Solaris 9.Mark Dickinson2012-11-171-0/+9
|
* Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵Antoine Pitrou2012-11-171-2/+26
| | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka.
* Issue #16453: Fix equality testing of dead weakref objects.Antoine Pitrou2012-11-111-4/+8
| | | | Also add tests for hashing.
* Fix compilation on WindowsChristian Heimes2012-11-031-1/+1
|
* #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an ↵Ezio Melotti2012-11-031-0/+6
| | | | error.
* avoid a function call with redundant checks for dict sizeBenjamin Peterson2012-10-311-1/+1
|
* only fast-path fromkeys() when the constructor returns a empty dict (closes ↵Benjamin Peterson2012-10-311-33/+34
| | | | #16345)
* initialize more global type objects (closes #16369)Benjamin Peterson2012-10-312-0/+18
|
* Issue #14700: Fix buggy overflow checks for large precision and width in ↵Mark Dickinson2012-10-284-22/+17
| | | | new-style and old-style formatting.
* Issue #14783: Backport changes from 3.2.Chris Jerdonek2012-10-086-20/+34
|
* Issues #16029, #16030: Fix pickling and repr of large xranges.Mark Dickinson2012-09-281-5/+29
|
* Fixed memory leak in error branch of object_repr which may leak a reference ↵Christian Heimes2012-09-101-1/+3
| | | | to mod when type_name returns NULL. CID 715371
* Fixed possible reference leak to mod when type_name() returns NULLChristian Heimes2012-09-101-1/+3
|
* PyTuple_Pack() was missing va_end() in its error branch which lead to a ↵Christian Heimes2012-09-101-1/+3
| | | | resource leak.
* Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-052-0/+42
| | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 2.7.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 2.7.3 and earlier. However, extension modules compiled for 2.7.3 and earlier will be loadable by 2.7.4.
* use the stricter PyMapping_Check (closes #15801)Benjamin Peterson2012-08-282-2/+2
|
* Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-151-5/+7
| | | | | | errors correctly. Patch by Serhiy Storchaka.
* Issue #14579: Fix error handling bug in the utf-16 decoder.Antoine Pitrou2012-07-201-1/+1
| | | | Patch by Serhiy Storchaka.
* allow any number to be returned from __length_hint__ (closes #15354)Benjamin Peterson2012-07-151-1/+1
|
* Fixes issue #12268 for file readline, readlines and read() and readinto methods.Gregory P. Smith2012-06-261-4/+61
| | | | | | They no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods.
* Improve tooltips for splitlines() by showing that the default for keepends ↵Raymond Hettinger2012-06-023-3/+3
| | | | is False.
* Issue #8767: Restore building with --disable-unicode.Martin v. Löwis2012-05-201-0/+2
| | | | Original patch by Stefano Taschini.
* fix possible refleak (closes #14752)Benjamin Peterson2012-05-081-2/+4
|
* close() doesn't take any args (closes #14717)Benjamin Peterson2012-05-031-1/+1
|
* use formats that work on 2.7Benjamin Peterson2012-05-011-7/+6
|
* fix calling the classmethod descriptor directly (closes #14699)Benjamin Peterson2012-05-011-3/+41
|