Gerhard Häring
3e99c0ad64
Updated the sqlite3 module to the external pysqlite 2.2.2 version.
2006-04-23 15:24:26 +00:00
Ronald Oussoren
32fd16ece9
Patch 1471761 - test for broken poll at runtime
...
This patch checks if poll is broken when the select module is loaded instead
of doing so at configure-time. This functionality is only active on Mac OS X.
2006-04-23 12:36:23 +00:00
Ronald Oussoren
d06b6f28a0
Patch 1471925 - Weak linking support for OSX
...
This patch causes several symbols in the socket and posix module to be weakly
linked on OSX and disables usage of ftime on OSX. These changes make it possible
to use a binary build on OSX 10.4 on a 10.3 system.
2006-04-23 11:59:25 +00:00
Martin v. Löwis
6685128b97
Fix more ssize_t issues.
2006-04-22 11:40:03 +00:00
Martin v. Löwis
26fd9607c7
Fix more ssize_t problems.
2006-04-22 11:15:41 +00:00
Andrew M. Kuchling
6ce35a9691
Fix comment typo
2006-04-22 01:58:40 +00:00
Thomas Heller
4b75a7c1cf
Merge in changes from ctypes 0.9.9.6 upstream version.
2006-04-21 16:48:56 +00:00
Hye-Shik Chang
db8955bc54
Backport p3yk r45619:
...
Add empty __init__ methods for stateful multibytecodec instances.
This resolves a problem found by Thomas Wouters:
http://mail.python.org/pipermail/python-dev/2006-April/064051.html
2006-04-21 16:28:34 +00:00
Skip Montanaro
c34b931d78
This is a long-ago patch I submitted to SF (1100924) to time the gc passes.
...
Barry approved it awhile ago. Been sitting in my sandbox for awhile as
well.
2006-04-21 01:33:40 +00:00
Neal Norwitz
449b24ebe9
Address issues brought up by MvL on python-checkins.
...
I tested this with valgrind on amd64.
The man pages I found for diff architectures are inconsistent on this.
I'm not entirely sure this change is correct for all architectures either.
Perhaps we should just over-allocate and not worry about it?
2006-04-20 06:56:05 +00:00
Neal Norwitz
0d21b1ed54
Whitespace, fix indentation
2006-04-20 06:44:42 +00:00
Skip Montanaro
94785ef142
Correct implementation and documentation of os.confstr. Add a simple test
...
case. I've yet to figure out how to provoke a None return I can test.
2006-04-20 01:29:48 +00:00
Armin Rigo
a9017c39ce
SF Patch #1062014 : AF_UNIX sockets under Linux have a special
...
abstract namespace that is now fully supported.
2006-04-19 11:50:27 +00:00
Thomas Heller
b6dfaed903
Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer.
2006-04-18 20:09:27 +00:00
Skip Montanaro
058be9adbc
C++ compiler cleanup: the typical few casts, and ... C++ didn't like that
...
the StgDictObject's ffi_type member had the same name as its type. I
changed that to ffi_type_pointer. Feel free to change it to something else
more meaningful, just not ffi_type.
2006-04-18 19:45:17 +00:00
Skip Montanaro
cbe2e491bc
C++ compiler cleanup: a cast here, a cast there... still does not compile under C++ though...
2006-04-18 19:39:48 +00:00
Skip Montanaro
14f8899dc2
C++ compiler cleanup: "typename" is a C++ keyword
2006-04-18 19:35:04 +00:00
Thomas Heller
9d89299fea
Fix refcounting.
...
This makes 'import ctypes; reload(ctypes)' no longer leak reference counts.
2006-04-18 14:57:39 +00:00
Skip Montanaro
816a162265
C++ compiler cleanup: proper casts
2006-04-18 11:53:09 +00:00
Skip Montanaro
9582c148b6
correct function signature
2006-04-18 01:01:41 +00:00
Skip Montanaro
dd527fcbcd
reset errno before calling confstr - use confstr() doc to simplify checks afterwards
2006-04-18 00:49:49 +00:00
Neal Norwitz
c859b5c04e
Remove unused field
2006-04-17 01:49:28 +00:00
Neal Norwitz
88c97845c6
No reason to export get_decomp_record, make static
2006-04-17 00:36:29 +00:00
Martin v. Löwis
19ab6c98cf
Initialize structseq types only once.
2006-04-16 18:55:50 +00:00
Neal Norwitz
195e4e67e7
Fix valgrind problem with invalid memory read
2006-04-16 03:37:19 +00:00