Commit Graph

703 Commits

Author SHA1 Message Date
Antoine Pitrou 061cfb5258 Issue #10866: Add socket.sethostname(). Initial patch by Ross Lagerwall. 2011-02-28 22:25:22 +00:00
Antoine Pitrou 8250e23abd Issue #10755: Add the posix.fdlistdir() function. Patch by Ross Lagerwall. 2011-02-25 23:41:16 +00:00
Antoine Pitrou f65132de3d Issue #4761: Add the *at() family of functions (openat(), etc.) to the posix
module.  Patch by Ross Lagerwall.
2011-02-25 23:25:17 +00:00
Giampaolo Rodolà 18e8bcb289 Issue 10784: adds os.getpriority() and os.setpriority() functions. 2011-02-25 20:57:54 +00:00
Giampaolo Rodolà c9c2c8b034 Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall) 2011-02-25 14:39:16 +00:00
Georg Brandl 15995f7dc7 Remove unused m4 define. 2011-02-25 11:03:15 +00:00
Georg Brandl 3ebb6b3615 Bump trunk to 3.3 alpha 0. 2011-02-20 10:37:07 +00:00
Georg Brandl 216e404bca #11184: Fix large file support on AIX. 2011-02-19 08:58:23 +00:00
Georg Brandl 59e87bd251 #730467: Another small AIX fix. 2011-02-15 19:48:59 +00:00
Georg Brandl 9a829bed97 #941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou. 2011-02-15 15:44:51 +00:00
Martin v. Löwis 9b142aaae8 Issue #11121: Fix building with --enable-shared. 2011-02-05 20:26:52 +00:00
Antoine Pitrou f3fcd9f163 Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
the configure script but use $GREP instead.  Patch by Fabian Groffen.
2011-01-03 18:53:50 +00:00
Antoine Pitrou ece919eb0f Fix bad quoting in r87639. Caught by Arfrever. 2011-01-02 20:45:21 +00:00
Antoine Pitrou c224458ef6 Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD.  Patch by Nicolas Joly.
2011-01-02 19:34:03 +00:00
Martin v. Löwis d1fc34d563 Build and install libpython3.so. 2010-12-30 14:55:47 +00:00
Gregory P. Smith 51ee270876 issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
the C code, using pipe2() when available.  Adds unittests for close_fds and
cloexec behaviors.
2010-12-13 07:59:39 +00:00
Barry Warsaw 14d98ac31b Final patch for issue 9807. 2010-11-24 19:43:47 +00:00
Mark Dickinson 7edecdd222 Add configure-time test for log1p disrespecting zero sign. 2010-11-20 10:09:56 +00:00
Benjamin Peterson d4694ed1bb fix output for getaddrinfo bug check #7059 2010-11-01 01:44:30 +00:00
Benjamin Peterson 076ed00003 add --enable-loadable-sqlite-extensions #10268 2010-10-31 17:11:02 +00:00
Benjamin Peterson 79263252b1 add no output to with-system-ffi and with-system-expat 2010-10-31 16:50:44 +00:00
Barry Warsaw f040d7de94 One more change for issue 9807, by Matthias Klose.
This adds $ABIFLAGS to the static library, since it should match the shared
library name.  Also, include the abiflags in python-config --libs.
2010-10-18 17:09:07 +00:00
Martin v. Löwis c980ffde14 Drop OPT:Olimit, as it confuses SunPRO (and other compilers). 2010-10-17 19:36:54 +00:00
Barry Warsaw 8cf4eae522 First (uncontroversial) part of issue 9807.
* Expose the build flags to Python as sys.abiflags
* Shared library libpythonX.Y<abiflags>.so
* python-config --abiflags
* Make two distutils tests that failed with --enable-shared (even before this
  patch) succeed.
* Fix a few small style issues.
2010-10-16 01:04:07 +00:00
R. David Murray e16cda9ad8 #9862: On AIX PIPE_BUF is broken. Make it 512.
Patch by Sébastien Sablé.
2010-10-15 23:12:57 +00:00
Matthias Klose 3fbfea1fae - Issue #10094: Use versioned .so files on GNU/kfreeBSD and the GNU Hurd. 2010-10-14 15:24:22 +00:00
Antoine Pitrou b1c5496738 Issue #7523: Add SOCK_CLOEXEC and SOCK_NONBLOCK to the socket module,
where supported by the system.  Patch by Nikita Vetoshkin.
2010-10-14 15:05:38 +00:00
Antoine Pitrou d4958c2832 Followup to #9437: since LDFLAGS is now appended to LDSHARED in the Makefile,
don't do in configure as well.

