Martin Panter
|
6e723d2d11
|
Issue #25659: Change assert to TypeError in from_buffer/_copy()
Based on suggestion by Eryk Sun.
|
2016-11-20 07:58:35 +00:00 |
Martin Panter
|
395733d46b
|
Issue #10656: Fix out-of-tree building on AIX
The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.
|
2016-11-20 07:56:37 +00:00 |
Serhiy Storchaka
|
144f77a981
|
Issue #28715: Added error checks for PyUnicode_AsUTF8().
|
2016-11-20 08:47:21 +02:00 |
Steve Dower
|
93ff8725b3
|
Issue #28732: Raise ValueError when argv[0] is empty.
|
2016-11-19 19:03:54 -08:00 |
Steve Dower
|
11f4326ca1
|
Issue #28732: Fix crash in os.spawnv() with no elements in args
Prevents crashes in some other posixmodule.c functions
|
2016-11-19 18:33:39 -08:00 |
Serhiy Storchaka
|
f4934ea77d
|
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
|
2016-11-16 10:17:58 +02:00 |
Martin Panter
|
c9e08d8cb5
|
Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
Patch by Matthieu S.
|
2016-11-14 04:26:36 +00:00 |
Serhiy Storchaka
|
62e32d6352
|
Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
|
2016-11-11 12:05:01 +02:00 |
Yury Selivanov
|
46a02db90b
|
Issue #28653: Fix a refleak in functools.lru_cache.
|
2016-11-09 18:55:45 -05:00 |
Serhiy Storchaka
|
579f038018
|
Issue #28585: Restored docstring of os._isdir().
|
2016-11-08 20:21:22 +02:00 |
Serhiy Storchaka
|
a7c972e03b
|
Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
|
2016-11-03 15:37:01 +02:00 |
Serhiy Storchaka
|
04f17f103a
|
Issue #27517: LZMA compressor and decompressor no longer raise exceptions if
given empty data twice. Patch by Benjamin Fogle.
|
2016-10-31 08:30:09 +02:00 |
Serhiy Storchaka
|
0bcd89b859
|
Issue #28549: Fixed segfault in curses's addch() with ncurses6.
|
2016-10-30 22:52:06 +02:00 |
Xavier de Gaye
|
84968b74c8
|
Issue #28444: Fix missing extensions modules when cross compiling.
|
2016-10-29 16:57:20 +02:00 |
Serhiy Storchaka
|
3ec5f421c5
|
Fixed possible NULL decrefing.
|
2016-10-28 12:14:34 +03:00 |
Serhiy Storchaka
|
b29cee40ee
|
Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.
|
2016-10-27 19:31:49 +03:00 |
Ned Deily
|
f536af1fcd
|
Issue #24381: Avoid unused function warning when building bundled macOS libffi.
Patch by Vajrasky Kok.
|
2016-10-20 15:38:27 -04:00 |
Serhiy Storchaka
|
9c0e1f83af
|
Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().
Patch by Xiang Zhang.
|
2016-10-08 22:45:38 +03:00 |
Benjamin Peterson
|
8f1cdc65ee
|
ensure read size is initialized
|
2016-10-05 23:32:09 -07:00 |
Benjamin Peterson
|
3776836f67
|
do not leak buffer if mmap is not writable
|
2016-10-05 23:29:07 -07:00 |
Benjamin Peterson
|
cd04db03de
|
mmap: do all internal arithmetic with Py_ssize_t while being very careful about overflow
|
2016-10-05 21:45:48 -07:00 |
Serhiy Storchaka
|
cc164232aa
|
Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
|
2016-10-02 21:29:26 +03:00 |
Serhiy Storchaka
|
85c3f268f4
|
Issue #28322: Fixed possible crashes when unpickle itertools objects from
incorrect pickle data. Based on patch by John Leitch.
|
2016-10-02 08:34:53 +03:00 |
Martin Panter
|
38317d3318
|
Issue #28275: Clean up to avoid use-after-free after bzip decompress failure
|
2016-10-01 02:45:17 +00:00 |
Serhiy Storchaka
|
5ae4f49f4a
|
Issue #20947: Fixed a gcc warning with -Wstrict-overflow.
|
2016-09-27 22:03:51 +03:00 |
Serhiy Storchaka
|
c0b7037d4f
|
Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().
Original patch by John Leitch.
|
2016-09-27 20:14:26 +03:00 |
Serhiy Storchaka
|
407ac47690
|
Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()
if pass invalid string-like object as a name. Patch by Xiang Zhang.
|
2016-09-27 00:10:03 +03:00 |
Christian Heimes
|
3cb091e576
|
Increase buffer for readlink() in case OS will support longer names one day.
|
2016-09-23 20:24:28 +02:00 |
Christian Heimes
|
2f366cab48
|
Add an extra byte for null in case we ever get very long unicode names.
|
2016-09-23 20:20:27 +02:00 |
Berker Peksag
|
bf3c1c3235
|
Issue #28075: Fix test_access_denied in Python 3.5
I forgot there two variations of os.stat() in Python 3.5.
|
2016-09-18 13:56:29 +03:00 |
Berker Peksag
|
0b4dc4846b
|
Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat()
Patch by Eryk Sun.
|
2016-09-17 15:49:59 +03:00 |
Martin Panter
|
6d57fe1c23
|
Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
|
2016-09-17 03:26:16 +00:00 |
Martin Panter
|
2dc77f0e19
|
Issue #28145: Spelling fixes
|
2016-09-16 00:46:05 +00:00 |
Serhiy Storchaka
|
e6265e92bf
|
Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
|
2016-09-14 16:34:37 +03:00 |
Christian Heimes
|
7ce201322e
|
Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()
|
2016-09-14 10:25:46 +02:00 |
Berker Peksag
|
4aa74c429c
|
Issue #28131: Fix a regression in zipimport's compile_source()
zipimport should use the same optimization level as the interpreter.
|
2016-09-14 08:09:48 +03:00 |
Serhiy Storchaka
|
8ddcf3abf7
|
Issue #28019: itertools.count() no longer rounds non-integer step in range
between 1.0 and 2.0 to 1.
|
2016-09-10 09:49:24 +03:00 |
Steve Dower
|
8dcc48ee3b
|
Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
|
2016-09-09 17:27:33 -07:00 |
Martin Panter
|
0be894b2f6
|
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
|
2016-09-07 12:03:06 +00:00 |
Martin Panter
|
be8da9c990
|
Issue #27570: Avoid zero-length memcpy() calls with null source pointers
|
2016-09-07 11:04:41 +00:00 |
Benjamin Peterson
|
4a757609d1
|
do not memcpy from NULL
|
2016-09-06 19:03:40 -07:00 |
Christian Heimes
|
1c03abd026
|
Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.
|
2016-09-06 23:25:35 +02:00 |
Benjamin Peterson
|
1bb0c0bd30
|
explicitly cast away constness to silence compiler warning
|
2016-09-05 18:26:19 -07:00 |
Benjamin Peterson
|
5130a4d5d7
|
Backed out changeset 8b6be1341770
|
2016-09-05 17:22:09 -07:00 |
Benjamin Peterson
|
6d999803a0
|
remove long double from ctypes value union
It is unused. It also forces a 16-byte alignment, which creates problems because
Python's allocator only uses 8-byte alignment.
|
2016-09-05 16:24:52 -07:00 |
Christian Heimes
|
281e5f8839
|
Issue #26470: Use short name rather than name for compression name to fix #27958.
|
2016-09-06 01:10:39 +02:00 |
Benjamin Peterson
|
768f3b4492
|
do not pretend to support passing a fd to access()
|
2016-09-05 15:29:33 -07:00 |
Christian Heimes
|
598894ff48
|
Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.
|
2016-09-05 23:19:05 +02:00 |
Serhiy Storchaka
|
2891492d23
|
Issue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.
|
2016-09-01 22:18:03 +03:00 |
Serhiy Storchaka
|
ef113cd4cc
|
Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
creates not a cursor. Patch by Xiang Zhang.
|
2016-08-29 14:29:55 +03:00 |