Neal Norwitz
658516617c
Get socketmodule to build after adding netlink support.
2006-01-16 04:31:40 +00:00
Fredrik Lundh
b84b35f02a
the implementation uses ZipImportError, not ZipImporterError...
2006-01-15 15:00:40 +00:00
Martin v. Löwis
d056005482
Change build format of netlink addresses.
2006-01-15 07:49:20 +00:00
Martin v. Löwis
11017b172d
Patch #1103116 : AF_NETLINK sockets basic support.
2006-01-14 18:12:57 +00:00
Neal Norwitz
3b4fff8079
Fix SF bug #1402308 , segfault when using mmap(-1, ...)
...
This didn't crash on Linux, but valgrind complained.
I'm not sure if this test is valid on Windows.
Will backport.
2006-01-11 08:54:45 +00:00
Neal Norwitz
88bbd73d07
SF bug #1400822 , Extended version of _curses over{lay,write} does not work
...
Fix signatures to conform to doc (also fixed ungetmouse()).
Will backport.
2006-01-10 07:05:44 +00:00
Neal Norwitz
5e3d862392
Bug #1400115 , Fix segfault when calling curses.panel.userptr()
...
without prior setting of the userptr.
Will backport.
2006-01-09 06:24:35 +00:00
Neal Norwitz
d948a43df8
Fix icc warnings: try to set TCL_UNIX_FD for #if TCL_WIN_SOCKET == TCL_UNIX_FD. res is not used, add a XXX comment
2006-01-08 01:08:55 +00:00
Neal Norwitz
e4ab5f5531
Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR
2006-01-08 01:08:09 +00:00
Neal Norwitz
d39d861a36
Fix icc warnings: strlen() returns size_t
2006-01-08 01:03:36 +00:00
Neal Norwitz
52ca0dd712
Fix icc warnings: using wrong enum type
2006-01-07 21:21:16 +00:00
Neal Norwitz
f0459142d5
Fix icc warnings: extra semi-colon and signed vs unsigned
2006-01-07 21:20:24 +00:00
Neal Norwitz
3f0464839b
Fix icc warnings: extra semi-colon
2006-01-07 21:19:49 +00:00
Tim Peters
a9652f11ad
Py_GetBuildInfo(): Squash compiler warnings.
...
Locals `revision` and `branch` were const-incorrect.
2006-01-06 02:45:17 +00:00
Martin v. Löwis
456af5f78b
Deal with empty svn_revisions.
2006-01-06 00:43:42 +00:00
Martin v. Löwis
43b57805fb
Drop sys.build_number. Add sys.subversion.
2006-01-05 23:38:54 +00:00
Skip Montanaro
2b47445234
squash compiler warning on Mac OSX 10.3
2006-01-05 10:49:13 +00:00
Martin v. Löwis
c5bf5a00a3
Always set SVNVERSION to "exported" if it otherwise fails.
2006-01-05 10:33:59 +00:00
Martin v. Löwis
dea59e5755
Stop maintaining the buildno file.
...
Also, stop determining Unicode sizes with PyString_GET_SIZE.
2006-01-05 10:00:36 +00:00
Neal Norwitz
40c6b47ca1
Fix errors on 64-bit platforms. Will backport
2006-01-05 05:43:35 +00:00
Martin v. Löwis
70cef449ca
Remove unneeded directories.
2006-01-03 06:48:38 +00:00
Martin v. Löwis
d372aa8e37
Import zlib into Python tree.
2006-01-03 06:44:59 +00:00
Armin Rigo
f5bd3b442d
adding in-place operators to the operator module.
2005-12-29 16:50:42 +00:00
Armin Rigo
c4308d5be6
two missing PyDoc_STR().
2005-12-29 14:39:28 +00:00
Georg Brandl
cd4d1e8b46
[ 959576 ] Can't build Python on POSIX w/o $HOME
2005-12-27 17:37:07 +00:00
Fredrik Lundh
c3389997d4
SF#1389809
...
cast first PyUnicode_Decode argument to proper type (why is
"char *" used for encoded byte streams, btw? shouldn't that
be "void *" or, if necessary, "unsigned char *"?)
2005-12-25 11:40:19 +00:00
Barry Warsaw
ce3a9131c3
Revert most of r41765. Don't use $Revision$ in Py_GetBuildNumber(). Keep the
...
use of $(srcdir) in Makefile.pre.in so builds outside the source dir still
work.
2005-12-19 14:43:44 +00:00
Neal Norwitz
9dbc7dd6f2
Remove extra parens
2005-12-19 06:08:59 +00:00
Neal Norwitz
30b5c5d011
Fix SF bug #1072182 , problems with signed characters.
...
Most of these can be backported.
2005-12-19 06:05:18 +00:00
Barry Warsaw
a3bdc2c2a5
Handle a couple of use cases discussed in python-dev w.r.t. calculating the
...
Subversion revision number.
First, in an svn export, there will be no .svn directory, so use an in-file
$Revision$ keyword string with the keyword chrome stripped off.
Also, use $(srcdir) in the Makefile.pre.in to handle the case where Python is
build outside the source tree.
2005-12-18 22:46:35 +00:00
Fredrik Lundh
0149e3a090
Fixed None reference leaks in TreeBuilder class (reported by Neal
...
Norwitz)
2005-12-18 13:58:25 +00:00
Neal Norwitz
8856fb750b
SF Patch #1365916 , mmap fails on AMD64
...
Fix some 64-bit issues due to mismatch format characters w/actual data types
2005-12-18 03:34:22 +00:00
Barry Warsaw
2a38a86c1c
Expose Subversion revision number (calculated via "svnversion .") to Python.
...
Add C API function Py_GetBuildNumber(), add it to the interactive prompt
banner (i.e. Py_GetBuildInfo()), and add it as the sys.build_number
attribute. The build number is a string instead of an int because it may
contain a trailing 'M' if there are local modifications.
2005-12-18 01:27:35 +00:00
Fredrik Lundh
b80775ecf1
Fixed reference counting error when using the entity dictionary
...
(reported by Chris Olds). Backported from the 1.0.6 development
branch.
2005-12-17 08:33:21 +00:00
Fredrik Lundh
6d52b55c56
updating to cElementTree 1.0.5 (step 3 of 3)
2005-12-16 22:06:43 +00:00
Fredrik Lundh
8c8836b406
updating to cElementTree 1.0.5 (step 2 of 3)
2005-12-16 22:06:06 +00:00
Fredrik Lundh
7cfe6eee0d
updating to cElementTree 1.0.5
2005-12-16 22:05:40 +00:00
Fredrik Lundh
c97ba7064e
added PSG licensing blurb
2005-12-14 22:30:36 +00:00
Fredrik Lundh
14b4feac6a
renamed to _elementtree (for Python 2.5)
2005-12-14 21:46:41 +00:00
Fredrik Lundh
0c53bfd374
copied cElementTree 1.0.4 to Modules
2005-12-14 21:45:58 +00:00
Armin Rigo
5c8cc2543b
Added the 'ULL' prefix to the unsigned long long literal constants.
...
Supresses numerous pages of compiler warnings.
2005-12-14 18:05:44 +00:00
Fredrik Lundh
cc117dbb9d
moved magic into structure (mainly to simplify the client code)
...
added missing API hooks
2005-12-13 21:55:36 +00:00
Fredrik Lundh
d7a42881db
renamed dispatch -> capi to match other CAPI implementations
...
(e.g. cStringIO, ucnhash, etc)
2005-12-13 20:43:04 +00:00
Fredrik Lundh
c3345040df
added cobject-based expat dispatch mechanism to pyexpat
2005-12-13 19:49:55 +00:00
Hye-Shik Chang
c5c57e6d98
Bug #1290333 : Added a workaround for cjkcodecs' _codecs_cn module
...
build problem on AIX.
2005-12-12 11:48:32 +00:00
Jeremy Hylton
af68c874a6
Add const to several API functions that take char *.
...
In C++, it's an error to pass a string literal to a char* function
without a const_cast(). Rather than require every C++ extension
module to put a cast around string literals, fix the API to state the
const-ness.
I focused on parts of the API where people usually pass literals:
PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type
slots, etc. Predictably, there were a large set of functions that
needed to be fixed as a result of these changes. The most pervasive
change was to make the keyword args list passed to
PyArg_ParseTupleAndKewords() to be a const char *kwlist[].
One cast was required as a result of the changes: A type object
mallocs the memory for its tp_doc slot and later frees it.
PyTypeObject says that tp_doc is const char *; but if the type was
created by type_new(), we know it is safe to cast to char *.
2005-12-10 18:50:16 +00:00
Armin Rigo
de5f05f3b1
Nobody on python-dev seemed particularly bothered that Hotshot generates half-
...
meaningless numbers, but I figured out I would fix that bug anyway.
2005-12-06 14:07:39 +00:00
Georg Brandl
a13c2446dc
Bug #869197 : setgroups rejects long integer argument
2005-11-22 19:30:31 +00:00
Andrew M. Kuchling
bb7e800506
[Patch #1350573 ] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo.
2005-11-22 15:32:28 +00:00
Fred Drake
f5b7fd2239
update busted comment
2005-11-11 19:34:56 +00:00