Commit Graph

5693 Commits

Author SHA1 Message Date
Antoine Pitrou
c2ec992698 Issue #15247: FileIO now raises an error when given a file descriptor pointing to a directory. 2012-07-06 18:48:24 +02:00
Senthil Kumaran
3b30b19e0a Fix closes issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp 2012-07-04 19:50:29 -07:00
Mark Dickinson
e0afb72402 Closes #14591: Random.jumpahead could produce an invalid MT state on 64-bit machines. 2012-06-30 17:19:35 +01:00
Antoine Pitrou
d9a5137742 Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.
2012-06-29 01:58:26 +02:00
Amaury Forgeot d'Arc
d958cc960f Issue #15219: Fix a reference leak when hashlib.new() is called with
invalid parameters.
2012-06-29 01:42:46 +02:00
Charles-François Natali
65dd745fec Remove useless test (flowinfo is unsigned). 2012-06-23 10:06:56 +02:00
Hynek Schlawack
9bd4bf2a3d #10053: Don't close FDs when FileIO.__init__ fails
Loosely based on the work by Hirokazu Yamamoto.
2012-06-21 19:45:19 +02:00
Richard Oudkerk
926f58df57 Issue #10133: Make multiprocessing deallocate buffer if socket read fails.
Patch by Hallvard B Furuseth.
2012-06-11 15:11:35 +01:00
Antoine Pitrou
ff0e22b6ec Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts.
Additional comments by Tim Silk.
2012-05-28 22:22:34 +02:00
Meador Inge
fe7aa49f24 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.
2012-05-28 13:52:59 -05:00
Hynek Schlawack
877effc298 #4841: Fix FileIO constructor to honor closefd when called repeatedly
Patch by Victor Stinner.
2012-05-25 09:24:18 +02:00
Antoine Pitrou
cd8799f077 Issue #14888: Fix misbehaviour of the _md5 module when called on data larger than 2**32 bytes. 2012-05-23 23:16:14 +02:00
Ned Deily
77e77a1273 Issue #14572: Prevent build failures with pre-3.5.0 versions of
sqlite3, such as was shipped with Centos 5 and Mac OS X 10.4.
2012-05-19 23:35:05 -07:00
Antoine Pitrou
38fbd799d1 Issue #14829: Fix bisect issues under 64-bit Windows. 2012-05-16 15:01:40 +02:00
Ned Deily
acdc56d0d0 Issue #14662: Prevent shutil failures on OS X when destination does not
support chflag operations.  (Patch by Hynek Schlawack)
2012-05-10 17:45:49 -07:00
Richard Oudkerk
9a16fa69dd Fix for issue 14725 for 2.7 branch 2012-05-05 20:41:08 +01:00
Raymond Hettinger
a68bdc720a Improve docstring 2012-04-27 00:20:39 -07:00
Mark Dickinson
92678105c5 Remove accidentally-committed debugging code. 2012-04-15 16:45:31 +01:00
Mark Dickinson
0407e96061 Issue 13496: Fix bisect.bisect overflow bug for large collections. 2012-04-15 16:43:19 +01:00
Benjamin Peterson
f235989e0c protect this call, too 2012-04-02 11:18:18 -04:00
Benjamin Peterson
f73813a8bb prevent writing to stderr from messing up the exception state (closes #14474) 2012-04-02 11:15:17 -04:00
Antoine Pitrou
4b536d4771 Issue #14437: Fix building the _io module under Cygwin. 2012-03-31 23:53:07 +02:00
Gregory P. Smith
c10f5c2828 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.
2012-03-14 18:12:23 -07:00
Gregory P. Smith
c8ff46032f Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
2012-03-14 15:28:10 -07:00
Éric Araujo
7f4b3be2cc Fix typo “seperator” 2012-02-26 01:41:39 +01:00