Martin v. Löwis
aef18b1c67
Patch #2240 : Implement signal.setitimer and signal.getitimer.
2008-03-24 13:31:16 +00:00
Christian Heimes
0e9ab5f2f0
Applied patch #1657 epoll and kqueue wrappers for the select module
...
The patch adds wrappers for the Linux epoll syscalls and the BSD kqueue syscalls. Thanks to Thomas Herve and the Twisted people for their support and help.
TODO: Finish documentation documentation
2008-03-21 23:49:44 +00:00
Brett Cannon
aa5778d1b8
Remove our implementation of memmove() and strerror(); both are in the C89
...
standard library.
2008-03-18 04:09:00 +00:00
Christian Heimes
951cc0f474
Fixed bug #1983 : Return from fork() is pid_t, not int
2008-01-31 23:08:23 +00:00
Christian Heimes
487235109b
Fixed a wrong assumption in configure.in and Include/pyport.h. The is finite function is not called isfinite() but finite(). Sorry, my fault. :)
2008-01-20 14:28:28 +00:00
Christian Heimes
fb2d25a154
Issue #1646 : Make socket support TIPC. The socket module now has support
...
for TIPC under Linux, see http://tipc.sf.net/ for more information.
Thanks to Alberto Bertogli for the patch
2008-01-07 16:12:44 +00:00
Christian Heimes
0a8143f646
Applied patch #1635 : Float patch for inf and nan on Windows (and other platforms).
...
The patch unifies float("inf") and repr(float("inf")) on all platforms.
2007-12-18 23:22:54 +00:00
Christian Heimes
3628187b66
Fix for feature request #1528 Add os.fchmod
...
Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix.
I've made a quick test of fchmod() and fchown() on my system. They are working as expected.
2007-11-30 21:11:28 +00:00
Martin v. Löwis
58bd49f5fe
Patch #1388440 : Add set_completion_display_matches_hook and
...
get_completion_type to readline.
2007-09-04 13:13:14 +00:00
Martin v. Löwis
76760b0e8f
Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
2007-07-31 19:57:56 +00:00
Martin v. Löwis
382abeff0f
Patch #1490190 : posixmodule now includes os.chflags() and os.lchflags()
...
functions on platforms where the underlying system calls are available.
2007-02-19 10:55:19 +00:00
Martin v. Löwis
aef4c6bc00
Patch #1610575 : Add support for _Bool to struct.
2007-01-21 09:33:07 +00:00
Martin v. Löwis
0347a9a491
Get DBL_MAX from float.h not values.h. Will backport.
2006-10-27 07:06:52 +00:00
Martin v. Löwis
443ccc73f3
Check for values.h. Will backport.
2006-10-27 06:42:27 +00:00
Martin v. Löwis
aac1316222
Add check for the PyArg_ParseTuple format, and declare
...
it if it is supported.
2006-10-19 10:58:46 +00:00
Martin v. Löwis
ebe26709d2
Fix test for uintptr_t. Fixes #1568842 .
...
Will backport.
2006-10-02 14:55:51 +00:00
Martin v. Löwis
0907f4dc5b
Drop usage of test -e in configure as it is not portable.
...
Fixes #1439538
Will backport to 2.4
Also regenerate pyconfig.h.in.
2006-07-30 14:09:47 +00:00
Walter Dörwald
4994d9546c
Patch #1506645 : add Python wrappers for the curses functions
...
is_term_resized, resize_term and resizeterm. This uses three
separate configure checks (one for each function).
2006-06-19 08:07:50 +00:00
Neal Norwitz
6e73aaab47
Patch #1503046 , Conditional compilation of zlib.(de)compressobj.copy
...
copy is only in newer versions of zlib. This should allow zlibmodule
to work with older versions like the Tru64 buildbot.
2006-06-12 03:33:09 +00:00
Martin v. Löwis
0e8bd7e1cc
Patch #1495999 : Part two of Windows CE changes.
...
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
2006-06-10 12:23:46 +00:00
Neal Norwitz
58e28887d5
Bug/Patch #1481770 : Use .so extension for shared libraries on HP-UX for ia64.
...
I suppose this could be backported if anyone cares.
2006-05-19 07:00:58 +00:00
Martin v. Löwis
5f5d99c215
- Test for sys/statvfs.h before including it, as statvfs is present
...
on some OSX installation, but its header file is not.
Will backport to 2.4
2006-05-16 07:05:37 +00:00
Brett Cannon
09d1236b89
Detect if %zd is supported by printf() during configure and sets
...
PY_FORMAT_SIZE_T appropriately. Removes warnings on
OS X under gcc 4.0.1 when PY_FORMAT_SIZE_T is set to "" instead of "z" as is
needed.
2006-05-11 05:11:33 +00:00
Ronald Oussoren
988117fd63
Patch 1471883: --enable-universalsdk on Mac OS X
2006-04-29 11:31:35 +00:00
Neal Norwitz
05a45599d7
Patch #1309579 : wait3 and wait4 were added to the posix module by Chad J. Schroeder.
...
This was a fair amount of rework of the patch. Refactored test_fork1 so it
could be reused by the new tests for wait3/4. Also made them into new style
unittests (derive from unittest.TestCase).
2006-03-20 06:30:08 +00:00
Martin v. Löwis
18e165558b
Merge ssize_t branch.
2006-02-15 17:27:45 +00:00
Martin v. Löwis
11017b172d
Patch #1103116 : AF_NETLINK sockets basic support.
2006-01-14 18:12:57 +00:00
Neal Norwitz
fe8e3d918e
If there is no libtermcap all the readline tests failed.
...
This inappropriately disabled some capabilities which exist.
Now test for readline in -lreadline, if not found there, try it
in -ltermcap only if not in -lreadline. If both libraries are
required, there will need to be more work, but I'm not sure
under what conditions both libraries would be required.
2006-01-07 21:07:20 +00:00
Neal Norwitz
a716eabca7
Revert r41662 and the part of 41552 that originally caused the problem
...
(calling ftell(stdin) doesn't seem defined). So we won't test errors
from ftell unless we can do it portably.
2005-12-15 05:25:09 +00:00
Hye-Shik Chang
e237d50390
Add a workaround for file.ftell() to raise IOError for ttys.
...
ftell(3) on BSD doesn't set errno even for ttys and returns useless
values.
2005-12-13 16:44:02 +00:00
Martin v. Löwis
ebd9d5ba1a
Patch #1180695 : Implement nanosecond stat resolution on FreeBSD,
...
add st_gen, st_birthtime.
2005-08-09 15:00:59 +00:00
Hye-Shik Chang
5f937a7b8b
Patch #1212117 : Add optional attribute st_flags to os.stat_result
...
when the member is available on the platform. (Contributed by
Diego Petteno)
2005-06-02 13:09:30 +00:00
Martin v. Löwis
c300175547
Patch #579435 : Shadow Password Support Module
2005-01-23 09:27:24 +00:00
Anthony Baxter
8a560dee72
Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
...
detection to configure &c.
2004-10-13 15:30:56 +00:00
Martin v. Löwis
ae2830c55c
Patch #1012280 : Include curses.h for term.h check. Fixes #933795 .
...
Will backport to 2.3.
2004-09-18 09:54:52 +00:00
Martin v. Löwis
d632050d1d
Define _BSD_TYPES. Fixes #1005308 . Backported to 2.3.
2004-08-12 13:45:08 +00:00
Dave Cole
331708b226
Patch #1003700 : Add socketpair function to socket module.
2004-08-09 04:51:41 +00:00
Gustavo Niemeyer
7bd33c5e22
This change implements the following gettext features, as
...
discussed recently in python-dev:
In _locale module:
- bind_textdomain_codeset() binding
In gettext module:
- bind_textdomain_codeset() function
- lgettext(), lngettext(), ldgettext(), ldngettext(),
which return translated strings encoded in
preferred system encoding, if
bind_textdomain_codeset() was not used.
- Added equivalent functionality in translate()
function and catalog classes.
Every change was also documented.
2004-07-22 18:44:01 +00:00
Michael W. Hudson
30ea2f223f
This closes patch:
...
[ 960406 ] unblock signals in threads
although the changes do not correspond exactly to any patch attached to
that report.
Non-main threads no longer have all signals masked.
A different interface to readline is used.
The handling of signals inside calls to PyOS_Readline is now rather
different.
These changes are all a bit scary! Review and cross-platform testing
much appreciated.
2004-07-07 17:44:12 +00:00
Nicholas Bastin
d858a7763a
Massive performance improvement for C extension and builtin tracing code
2004-06-25 23:31:06 +00:00
Nicholas Bastin
4c70b69fb1
Making C profiling a configure option (at least temporarily)
2004-06-22 03:51:38 +00:00
Martin v. Löwis
f30d60edbc
Patch #510695 : Add TSC profiling for the VM.
2004-06-08 08:17:44 +00:00
Nicholas Bastin
e62c5c88f1
Added configure check for broken poll() on some unix systems (MacOS X 10.3)
...
Fixes SF Bug #850981
2004-03-21 23:45:42 +00:00
Skip Montanaro
7befb9966e
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
2004-02-10 16:50:21 +00:00
Skip Montanaro
db6080507d
Remove support for --without-universal-newlines (see PEP 11).
2004-02-07 13:53:46 +00:00
Skip Montanaro
7e11a016e6
Remove HAVE_STRPTIME - no longer necessary with the pure Python version of
...
time.strptime().
2004-02-07 12:55:46 +00:00
Hye-Shik Chang
81268608bf
Add FreeBSD support for bluetooth sockets.
...
(SF Patch #888148 , reviewed by loewis)
2004-02-02 06:05:24 +00:00
Martin v. Löwis
12af0485f8
Patch #874083 : Bluetooth support for socket module.
2004-01-31 12:34:17 +00:00
Skip Montanaro
ce59c04127
Remove support for SunOS 4.
...
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
2004-01-17 14:19:44 +00:00
Skip Montanaro
b9949dbe6c
Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld
2004-01-17 04:04:13 +00:00