Serhiy Storchaka
d915b0847d
Issue #22821 : Fixed fcntl() with integer argument on 64-bit big-endian
platforms.
12 years ago
Benjamin Peterson
abd1c97bd2
fix test where sizeof(long) != sizeof(int)
12 years ago
Steve Dower
b7fa201113
Issue #20160 : broken ctypes calling convention on MSVC / 64-bit Windows (large structs) Patch by mattip
12 years ago
Antoine Pitrou
7e8b8678f1
Issue #22773 : fix failing test with old readline versions due to issue #19884 .
12 years ago
Benjamin Peterson
bbd0a323ae
clear BufferedRWPair weakrefs on deallocation ( closes #22517 )
12 years ago
Georg Brandl
e48ec212e8
Fix typo.
12 years ago
R David Murray
817905b239
#13096 : Fix segfault in CTypes POINTER handling of large values.
Patch by Meador Inge.
12 years ago
Georg Brandl
e1a7d9dbf5
Closes #22568 : fix UTIME_TO_* macros in posixmodule for rare cases.
12 years ago
Benjamin Peterson
682124ccc3
prevent passing NULL to memcpy ( closes #22605 )
Patch by Jakub Wilk.
12 years ago
Victor Stinner
fc6a90a92e
Issue #22588 : Fix typo in _testcapi.test_incref_decref_API()
12 years ago
Victor Stinner
484df0075a
Issue #22568 : Fix compilation of posixmodule.c with Open Watcom: rename "utime"
variable to "ut" to avoid conflict with the C utime() function. Patch written
by Jeffrey Armstrong.
12 years ago
Serhiy Storchaka
e2bd2a7186
Issue #21715 : Extracted shared complicated code in the _io module to new
_PyErr_ChainExceptions() function.
12 years ago
Antoine Pitrou
0ddbf4795f
Issue #22462 : Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.
Initial patch by Mark Shannon.
12 years ago
Victor Stinner
8f437aac06
Issue #22290 : Fix error handling in the _posixsubprocess module.
* Don't call the garbage collector with an exception set: it causes an
assertion to fail in debug mode.
* Enhance also error handling if allocating an array for the executable list
failed.
* Add an unit test for 4 different errors in the _posixsubprocess module.
12 years ago
Georg Brandl
41ea1f4f26
Closes #19342 : improve docstrings in grp module.
12 years ago
Victor Stinner
5083828d65
faulthandler: test_gil_released() now uses _sigsegv() instead of _read_null(),
because _read_null() cannot be used on AIX. On AIX, reading from NULL is
allowed: the first page of memory is a mapped read-only on AIX.
12 years ago
Victor Stinner
9db521c4a8
faulthandler: _sigsegv() and _sigabrt() don't accept parameters
12 years ago
Victor Stinner
d6b176905d
Issue #22396 : On 32-bit AIX platform, don't expose os.posix_fadvise() nor
os.posix_fallocate() because their prototypes in system headers are wrong.
12 years ago
Berker Peksag
b87630c273
Issue #21860 : Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
Patch by Terry Chia.
12 years ago
Nick Coghlan
8fad1676a2
Issue #22166 : clear codec caches in test_codecs
12 years ago
Ned Deily
ad24d62882
Issue #17095 : Temporarily revert getpath.c change that added the Modules
directory to sys.path when running from a build directory. That has
proven to be problematic for several standard library modules with
C extension modules whose builds can fail on some platforms.
12 years ago
Serhiy Storchaka
42d67af87f
Issue #21147 : sqlite3 now raises an exception if the request contains a null
character instead of truncate it. Based on patch by Victor Stinner.
12 years ago
Serhiy Storchaka
abf68ce164
Issue #21951 : Fixed a crash in Tkinter on AIX when called Tcl command with
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
12 years ago
Serhiy Storchaka
0794088379
Issue #21951 : Use attemptckalloc() instead of ckalloc() in Tkinter.
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
12 years ago
Victor Stinner
31a3ec313d
Issue #22338 : Fix a crash in the json module on memory allocation failure.
12 years ago
Serhiy Storchaka
148679982f
Issue #22369 : Change "context manager protocol" to "context management protocol".
12 years ago
Stefan Krah
cf26115651
Introduce and check for MPD_VERSION_HEX for precise management of builds
with an external libmpdec.
12 years ago
Stefan Krah
298131a448
Issue #22090 : Fix '%' formatting for infinities and NaNs.
12 years ago
Serhiy Storchaka
76b47655ff
Issue #15696 : Add a __sizeof__ implementation for mmap objects on Windows.
12 years ago
doko@ubuntu.com
3b48af018f
- Issue #22176 : Fix build failure on ARM with -Werror=declaration-after-statement
12 years ago
doko@ubuntu.com
6a66f155df
- Issue #22176 : Add src/x86/win32.S for x86 libffi builds.
12 years ago
doko@ubuntu.com
736a913321
- Issue #22176 : Update the ctypes module's libffi to v3.1. This release
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
architectures.
12 years ago
Serhiy Storchaka
4f06d604c4
Issue #22161 : Conformed arguments type checks in ctype to actually supported
types. Corrected error messages about bytes arguments.
12 years ago
Serhiy Storchaka
3d4b2d4df2
Issue #21975 : Fixed crash when using uninitialized sqlite3.Row (in particular
when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
__new__() method.
12 years ago
Serhiy Storchaka
74596a887a
Issue #21580 : Now Tkinter correctly handles bytes arguments passed to Tk.
In particular this allows to initialize images from binary data.
12 years ago
Richard Oudkerk
e0e65817e5
Issue #21704 : Fix build error for _multiprocessing when semaphores
are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
12 years ago
Victor Stinner
e254e53c83
Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
on closed socket. repr(socket.socket) already works fine.
12 years ago
Raymond Hettinger
5a2146a2fd
Issue #22044 : Fixed premature DECREF in call_tzinfo_method.
12 years ago
Victor Stinner
92639cce35
Issue #19884 , readline: calling rl_variable_bind ("enable-meta-key", "off")
does crash on Mac OS X which uses libedit instead of readline.
12 years ago
Victor Stinner
a3c80ce8b7
Issue #19884 : readline: Disable the meta modifier key if stdout is not a
terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence
is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
characters.
12 years ago
Serhiy Storchaka
b1ebfdddb3
Call PyErr_NoMemory() when PyMem_Malloc() fails.
12 years ago
Victor Stinner
cd75298611
Issue #21781 , _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requires
size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean".
12 years ago
Benjamin Peterson
e865128605
properly decref the return value of close()
12 years ago
Victor Stinner
e10920f0d1
Issue #21090 : io.FileIO.readall() does not ignore I/O errors anymore. Before,
it ignored I/O errors if at least the first C call read() succeed.
12 years ago
Victor Stinner
f18f87111b
Issue #8677 : make the zlib module "ssize_t clean" for parsing parameters
12 years ago
Victor Stinner
65a3144e54
Closes #21780 : make the unicodedata module "ssize_t clean" for parsing parameters
12 years ago
Victor Stinner
2e57b4e488
Issue #21781 : Make the ssl module "ssize_t clean" for parsing parameters.
ssl.RAND_add() now supports strings longer than 2 GB.
12 years ago
Victor Stinner
293f3f526d
Closes #21892 , #21893 : Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C
size_t, because %zi/%u is not supported on all platforms.
12 years ago
Berker Peksag
a6ec5ee3c8
Fix typo in socket.getaddrinfo() docstring.
Reported by Krishna Kumar Thakur on docs@.
12 years ago
Victor Stinner
297d104248
Issue #21858 : Better handling of Python exceptions in the sqlite3 module.
12 years ago