Mark Dickinson
fe67bd9168
Issue #6561 : '\d' regular expression should not match characters of
...
category [No]; only those of category [Nd]. (Backport of r74237
from py3k.)
2009-07-28 20:35:03 +00:00
Amaury Forgeot d'Arc
74b3016783
#6553 : crash in cPickle.load(), when given a StringIO with incomplete data.
...
Will backport to 2.6, 3.x already fixed a similar issue with issue4298.
2009-07-23 19:26:02 +00:00
Thomas Heller
d8431ae3bd
Revert rev 74134, as it does not completely fixx issue #6493 .
2009-07-21 19:04:02 +00:00
Thomas Heller
6adda9641d
Issue #6493 : Fix a ctypes problem setting bitfields more than 31 bits
...
wide.
2009-07-21 06:27:14 +00:00
Alexandre Vassalotti
0b5b8af435
Fix GCC warning about fprintf used without a string literal and
...
without format arguments.
2009-07-17 08:09:04 +00:00
Alexandre Vassalotti
6d78736177
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
2009-07-17 07:54:23 +00:00
Georg Brandl
d77faaf48f
#5910 : fix kqueue for calls with more than one event.
2009-07-16 07:18:07 +00:00
Alexandre Vassalotti
999ecc0eaf
Issue #2389 : Pickle array objects using a list representation for portability
...
across different machine architectures and compatibility with Python 3.x.
2009-07-15 18:19:47 +00:00
Amaury Forgeot d'Arc
ce32eb7406
#6416 : Fix compilation of the select module on Windows, as well as test_subprocess:
...
PIPE_BUF is not defined on Windows, and probably has no meaning there.
Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
2009-07-09 22:37:22 +00:00
Mark Dickinson
5fd3af24a2
Issue #1523 : Remove deprecated overflow masking in struct module, and
...
make sure that out-of-range values consistently raise struct.error.
2009-07-07 15:08:28 +00:00
Mark Dickinson
24766ba6af
Typo in error message
2009-07-07 10:18:22 +00:00
Amaury Forgeot d'Arc
e93eee7d22
#6420 : Fix a compilation warning in the nis module, for OpenBSD and FreeBSD.
2009-07-07 06:49:41 +00:00
Mark Dickinson
463dc4bf26
Issues #1530559 , #1741130 : Fix various inconsistencies in struct.pack
...
integer packing, and reenable some previously broken tests.
2009-07-05 10:01:24 +00:00
Alexandre Vassalotti
0fe799151f
Issue 2370: Add Python 3 warnings for the removal of operator.isCallable and
...
operator.sequenceIncludes.
Patch contributed by Jeff Balogh (and updated slightly by me).
2009-07-05 04:22:40 +00:00
Gregory P. Smith
9d36fd2acb
Adds the select.PIPE_BUF attribute to expose the system constant.
2009-07-03 20:48:31 +00:00
Jesus Cea
869321484d
multiprocessing doesn't compile in Solaris because a typo
2009-07-02 14:30:18 +00:00
Hirokazu Yamamoto
8839fd7372
Issue #6344 : Fixed a crash of mmap.read() when passed a negative argument.
...
Reviewed by Amaury Forgeot d'Arc.
2009-06-29 13:25:16 +00:00
Hirokazu Yamamoto
bcff47a6ec
Issue #4856 : Py_GetFileAttributesEx[AW] are not needed because GetFileAttributesEx[AW]
...
won't fail with ERROR_CALL_NOT_IMPLEMENTED on win NT.
Reviewed by Amaury Forgeot d'Arc.
2009-06-29 11:27:03 +00:00
Hirokazu Yamamoto
a3c5609079
Issue #4856 : Remove checks for win NT.
2009-06-28 10:23:00 +00:00
Amaury Forgeot d'Arc
ca69bb90cb
Fix a compilation warning on Windows
2009-06-25 21:29:32 +00:00
Raymond Hettinger
0115e098da
Issue 6305: Clarify error message for large arguments to itertools.islice().
2009-06-23 21:32:28 +00:00
Benjamin Peterson
94819cf47c
remove some unused symtable constants
2009-06-23 03:01:56 +00:00
Benjamin Peterson
9f7baec574
backport r73430
2009-06-14 22:36:48 +00:00
Hirokazu Yamamoto
983a46543c
Issue #6271 : mmap tried to close invalid file handle (-1) when annonymous.
...
(On Unix) Patch by STINNER Victor.
2009-06-14 03:53:55 +00:00
Antoine Pitrou
1969059327
Issue #6215 : backport the 3.1 io lib
2009-06-12 20:14:08 +00:00
Raymond Hettinger
1672dc60ec
Fix signed/unsigned compiler warning.
2009-06-10 16:15:40 +00:00
Benjamin Peterson
e021c9cb27
backport r73268
2009-06-07 16:24:48 +00:00
Martin v. Löwis
4f16d3b4ac
Issue #4873 : Fix resource leaks in error cases of pwd and grp.
2009-05-29 15:58:08 +00:00
Jeffrey Yasskin
7937d939b1
Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-g
...
-Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
There's still a batch of non-prototype warnings in Xlib.h that I don't know how
to fix.
2009-05-29 03:44:31 +00:00
Collin Winter
57bef68bc0
Issue 5794: fix cPickle's unpickling of recursive tuples.
2009-05-26 04:12:39 +00:00
Georg Brandl
944f684ce6
Allow multiple context managers in one with statement, as proposed
...
in http://codereview.appspot.com/53094 and accepted by Guido.
The construct is transformed into multiple With AST nodes so that
there should be no problems with the semantics.
2009-05-25 21:02:56 +00:00
Benjamin Peterson
7285a2666e
fix error handling
2009-05-25 20:13:36 +00:00
Collin Winter
179bf213ea
Issue 5670: special-case pickling of dicts. This nearly doubles the performance of dict pickling in cPickle.
2009-05-25 04:34:39 +00:00
Benjamin Peterson
a7724e59e0
stop using Py_FindMethod
2009-05-24 23:13:32 +00:00
Antoine Pitrou
d49e375eed
Issue #1309352 : fcntl now converts its third arguments to a C `long` rather
...
than an int, which makes some operations possible under 64-bit Linux (e.g.
DN_MULTISHOT with F_NOTIFY).
2009-05-24 15:40:09 +00:00
Antoine Pitrou
4fe3858991
Fix build under Windows
2009-05-24 12:15:04 +00:00
Benjamin Peterson
e5afa3b24b
support building with subversion 1.7 #6094
2009-05-23 19:24:37 +00:00
Antoine Pitrou
76dd2d1459
Some pid_t-expecting or producing functions were forgotten in r72852.
2009-05-23 16:06:49 +00:00
Antoine Pitrou
5e858fe52b
Issue #1983 : Fix functions taking or returning a process identifier to use
...
the dedicated C type `pid_t` instead of a C `int`. Some platforms have
a process identifier type wider than the standard C integer type.
2009-05-23 15:37:45 +00:00
Mark Dickinson
cf4ad76a0a
typos in ctypes Module
2009-05-20 17:55:31 +00:00
Hirokazu Yamamoto
b24bb27d22
Issue #3527 : Removed Py_WIN_WIDE_FILENAMES which is not used any more.
2009-05-17 02:52:09 +00:00
Antoine Pitrou
42b5bcf048
Issue #5918 : Fix a crash in the parser module.
...
Patch by Amaury.
2009-05-14 21:48:09 +00:00
Jeffrey Yasskin
1aa4700234
PyCode_NewEmpty:
...
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
are trying to build an empty code object, usually to put it in a dummy frame
object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
just the filename, function name, and first line number, instead of also
requiring lots of code internals.
2009-05-08 21:51:06 +00:00
Mark Dickinson
083d1f9f9a
Issue #5933 : Fix gcc -Wextra compiler warnings (and remove some
...
trailing whitespace).
2009-05-08 20:58:08 +00:00
Thomas Heller
fd1ee7a8a0
Add a file that contains diffs between offical libffi files and the
...
files in this repository. Should make it easier to merge new libffi
versions.
2009-05-08 20:09:40 +00:00
Walter Dörwald
a7fb408a02
Issue 3739: The unicode-internal encoder now reports the number of *characters*
...
consumed like any other encoder (instead of the number of bytes).
2009-05-06 14:28:24 +00:00
Benjamin Peterson
c6c1f96420
tabify :(
2009-05-05 23:00:48 +00:00
Benjamin Peterson
a98c8e1d2d
fix running test_capi with -R ::
...
Also, fix a refleak in the test that was preventing running. :)
2009-05-05 21:09:21 +00:00
Mark Dickinson
929ab93489
Issue #5933 : Fix some gcc -Wextra warnings. Thanks Victor Stinner for
...
the patch.
2009-05-05 17:41:47 +00:00
Georg Brandl
f71ba95e91
#5932 : fix error return in _convertPyInt_AsSsize_t() conversion function.
2009-05-05 07:48:12 +00:00