Jesus Cea
941bfcc537
Closes #15676 : mmap: add empty file check prior to offset check
14 years ago
Stefan Krah
96efdd422c
Issue #15868 : Fix refleak in bytesio.c (Coverity #715365 ).
14 years ago
Antoine Pitrou
1d857453b7
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
14 years ago
Ronald Oussoren
25437565f9
Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler
14 years ago
Ross Lagerwall
f2b34b8b96
Issue 15777: Fix a refleak in _posixsubprocess.
It was exposed by 03c98d05b140 and dbbf3ccf72e8.
14 years ago
Ronald Oussoren
eb61f8b3a7
Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac OS X.
This is due to an off-by-one error: the allocated buffer didn't have room for a NUL
character at the end of the mbstowcs result.
14 years ago
Stefan Krah
db579d7b25
Issue #15738 : Fix a missing NULL check in subprocess_fork_exec().
14 years ago
Mark Dickinson
05d79e9abf
Issue #15477 : Add workaround for log1p(-0.0) on platforms where it's broken.
14 years ago
Antoine Pitrou
6f430e4963
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.
14 years ago
Matthias Klose
d182a6c77e
Modules/socketmodule.c: netdb_lock: define static.
14 years ago
Meador Inge
03b4d5072a
Issue #15424 : Add a __sizeof__ implementation for array objects.
Patch by Ludwig Hähne.
14 years ago
Victor Stinner
401e17d0f0
open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't
translate newlines on output.
14 years ago
Antoine Pitrou
0c1c0d42dc
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
14 years ago
Jesus Cea
16e2fca47e
Closes #15469 : Correct __sizeof__ support for deque
14 years ago
Jesus Cea
e9c5318967
Closes #15512 : Correct __sizeof__ support for parser
14 years ago
Antoine Pitrou
a9a53c7dc0
Issue #15538 : Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
14 years ago
Antoine Pitrou
8f328d0c1d
Issue #15489 : Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
14 years ago
Antoine Pitrou
10f0c50a0b
Issue #15487 : Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
14 years ago
Meador Inge
90bc2dbcce
Issue #15402 : Simplify Struct.__sizeof__ and make tests more precise.
14 years ago
Meador Inge
b14d8c9bcf
Issue #15402 : Add a __sizeof__ method to struct.Struct.
Initial patch by Serhiy Storchaka.
14 years ago
Eli Bendersky
ef391ac982
Raise ImportError if pyexpat's version is incompatible
14 years ago
Jesus Cea
62a5c3216d
Closes #15395 : memory leaks in selectmodule.c
14 years ago
Jesus Cea
ef86d12979
Closes #15396 : memory leak in tkinter
14 years ago
Meador Inge
60c2266afe
Issue #6493 : Fix handling of c_uint32 bitfields with width of 32 on Windows.
14 years ago
Eli Bendersky
66099b0cdc
ISsue #14988 : restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError
14 years ago
Antoine Pitrou
9235b254dc
Issue #15247 : FileIO now raises an error when given a file descriptor pointing to a directory.
14 years ago
Senthil Kumaran
f01a337950
Fix issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
14 years ago
Antoine Pitrou
2d24e94bbe
Issue #5067 : improve some json error messages.
Patch by Serhiy Storchaka.
14 years ago
Gregory P. Smith
5135992164
Fixes issue #12268 : File readline, readlines and read() or readall() methods
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.
14 years ago
Charles-François Natali
9b0c006eb0
Remove useless test (flowinfo is unsigned).
14 years ago
Hynek Schlawack
9ed8b4e4ca
#10053 : Don't close FDs when FileIO.__init__ fails
Loosely based on the work by Hirokazu Yamamoto.
14 years ago
Richard Oudkerk
197651b4e3
Issue #10133 : Make multiprocessing deallocate buffer if socket read fails.
Patch by Hallvard B Furuseth.
14 years ago
Gregory P. Smith
58f07a9d6d
Fixes issue #15000 : support the odd x32 abi on posixsubprocess's system call.
14 years ago
Antoine Pitrou
e1ad3dac3d
Issue #14775 : Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts.
Additional comments by Tim Silk.
14 years ago
Meador Inge
031e25b0f7
Issue #9041 : raised exception is misleading
An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.
14 years ago
Hynek Schlawack
2cc7156515
#4841 : Fix FileIO constructor to honor closefd when called repeatedly
Patch by Victor Stinner.
14 years ago
Antoine Pitrou
a103b96a80
Issue #14829 : Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.
14 years ago
Mark Dickinson
da029fb293
Issue #14741 : Fix missing support for ellipsis in parser module.
14 years ago
Mark Dickinson
11c1dee183
Issue #14697 : Fix missing parser module support for set displays and set comprehensions.
14 years ago
Mark Dickinson
cf360b9209
Issue #14701 : Add missing support for 'raise ... from' in parser module.
14 years ago
Richard Oudkerk
7ef909cdd7
Fix for issue 14725 for 3.2 branch
14 years ago
Mark Dickinson
407b3bd89b
Issue #14696 : Fix parser module to understand 'nonlocal' declarations.
14 years ago
Mark Dickinson
ea7e9f9a83
Issue #9154 : Fix parser module to understand function annotations.
14 years ago
Mark Dickinson
a13b109bc0
Issue 13496: Fix bisect.bisect overflow bug for large collections.
14 years ago
Benjamin Peterson
e900096dc4
prevent writing to stderr from messing up the exception state ( closes #14474 )
14 years ago
Antoine Pitrou
6211b88161
Issue #14437 : Fix building the _io module under Cygwin.
14 years ago
Stefan Krah
0f6ce8d9df
Issue #3367 : NULL-terminate argv[] copies to prevent an invalid access
in sys_update_path().
14 years ago
Ross Lagerwall
71faefc37e
Issue #14359 : Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay.
14 years ago
Gregory P. Smith
c73f6dab11
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.
14 years ago
Georg Brandl
a5d729a7f7
Transplant from main repo d6c197edd99b: Fixes Issue #14234 : CVE-2012-0876: Randomize hashes of xml attributes
14 years ago