Commit Graph

4903 Commits

Author SHA1 Message Date
Hirokazu Yamamoto
8355155f22 Fixed memory leak. 2009-03-03 22:05:57 +00:00
Kristján Valur Jónsson
7705d0aaaf Fix SHA_new and MD5_new, that would crash if not given initial data 2009-03-03 03:20:42 +00:00
Mark Dickinson
de28d6841e Issue #5393: typo in cmath.cos and cmath.cosh docstring 2009-02-28 15:50:40 +00:00
Hirokazu Yamamoto
b0e10c760c Issue #1733986: Fixed mmap crash in accessing elements of second map object
with same tagname but larger size than first map. (Windows)
2009-02-28 12:13:07 +00:00
Hirokazu Yamamoto
f2dc885780 Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer
overrun.
2009-02-28 10:31:54 +00:00
Benjamin Peterson
873389dbd8 fix compiler warnings 2009-02-21 23:09:33 +00:00
Mark Dickinson
3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Raymond Hettinger
aa681c7b99 Fix keyword arguments for itertools.count().
Step arg without a start arg was ignored.
2009-02-21 07:17:22 +00:00
Raymond Hettinger
182edaefb5 Add keyword arg support to itertools.repeat(). 2009-02-19 02:38:25 +00:00
Raymond Hettinger
2e2909f584 Add keyword arg support to itertools.compress(). 2009-02-19 02:15:14 +00:00
Raymond Hettinger
08259e8f25 Py3k warnings now automatically include -Qwarn for division. 2009-02-18 23:10:19 +00:00
Hirokazu Yamamoto
17a837e4db Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,
The file was resized to wrong size.
2009-02-17 13:17:26 +00:00
Hirokazu Yamamoto
f6bbd0e71d Issue #5292: Fixed mmap crash on its boundary access m[len(m)]. 2009-02-17 10:12:10 +00:00
Benjamin Peterson
a7b0c12152 PyList_Append() can fail 2009-02-16 21:23:04 +00:00
Benjamin Peterson
062a7c3675 fix compiler warnings 2009-02-16 21:07:52 +00:00
Raymond Hettinger
b21d8109af Add GC support to count() objects. Backport candidate. 2009-02-16 20:39:12 +00:00
Raymond Hettinger
a4038038c6 Add keyword argument support to itertools.count(). 2009-02-14 00:25:51 +00:00
Georg Brandl
2c07929770 Fix warnings GCC emits where the argument of PyErr_Format is a single variable. 2009-02-13 11:10:04 +00:00
Gregory P. Smith
ea38826ab2 - Issue #3745: Fix hashlib to always reject unicode and non buffer-api
supporting objects as input no matter how it was compiled (built in
  implementations or external openssl library).
(backported from a py3k branch)
2009-02-13 03:00:00 +00:00
Raymond Hettinger
66373ab888 Fix spaces/tabs in example. 2009-02-12 10:16:19 +00:00
Raymond Hettinger
31c769ca89 Issue 5032: added a step argument to itertools.count() and allowed non-integer arguments. 2009-02-12 05:39:46 +00:00
Gregory P. Smith
3605b5cee3 Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes even
on LP64 platforms (most 64-bit Linux, bsd, unix systems).
2009-02-11 23:45:25 +00:00
Thomas Heller
3689ae256e Issue#5203: ctypes segfaults when passing a unicode string to a
function without argtypes, if HAVE_USABLE_WCHAR_T is false.
2009-02-10 18:43:01 +00:00
Mark Dickinson
4015f62e39 Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for
negative arguments.  Previously, it raised TypeError.

Thanks Lisandro Dalcin.
2009-02-10 15:46:50 +00:00
Kristján Valur Jónsson
6a743d3694 Issue 4804. Add a function to test the validity of file descriptors on Windows, and stop using global runtime settings to silence the warnings / assertions. 2009-02-10 13:32:24 +00:00