Serhiy Storchaka
eb24988962
Issue #27704 : Optimized creating bytes and bytearray from byte-like objects
and iterables. Speed up to 3 times for short objects. Original patch by
Naoki Inada.
10 years ago
Serhiy Storchaka
9171a8b4ce
Issue #27574 : Decreased an overhead of parsing keyword arguments in functions
implemented with using Argument Clinic.
10 years ago
Serhiy Storchaka
febc332056
Issue #26754 : Undocumented support of general bytes-like objects
as path in compile() and similar functions is now deprecated.
10 years ago
Martin Panter
69332c1a64
Fix spelling and grammar in documentation and code comments
10 years ago
Berker Peksag
a787e5f31d
Issue #27652 : Expose ESHUTDOWN conditionally
ESHUTDOWN is also exposed conditionally in Modules/errnomodule.c.
Patch by Ed Schouten.
10 years ago
Berker Peksag
01d1719062
Issue #27366 : Tweak PEP 487 documentation
* Added versionadded directives
* Deleted duplicate sentence from __init_subclass__ docstring
* Modernized tests
10 years ago
Nick Coghlan
d78448e912
Issue #27366 : Implement PEP 487
- __init_subclass__ called when new subclasses defined
- __set_name__ called when descriptors are part of a
class definition
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
b93d8637a6
Issue #1621 : Avoid signed overflow in list and tuple operations
Patch by Xiang Zhang.
10 years ago
Martin Panter
e8db861f47
Issue #27581 : Don’t rely on overflow wrapping in PySequence_Tuple()
Patch by Xiang Zhang.
10 years ago
Berker Peksag
ced8d4c6eb
Issue #27454 : Use PyDict_SetDefault in PyUnicode_InternInPlace
Patch by INADA Naoki.
10 years ago
Martin Panter
371731ebfd
Issue #27507 : Check for integer overflow in bytearray.extend()
Patch by Xiang Zhang.
10 years ago
Benjamin Peterson
ab078e9ed1
Backed out changeset af29d89083b3 ( closes #25548 ) ( closes #27498 )
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
Serhiy Storchaka
f9efb8b18b
Issue #27474 : Unified error messages in the __contains__ method of bytes and
bytearray for integers in and out of the Py_ssize_t range.
Patch by Xiang Zhang.
10 years ago
Benjamin Peterson
27007dccec
fix refleaks in PyDict_SetItem error cases ( closes #27248 )
10 years ago
Serhiy Storchaka
f54d7811c3
Issue #27460 : Unified error messages in bytes constructor for integers
in and out of the Py_ssize_t range. Patch by Xiang Zhang.
10 years ago
Serhiy Storchaka
7e160ce356
Issue #23034 : The output of a special Python build with defined COUNT_ALLOCS,
SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT macros is now off by default. It can
be re-enabled using the "-X showalloccount" option. It now outputs to stderr
instead of stdout.
10 years ago
Serhiy Storchaka
af65872da2
Issue #27443 : __length_hint__() of bytearray itearator no longer return
negative integer for resized bytearray.
10 years ago
Serhiy Storchaka
e09132f2c7
Backed out changeset b0087e17cd5e (issue #26765 )
For unknown reasons it perhaps caused a crash on 32-bit Windows (issue #).
10 years ago
Serhiy Storchaka
ab8bcb34dc
Issue #26765 : Fixed parsing Py_ssize_t arguments on 32-bit Windows.
10 years ago
Serhiy Storchaka
355048970b
Issue #26765 : Moved wrappers for bytes and bytearray methods to common header
file.
10 years ago
Serhiy Storchaka
0855e706aa
Issue #27007 : The fromhex() class methods of bytes and bytearray subclasses
now return an instance of corresponding subclass.
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
Serhiy Storchaka
5d062d7ba3
Issue #27333 : Simplified testing step on 0.
10 years ago
Serhiy Storchaka
cfdfbb4d3c
Issue #27342 : Replaced some Py_XDECREFs with Py_DECREFs.
Patch by Xiang Zhang.
10 years ago
Serhiy Storchaka
5697c4b641
Comment fixes extracted from patch by Demur Rumed.
10 years ago
Yury Selivanov
a6f6edbda8
Issue #27243 : Fix __aiter__ protocol
10 years ago
Serhiy Storchaka
5dee6551e2
Issue #26305 : Argument Clinic now uses braces in C code as required by PEP 7.
10 years ago
Victor Stinner
e18719509f
odict: Remove useless ";" after function definition
Fix a "gcc -pendatic" warning.
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
Kushal Das
5801ecb440
Issue #25548 : Showing memory address of class objects in repl
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
Serhiy Storchaka
e63e5d60ee
Issue #27073 : Removed redundant checks in long_add and long_sub.
Patch by Oren Milman.
10 years ago
Serhiy Storchaka
16931c3559
Issue #26983 : float() now always return an instance of exact float.
The deprecation warning is emitted if __float__ returns an instance of
a strict subclass of float. In a future versions of Python this can
be an error.
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