Hopefully this will solve a Makefile parsing issue on the FreeBSD buildbots.
2010-10-13 17:01:10 +00:00
Antoine Pitrou 1bf29b7da7 Some platforms provide uintptr_t in inttypes.h. Patch by
Akira Kitada.
2010-10-10 08:10:16 +00:00
Antoine Pitrou f6350d2654 Issue #1633863: Don't ignore $CC under AIX. 2010-09-21 15:19:14 +00:00
Amaury Forgeot d'Arc feb7307db4 #9210: remove --with-wctype-functions configure option.
The internal unicode database is now always used.

(after 5 years: see
  http://mail.python.org/pipermail/python-dev/2004-December/050193.html
)
2010-09-12 22:42:57 +00:00
Antoine Pitrou 8e6b407d6f Issue #941346: Improve the build process under AIX and allow Python to
be built as a shared library.  Patch by Sébastien Sablé.
2010-09-10 19:44:44 +00:00
Antoine Pitrou a4e4ae27fc Followup to #4026: better patch for flock detection. 2010-09-10 18:39:00 +00:00
Antoine Pitrou a300007c6e Issue #4026: Make the fcntl extension build under AIX.
Patch by Sébastien Sablé.
2010-09-07 14:52:42 +00:00
Benjamin Peterson d7f73e913d run autoreconf 2010-09-05 00:09:07 +00:00
Georg Brandl de7d834339 Fix typos and use tabs consistently. 2010-09-03 22:19:07 +00:00
Barry Warsaw 35f3a2cbeb PEP 3149 is accepted.
http://mail.python.org/pipermail/python-dev/2010-September/103408.html
2010-09-03 18:30:30 +00:00
Daniel Stutzbach a606faa491 Issue 5553: Improved Py_LOCAL_INLINE to actually inline under compilers other than MSC 2010-08-31 19:51:07 +00:00
Antoine Pitrou 33a299428d Issue #9700: define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x. Patch by
Sébastien Sablé.
2010-08-30 14:52:00 +00:00
Antoine Pitrou 042b128f58 Issue #9203: Computed gotos are now enabled by default on supported
compilers (which are detected by the configure script).  They can still
be disable selectively by specifying --without-computed-gotos.
2010-08-13 21:15:58 +00:00
Georg Brandl 9976a51344 #8119: fix copy-paste error. 2010-08-02 21:02:36 +00:00
Mark Dickinson 9cec307a11 Remove temporary debugging code. 2010-07-19 07:31:40 +00:00
Mark Dickinson c95111995b Add configure check for a bug with gcc soft floating-point and subnormals, to help debug issue 8265. 2010-07-18 16:01:36 +00:00
Jeffrey Yasskin d4fcdb1ea8 Issue #9189: Allow users to set $CFLAGS, $CPPFLAGS, and $LDFLAGS when running
configure to append to Python's default values for those variables, and
similarly allow users to set $XXFLAGS on the make command line to append to the
values set by configure.

In the makefile, this renames the variables that used to be $XXFLAGS to
$PY_XXFLAGS, and renames the old $PY_CFLAGS to $PY_CORE_CFLAGS.  To compensate,
sysconfig now aliases $XXFLAGS=$PY_XXFLAGS so that scripts using it keep
working.  I see that as the right interface, not a backward-compatibility hack,
since these are logically the $XXFLAGS variables; we just use a different name
in the makefile to deal with make's semantics.
2010-07-09 16:30:58 +00:00
Jean-Paul Calderone 6ed7ac48ec Revert r82089. Commit was intended for a branch. 2010-06-19 19:58:37 +00:00
Jean-Paul Calderone 867c435460 merge forward from the python 2.x branch 2010-06-19 19:54:48 +00:00
Martin v. Löwis 1a415762aa Merged revisions 81582 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81582 | martin.v.loewis | 2010-05-28 17:28:47 +0200 (Fr, 28 Mai 2010) | 2 lines

  Issue #1759169: Drop _XOPEN_SOURCE on Solaris.
........
2010-05-28 15:44:20 +00:00
Mark Dickinson 8c2b6f1f5a Recorded merge of revisions 81077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81077 | mark.dickinson | 2010-05-11 09:55:06 +0100 (Tue, 11 May 2010) | 3 lines

  Issue #8510: Remove nested 'main' functions (causing failure) in 3 configure tests;
  remove some unnecessary '#include "confdefs.h"' lines.  Thanks Roumen Petrov.
........
2010-05-11 09:23:07 +00:00
Mark Dickinson b2153e9d08 Merged revisions 80832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80832 | mark.dickinson | 2010-05-05 23:23:58 +0100 (Wed, 05 May 2010) | 2 lines

  Issue #8625:  Turn off gcc optimization in debug builds.
........
2010-05-05 22:31:36 +00:00
Jesus Cea 6a792298e7 Deprecate OSF* support 2010-05-03 21:18:48 +00:00