Matthias Klose
c551776f8e
Modules/socketmodule.c: netdb_lock: define static.
14 years ago
Meador Inge
2d639d5665
Issue #15424 : Add a __sizeof__ implementation for array objects.
Patch by Ludwig Hähne.
14 years ago
Antoine Pitrou
76370f4977
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
14 years ago
Jesus Cea
4fa7a5fc98
#15512 : Declarations reorganization
14 years ago
Jesus Cea
d4e58dc966
Closes #15469 : Correct __sizeof__ support for deque
14 years ago
Jesus Cea
3e3192d8f7
Closes #15512 : Correct __sizeof__ support for parser
14 years ago
Antoine Pitrou
1fa9f7b3d1
Issue #15538 : Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
14 years ago
Antoine Pitrou
baee34c344
Issue #15489 : Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
14 years ago
Antoine Pitrou
bff5df0d1c
Issue #15487 : Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
14 years ago
Meador Inge
6812346808
Issue #15402 : Simplify Struct.__sizeof__ and make tests more precise.
14 years ago
Meador Inge
87c5b94c39
Issue #15402 : Add a __sizeof__ method to struct.Struct.
Initial patch by Serhiy Storchaka.
14 years ago
Meador Inge
25be3f68e0
Issue #6493 : Fix handling of c_uint32 bitfields with width of 32 on Windows.
14 years ago
Antoine Pitrou
c2ec992698
Issue #15247 : FileIO now raises an error when given a file descriptor pointing to a directory.
14 years ago
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
14 years ago
Mark Dickinson
e0afb72402
Closes #14591 : Random.jumpahead could produce an invalid MT state on 64-bit machines.
14 years ago
Antoine Pitrou
d9a5137742
Issue #5067 : improve some json error messages.
Patch by Serhiy Storchaka.
14 years ago
Amaury Forgeot d'Arc
d958cc960f
Issue #15219 : Fix a reference leak when hashlib.new() is called with
invalid parameters.
14 years ago
Charles-François Natali
65dd745fec
Remove useless test (flowinfo is unsigned).
14 years ago
Hynek Schlawack
9bd4bf2a3d
#10053 : Don't close FDs when FileIO.__init__ fails
Loosely based on the work by Hirokazu Yamamoto.
14 years ago
Richard Oudkerk
926f58df57
Issue #10133 : Make multiprocessing deallocate buffer if socket read fails.
Patch by Hallvard B Furuseth.
14 years ago
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.
14 years ago
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.
14 years ago
Hynek Schlawack
877effc298
#4841 : Fix FileIO constructor to honor closefd when called repeatedly
Patch by Victor Stinner.
14 years ago
Antoine Pitrou
cd8799f077
Issue #14888 : Fix misbehaviour of the _md5 module when called on data larger than 2**32 bytes.
14 years ago
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.
14 years ago
Antoine Pitrou
38fbd799d1
Issue #14829 : Fix bisect issues under 64-bit Windows.
14 years ago
Ned Deily
acdc56d0d0
Issue #14662 : Prevent shutil failures on OS X when destination does not
support chflag operations. (Patch by Hynek Schlawack)
14 years ago
Richard Oudkerk
9a16fa69dd
Fix for issue 14725 for 2.7 branch
14 years ago
Raymond Hettinger
a68bdc720a
Improve docstring
14 years ago
Mark Dickinson
92678105c5
Remove accidentally-committed debugging code.
14 years ago
Mark Dickinson
0407e96061
Issue 13496: Fix bisect.bisect overflow bug for large collections.
14 years ago
Benjamin Peterson
f235989e0c
protect this call, too
14 years ago
Benjamin Peterson
f73813a8bb
prevent writing to stderr from messing up the exception state ( closes #14474 )
14 years ago
Antoine Pitrou
4b536d4771
Issue #14437 : Fix building the _io module under Cygwin.
14 years ago
Gregory P. Smith
99576c04f1
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
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.
14 years ago
Barry Warsaw
e9bc2f773f
- 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.
14 years ago
Gregory P. Smith
d0e1a5b241
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.
14 years ago
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.
14 years ago
Georg Brandl
3aec568e6e
Remove reST markup from --help output. Also: O(n**2) is dict construction, not single insertion.
14 years ago
Benjamin Peterson
4e171d12da
don't need this hack anymore
14 years ago
Antoine Pitrou
776af4002b
Fix crash at startup with -W options.
14 years ago
Antoine Pitrou
cc3fa88a9c
Fix crash at startup with -W options.
14 years ago
Barry Warsaw
8757cad394
Backport fix from default branch for ./python -R -Wd where hash('d') would not
have gotten randomized.
14 years ago
Petri Lehtinen
4ab701b2d3
sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures
Closes #8033 .
14 years ago
Benjamin Peterson
9be6c3ddf0
kill interned strings computed before random initialization
14 years ago
Barry Warsaw
1e13eb084f
- Issue #13703 : oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
service attacks due to hash collisions within the dict and set types. Patch
by David Malcolm, based on work by Victor Stinner.
14 years ago
Antoine Pitrou
dd7e071b23
Issue #13014 : Fix a possible reference leak in SSLSocket.getpeercert().
14 years ago
Antoine Pitrou
c39cd783fb
Issue #13015 : Fix a possible reference leak in defaultdict.__repr__.
Patch by Suman Saha.
14 years ago
Petri Lehtinen
c7fd523ac5
Issue #10811 : Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now.
15 years ago