summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #29028: Fixed possible use-after-free bugs in the subscription of theSerhiy Storchaka2017-02-011-29/+48
| | | | buffer object with custom index object.
* Issue #27867: Replaced function PySlice_GetIndicesEx() with a macro.Serhiy Storchaka2017-01-251-23/+55
|
* Issue #29145: Fix overflow checks in string, bytearray and unicode.Xiang Zhang2017-01-093-74/+51
| | | | Patch by jan matejek and Xiang Zhang.
* Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-271-10/+55
| | | | WeakValueDictionary when collecting from another thread.
* Issue #28998: More APIs now support longs as well as ints.Serhiy Storchaka2016-12-271-2/+5
|
* Issue #29019: Fix dict.fromkeys(x) overallocates when x is sparce dict.INADA Naoki2016-12-201-1/+1
| | | | Original patch by Rasmus Villemoes.
* revert a37cc3d926ec (#5322)Benjamin Peterson2016-12-141-27/+1
|
* Backed out changeset ea904d4b3634Benjamin Peterson2016-12-141-1/+1
|
* fix refleak in reduce_2 error caseBenjamin Peterson2016-12-031-1/+1
|
* fix refleak in the shift-by-zero case (#27870)Benjamin Peterson2016-12-031-5/+6
|
* declarations to the top of the blockBenjamin Peterson2016-12-021-1/+1
|
* Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.Serhiy Storchaka2016-12-021-1/+27
| | | | Original patch by Andreas Stührk.
* Issue #11145: Fixed miscellaneous issues with C-style formatting of typesSerhiy Storchaka2016-12-011-69/+85
| | | | with custom __oct__ and __hex__.
* Issue #24469: Fixed memory leak caused by int subclasses without overriddenSerhiy Storchaka2016-11-291-8/+0
| | | | tp_free (e.g. C-inherited Cython classes).
* Issue #27942: Fix memory leak in codeobject.cYury Selivanov2016-11-091-0/+2
|
* Issue #26906: Resolving special methods of uninitialized type now causesSerhiy Storchaka2016-10-081-5/+19
| | | | implicit initialization of the type instead of a fail.
* Silenced compiler warnings.Serhiy Storchaka2016-10-081-1/+0
|
* Issue #18287: PyType_Ready() now checks that tp_name is not NULL.Serhiy Storchaka2016-10-071-0/+6
| | | | Original patch by Niklas Koep.
* Issue #28350: String constants with null character no longer interned.Serhiy Storchaka2016-10-041-5/+8
|
* Issue #27942: String constants now interned recursively in tuples and ↵Serhiy Storchaka2016-09-301-9/+45
| | | | frozensets.
* Issue #28139: Fix messed up indentationMartin Panter2016-09-175-39/+43
| | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation.
* Correct occurance → occurrence; extracted from patch by Georg BrandlMartin Panter2016-09-082-3/+3
|
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-074-4/+4
|
* promote some shifts to unsigned, so as not to invoke undefined behaviorBenjamin Peterson2016-09-071-2/+2
|
* make sure to not call memcpy with a NULL second argumentBenjamin Peterson2016-09-071-6/+9
|
* Issue #27870: A left shift of zero by a large integer no longer attempts to ↵Mark Dickinson2016-08-291-0/+5
| | | | allocate large amounts of memory.
* Issue #25604: Fix bug in integer true division that could have resulted in ↵Mark Dickinson2016-08-211-2/+2
| | | | off-by-one-ulp results in unusual cases.
* Fix a refleak in call_maybe()Victor Stinner2016-08-191-1/+3
| | | | | Issue #27128. Fix a reference leak if creating the tuple to pass positional parameters fails.
* Fix a refleak in call_method()Victor Stinner2016-08-191-1/+3
| | | | | Issue #27128. Fix a reference leak if creating the tuple to pass positional parameters fails.
* Spelling and grammar fixes in code comments and documentationMartin Panter2016-07-282-2/+2
|
* Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-282-5/+5
| | | | Based on patch by Ville Skyttä.
* Issue #27581: Don’t rely on overflow wrapping in PySequence_Tuple()Martin Panter2016-07-251-4/+5
| | | | Patch by Xiang Zhang.
* Issue #27507: Check for integer overflow in bytearray.extend()Martin Panter2016-07-181-1/+11
| | | | Patch by Xiang Zhang.
* Issue #27473: Fixed possible integer overflow in str, unicode and bytearraySerhiy Storchaka2016-07-123-21/+26
| | | | concatenations and repetitions. Based on patch by Xiang Zhang.
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed to fix the grammar.
* fix refleaks in PyDict_SetItem error cases (closes #27248)Benjamin Peterson2016-07-071-3/+9
|
* Issue #23908: os functions, open() and the io.FileIO constructor now rejectSerhiy Storchaka2016-07-011-1/+2
| | | | | unicode paths with embedded null character on Windows instead of silently truncate them.
* Issue #22463: Backport compiler warning fixes and workaroundsMartin Panter2016-06-218-12/+12
| | | | | | | | | | | | | | * Set but unused variable in Parser/pgen.c in non-debug builds. Patch by Christian Heimes. * Unused static function in Modules/readline.c. Patch by Georg Brandl. * main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith. * Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett Cannon. * Expression result unused in PyObject_INIT macro expansions. Based on patches by Christian Heimes. * Load expat_config.h and therefore pyconfig.h before C stdlib headers are loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE redefined'. Extracted from patch by Christian Heimes.
* Issue #27225: Fixed a reference leak in type_new when setting __new__ fails.Serhiy Storchaka2016-06-051-1/+5
| | | | Original patch by Xiang Zhang.
* Issue #20041: Fixed TypeError when frame.f_trace is set to None.Serhiy Storchaka2016-06-041-5/+3
| | | | Patch by Xavier de Gaye.
* Issue #27171: Fix typos in documentation, code comments, and testsMartin Panter2016-06-021-1/+1
|
* Issue #27125: Remove duplicated words from documentation and commentsMartin Panter2016-05-302-2/+2
|
* Issue #27125: Fix various errors like “will [be] inherited”Martin Panter2016-05-291-1/+1
|
* Backed out changeset e7062dd9085e (#25731)Benjamin Peterson2016-05-281-1/+1
|
* Issue #27076: Doc, comment and test function name spelling fixesMartin Panter2016-05-261-1/+1
| | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* Issue #27039: Fixed bytearray.remove() for values greater than 127.Serhiy Storchaka2016-05-161-7/+5
| | | | Patch by Joe Jevnik.
* fix indentation of comments in cellobject.c (closes #27011)Benjamin Peterson2016-05-131-3/+3
|
* Corrections for a/an in code comments and documentationMartin Panter2016-05-082-3/+3
|
* Issue #17765: weakref.ref() no longer silently ignores keyword arguments.Serhiy Storchaka2016-05-071-1/+3
| | | | Patch by Georg Brandl.
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-172-2/+2
|