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
Hirokazu Yamamoto
406d7aaee7
Issue #5913 : os.listdir() should fail for empty path on windows.
2009-05-04 05:28:39 +00:00
Gregory P. Smith
eeb51a99c5
cleanup applied patch to match style that is already in py3k branch.
2009-05-04 00:48:41 +00:00
Gregory P. Smith
d02eedacab
Issue #4751 : For hashlib algorithms provided by OpenSSL, the Python
...
GIL is now released during computation on data lengths >= 2048 bytes.
2009-05-04 00:16:49 +00:00
Antoine Pitrou
7430989cda
Isue #5084 : unpickling now interns the attribute names of pickled objects,
...
saving memory and avoiding growth in size of subsequent pickles. Proposal
and original patch by Jake McGuire.
2009-05-02 21:13:23 +00:00
Antoine Pitrou
3fd4ea9dab
Issue #5726 : Make Modules/ld_so_aix return the actual exit code of the linker, rather than always exit successfully.
...
Patch by Floris Bruynooghe.
2009-05-01 21:16:14 +00:00
Thomas Heller
90c61a2e09
Issue #4305 : ctypes fails to build on mipsel-linux-gnu (detects mips
...
instead of mipsel)
2009-04-28 19:23:41 +00:00
Antoine Pitrou
e988e286b2
Issue #1734234 : Massively speedup `unicodedata.normalize()` when the
...
string is already in normalized form, by performing a quick check beforehand.
Original patch by Rauli Ruohonen.
2009-04-27 21:53:26 +00:00
Eric Smith
068f06568b
Issue #5835 , deprecate PyOS_ascii_formatd.
...
If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great.
Will port to py3k with a different strategy.
2009-04-25 21:40:15 +00:00
Thomas Heller
e09f161618
Issue #5078 : Avoid redundant call to FormatError()
2009-04-25 16:37:18 +00:00
Thomas Heller
5c6af808f7
Issue #3102 : All global symbols that the _ctypes extension defines are
...
now prefixed with 'Py' or '_ctypes'.
2009-04-24 20:31:47 +00:00