- 27 Mar, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 06 Mar, 2017 1 kayıt (commit)
-
-
Xiang Zhang yazdı
-
- 06 Ock, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
-
- 19 Ara, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
whitespace, not only spaces. Patch by Robert Xiao.
-
- 30 Eki, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
object.__format__ now contains the name of actual type.
-
- 08 Eyl, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Initially (e0b7e34b5971) it should be \udef0, but after 52a77ef069cd (issue #3672) lone surrogates are not accepted and should be removed.
-
- 27 Agu, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
Patch by Xiang Zhang.
-
- 18 Agu, 2016 1 kayıt (commit)
-
-
Guido van Rossum yazdı
- Issue #25958: Support "anti-registration" of special methods from various ABCs, like __hash__, __iter__ or __len__. All these (and several more) can be set to None in an implementation class and the behavior will be as if the method is not defined at all. (Previously, this mechanism existed only for __hash__, to make mutable classes unhashable.) Code contributed by Andrew Barnert and Ivan Levkivskyi.
-
- 10 Tem, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
bytearray for integers in and out of the Py_ssize_t range. Patch by Xiang Zhang.
-
- 03 Tem, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
negative integer for resized bytearray.
-
- 01 Tem, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
now return an instance of corresponding subclass.
-
- 16 May, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Patch by Joe Jevnik.
-
- 12 May, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 15 Nis, 2016 3 kayıt (commit)
-
-
Victor Stinner yazdı
Return a bytearray object when bytearray is requested and when the small buffer is used. Fix also test_bytes: bytearray%args must return a bytearray type.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 10 Nis, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
This eliminates a few redundant test cases.
-
- 06 Nis, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte- array, therefore many of the test cases inherited in this class were not actually being run on the bytearray type. The tests in buffer_tests.py were redundant with methods in string_tests .MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are now moved into string_tests.BaseTest, where they will also get run for bytes and bytearray. This change also moves test_additional_split(), test_additional_rsplit(), and test_strip() from CommonTest to BaseTest, meaning these tests are now run for bytes and bytearray. I plan to eliminate redundancies with existing tests in test_bytes.py soon.
-
- 30 Mar, 2016 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
-
- 06 Mar, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 02 Şub, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
* test_contains() did not override anything * test_expandtabs/upper/lower() in FixedStringTest were masking usable tests in string_tests. These tests now get run for bytearray() and bytes(). * test_expandtabs/upper/lower() in buffer_tests were only run on bytearray() and are redundant with string_tests
-
- 20 Ara, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 25 Kas, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
__bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly.
-
- 14 Eki, 2015 3 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Issue #25401: Optimize bytes.fromhex() and bytearray.fromhex(): they are now between 2x and 3.5x faster. Changes: * Use a fast-path working on a char* string for ASCII string * Use a slow-path for non-ASCII string * Replace slow hex_digit_to_int() function with a O(1) lookup in _PyLong_DigitValue precomputed table * Use _PyBytesWriter API to handle the buffer * Add unit tests to check the error position in error messages
-
Victor Stinner yazdı
On Windows, sprintf("%p", 0xabcdef) formats hexadecimal in uppercase and pad to 16 characters (on 64-bit system) with zeros.
-
- 13 Eki, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Add much more unit tests on PyBytes_FromFormatV() * Remove the first loop to compute the length of the output string * Use _PyBytesWriter to handle the bytes buffer, use overallocation * Cleanup the code to make simpler and easier to review
-
- 29 Haz, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
object now always allocates place for trailing null byte and it's buffer now is always null-terminated.
-
- 19 May, 2015 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
Issue #23985: Fix a possible buffer overrun when deleting a slice from the front of a bytearray and then appending some other bytes data. Patch by Martin Panter.
-
- 26 Nis, 2015 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
-
- 25 Nis, 2015 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
Also updates a few internal implementations of the same thing to use the new built-in code. Contributed by Arnon Yaari.
-
- 20 Mar, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 03 Şub, 2015 1 kayıt (commit)
-
-
Stefan Krah yazdı
and array_buffer_getbuf().
-
- 26 Ock, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 24 Ock, 2015 1 kayıt (commit)
-
-
Ethan Furman yazdı
-
- 15 Ara, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 02 Ara, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
is specified with non-string argument. Based on patch by Renaud Blanch.
-
- 02 Kas, 2014 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform.
-
- 28 Eyl, 2014 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
Patch by Yongzhi Pan.
-