Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
10 years ago
Benjamin Peterson
b88db8745b
supress coroutine warning when an exception is pending ( #27968 )
10 years ago
Benjamin Peterson
33d2a492d0
promote some shifts to unsigned, so as not to invoke undefined behavior
10 years ago
Benjamin Peterson
5a7d923e75
make sure to not call memcpy with a NULL second argument
10 years ago
Benjamin Peterson
bdddb11b0e
clear out f_gen during generator finalization ( closes #27812 )
Patch from Armin Rigo.
10 years ago
Benjamin Peterson
2f40ed4b94
do not allow _PyGen_Finalize to fail ( closes #27811 )
Patch from Armin Rigo.
10 years ago
Raymond Hettinger
7ea386e56e
Issue 19504: Change "customise" to "customize" American spelling.
10 years ago
Nick Coghlan
8682f578c1
Issue #27782 : Fix m_methods handling in multiphase init
Multi-phase extension module import now correctly allows the
``m_methods`` field to be used to add module level functions
to instances of non-module types returned from ``Py_create_mod``.
Patch by Xiang Zhang.
10 years ago
Victor Stinner
6902ddf2ca
Fix a refleak in call_maybe()
Issue #27128 . Fix a reference leak if creating the tuple to pass positional
parameters fails.
10 years ago
Victor Stinner
d925bd5794
Fix a refleak in call_method()
Issue #27128 . Fix a reference leak if creating the tuple to pass positional
parameters fails.
10 years ago
Martin Panter
69332c1a64
Fix spelling and grammar in documentation and code comments
10 years ago
Martin Panter
eb9957065a
Issue #27626 : Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
10 years ago
Xavier de Gaye
fd0d5939bd
Issue #26662 : Set PYTHON_FOR_GEN in configure
as the Python program to be used for file generation during the build.
10 years ago
Martin Panter
e8db861f47
Issue #27581 : Don’t rely on overflow wrapping in PySequence_Tuple()
Patch by Xiang Zhang.
10 years ago
Martin Panter
371731ebfd
Issue #27507 : Check for integer overflow in bytearray.extend()
Patch by Xiang Zhang.
10 years ago
Serhiy Storchaka
06cfb0cd70
Issue #27473 : Fixed possible integer overflow in bytes and bytearray
concatenations. Patch by Xiang Zhang.
10 years ago
R David Murray
537ad7ad9f
#20647 : Update dictobject.c comments to account for randomized string hashes.
Patch by Jaysinh Shukla.
10 years ago
Benjamin Peterson
27007dccec
fix refleaks in PyDict_SetItem error cases ( closes #27248 )
10 years ago
Serhiy Storchaka
af65872da2
Issue #27443 : __length_hint__() of bytearray itearator no longer return
negative integer for resized bytearray.
10 years ago
Martin Panter
2275e626b1
Fix spelling errors in code comments
10 years ago
Serhiy Storchaka
9305d83425
Issue #26754 : PyUnicode_FSDecoder() accepted a filename argument encoded as
an iterable of integers. Now only strings and byte-like objects are accepted.
10 years ago
Yury Selivanov
a6f6edbda8
Issue #27243 : Fix __aiter__ protocol
10 years ago
Serhiy Storchaka
484c913ed9
Issue #27225 : Fixed a reference leak in type_new when setting __new__ fails.
Patch by Xiang Zhang.
10 years ago
Serhiy Storchaka
64a263a1ce
Issue #20041 : Fixed TypeError when frame.f_trace is set to None.
Patch by Xavier de Gaye.
10 years ago
Martin Panter
e26da7c03a
Issue #27171 : Fix typos in documentation, comments, and test function names
10 years ago
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
10 years ago
Martin Panter
8d56c026a5
Issue #27125 : Fix various errors like “will [be] inherited”
10 years ago
Benjamin Peterson
c352620c92
backout 3c9512d8ac0d
10 years ago
Serhiy Storchaka
27ba8864a4
Issue #27118 : Clean up Py_XINCREF/Py_XDECREF in typeobject.c.
Patch by Xiang Zhang.
10 years ago
Serhiy Storchaka
b0f80b0312
Issue #26647 : Python interpreter now uses 16-bit wordcode instead of bytecode.
Patch by Demur Rumed.
10 years ago
Serhiy Storchaka
7bf36dace8
Issue #27039 : Fixed bytearray.remove() for values greater than 127.
Patch by Joe Jevnik.
10 years ago
Serhiy Storchaka
bcde10aa7e
Issue #26765 : Ensure that bytes- and unicode-specific stringlib files are used
with correct type.
10 years ago
Benjamin Peterson
07451ddd4f
fix indentation of comments in cellobject.c ( closes #27011 )
10 years ago
Serhiy Storchaka
ea36c941a1
Issue #23640 : int.from_bytes() no longer bypasses constructors for subclasses.
10 years ago
Serhiy Storchaka
5787ef621a
Issue #27005 : Fixed the call of PyObject_CallFunctionObjArgs().
10 years ago
Serhiy Storchaka
25885d1dc5
Issue #27005 : Optimized the float.fromhex() class method for exact float.
10 years ago
Serhiy Storchaka
21eb48764c
Issue #17765 : weakref.ref() no longer silently ignores keyword arguments.
Patch by Georg Brandl.
10 years ago
Serhiy Storchaka
fb81d3cbe7
Issue #26765 : Moved common code for the replace() method of bytes and bytearray
to a template file.
10 years ago
Serhiy Storchaka
dd40fc3e57
Issue #26765 : Moved common code and docstrings for bytes and bytearray methods
to bytes_methods.c.
10 years ago
Serhiy Storchaka
7822f151b6
Issue #26811 : gc.get_objects() no longer contains a broken tuple with NULL
pointer.
10 years ago
Serhiy Storchaka
7a9579c0ce
Got rid of redundand "self" parameter declarations.
Argument Clinic is now able to infer all needed information.
10 years ago
Berker Peksag
0ac70c0e90
Fix typos. Reported by andportnoy on GitHub.
10 years ago
Raymond Hettinger
8421d714d0
Removed unused initialization and the uninteresting comment.
10 years ago
Serhiy Storchaka
fa070298e9
Issue #26880 : Removed redundant checks in set.__init__.
10 years ago
Victor Stinner
71dc3d878a
Issue #25349 , #26249 : Fix memleak in formatfloat()
10 years ago
Victor Stinner
15932593ba
Issue #26249 : Try test_capi on Windows
10 years ago
Victor Stinner
f5c4b99034
PyMem_Malloc() now uses the fast pymalloc allocator
Issue #26249 : PyMem_Malloc() allocator family now uses the pymalloc allocator
rather than system malloc(). Applications calling PyMem_Malloc() without
holding the GIL can now crash: use PYTHONMALLOC=debug environment variable to
validate the usage of memory allocators in your application.
10 years ago
Victor Stinner
0621e0ea86
Don't define _PyMem_PymallocEnabled() if pymalloc is disabled
Isse #26516 .
10 years ago
Martin Panter
8f26565ba9
Fix spelling (inital), grammar (may translates) in documentation, comments
10 years ago
Serhiy Storchaka
55c861f637
Issue #26745 : Removed redundant code in _PyObject_GenericSetAttrWithDict.
Based on patch by Xiang Zhang.
10 years ago