Benjamin Peterson
62ed6be8da
remove the dynload_next.c file (closes bpo-32386) ( #4957 )
2017-12-21 21:43:09 -08:00
Michael Felt
c5ae169e1b
bpo-26439 Fix ctypes.util.find_library failure on AIX ( #4507 )
...
Implement find_library() support in ctypes/util for AIX.
Add some AIX specific tests.
2017-12-19 13:58:49 +01:00
Rob Boehne
9d25bd11ca
Modify configure to link with the compiler driver under HP-UX when not using gcc. ( #2519 )
2017-12-06 09:58:17 -08:00
xdegaye
5ce1069a6f
bpo-28762: Revert last commit (now using Android Unified Headers) (GH-4488)
2017-11-23 12:01:36 +01:00
xdegaye
c06c22e9a9
bpo-29040: Support building Android with Unified Headers (GH-4492)
2017-11-23 11:44:38 +01:00
xdegaye
5ad7ef8e42
bpo-28538: Revert all the changes (now using Android Unified Headers) (GH-4479)
2017-11-23 11:13:22 +01:00
Serhiy Storchaka
9e78dc2517
Move comments in configure.ac to more appropriate place. ( #4371 )
2017-11-11 19:18:28 +02:00
Berker Peksag
0e163d2ced
bpo-11063: Use more reliable way to check if uuid function exists (GH-4343)
2017-11-09 00:43:14 +03:00
Berker Peksag
9a10ff4deb
bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287)
2017-11-08 23:09:16 +03:00
Berker Peksag
7e666eed36
Remove outdated with_threads checks in configure.ac (GH-4294)
2017-11-06 19:06:05 +03:00
Serhiy Storchaka
894ebd065e
bpo-31919: Fix building the curses module on OpenIndiana. ( #4211 )
2017-11-01 14:34:20 +02:00
Masayuki Yamamoto
8bc7d63560
bpo-25720: Fix the method for checking pad state of curses WINDOW ( #4164 )
...
Modify the code to use ncurses is_pad() instead of checking WINDOW
_flags field. If your platform does not provide the is_pad(), the
existing way that checks the field will be enabled.
Note: This change does not drop support for platforms where do not
have both WINDOW _flags field and is_pad().
2017-11-01 14:05:26 +02:00
Serhiy Storchaka
baac01e629
bpo-31891: Fix building the curses module on NetBSD. ( #4165 )
2017-10-31 13:56:44 +02:00
Benjamin Peterson
24c4d046c4
drop unused configure check for pthread_atfork ( #4046 )
2017-10-18 23:39:01 -07:00
Ned Deily
14aa00b519
Allow configure to handle PATH elements with spaces ( #3935 )
2017-10-09 13:53:27 -04:00
Masayuki Yamamoto
731e189014
bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362)
...
See PEP 539 for details.
Highlights of changes:
- Add Thread Specific Storage (TSS) API
- Document the Thread Local Storage (TLS) API as deprecated
- Update code that used TLS API to use TSS API
2017-10-06 20:41:34 +10:00
pdox
e14679c784
closes bpo-31596: Add an interface for pthread_getcpuclockid(3) ( #3756 )
2017-10-05 00:01:56 -07:00
Benjamin Peterson
d15108a478
stop using ranlib (closes bpo-31625) ( #3815 )
...
Instead, simply pass 's' to ar.
2017-09-29 08:42:41 -07:00
Benjamin Peterson
288d1daada
remove support for BSD/OS (closes bpo-31624) ( #3812 )
2017-09-28 22:44:27 -07:00
Benjamin Peterson
b1d1c422cc
remove configure check for memmove ( #3716 )
...
Python requires C implementations provide memmove, so we shouldn't need to check for it. The only place using this configure check was expat, where we can simply always define HAVE_MEMMOVE.
2017-09-24 12:08:40 -07:00
octaviansoldea
4c81401b3a
bpo-31354: Let configure --with-lto work on all builds
...
Allow configure --with-lto to apply to all builds, not just profile-opt builds.
Whether this is actually useful or not must be determined by the person
building CPython using their own toolchain.
My own quick test on x86_64 Debian 9 (gcc 6.3, binutils 2.28) seemed
to suggest that it wasn't, but I expect better toolchains can or will exist
at some point. The point is to allow it at all.
2017-09-08 12:14:33 -07:00
Antoine Pitrou
a6a4dc816d
bpo-31370: Remove support for threads-less builds ( #3385 )
...
* Remove Setup.config
* Always define WITH_THREAD for compatibility.
2017-09-07 18:56:24 +02:00
caavery
effc12f8e9
bpo-27584: New addition of vSockets to the python socket module ( #2489 )
...
* bpo-27584: New addition of vSockets to the python socket module
Support for AF_VSOCK on Linux only
* bpo-27584: Fixes for V2
Fixed syntax and naming problems.
Fixed #ifdef AF_VSOCK checking
Restored original aclocal.m4
* bpo-27584: Fixes for V3
Added checking for fcntl and thread modules.
* bpo-27584: Fixes for V4
Fixed white space error
* bpo-27584: Fixes for V5
Added back comma in (CID, port).
* bpo-27584: Fixes for V6
Added news file.
socket.rst now reflects first Linux introduction of AF_VSOCK.
Fixed get_cid in test_socket.py.
Replaced PyLong_FromLong with PyLong_FromUnsignedLong in socketmodule.c
Got rid of extra AF_VSOCK #define.
Added sockaddr_vm to sock_addr.
* bpo-27584: Fixes for V7
Minor cleanup.
* bpo-27584: Fixes for V8
Put back #undef AF_VSOCK as it is necessary when vm_sockets.h is not installed.
2017-09-06 15:18:10 -07:00
Christian Heimes
75b961869a
bpo-31343: Include sys/sysmacros.h ( #3318 )
...
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray
plans to remove the functions from sys/types.h.
Signed-off-by: Christian Heimes <christian@python.org>
2017-09-05 15:53:09 +02:00
Benjamin Peterson
069306312a
remove IRIX support (closes bpo-31341) ( #3310 )
...
See PEP 11.
2017-09-04 16:36:05 -07:00
Benjamin Peterson
14ce158e3d
remove configure.ac support for SGI_ABI ( #3294 )
2017-09-04 14:05:32 -07:00
Benjamin Peterson
5ce1063345
remove check for bug last seem in Solaris 9 ( #3285 )
2017-09-04 10:52:51 -07:00
Benjamin Peterson
a2344851ab
remove autoconf check for select() ( #3283 )
...
We never actually check HAVE_SELECT.
2017-09-04 10:21:42 -07:00
Benjamin Peterson
fc96f1e95e
remove configure check for 'volatile' ( #3281 )
...
This is a required feature is C99, which we require.
2017-09-04 10:09:12 -07:00
Antoine Pitrou
f474c5a3f3
bpo-30946: Remove obsolete fallback code in readline module ( #2738 )
...
* Remove obsolete fallback code in readline module
* Add NEWS
* Remove obsolete include
* Fix macro on Windows
2017-07-18 17:05:03 +02:00
INADA Naoki
6b42eb1764
bpo-29585: Fix sysconfig.get_config_var("PYTHONFRAMEWORK") (GH-2483)
...
`PYTHONFRAMEWORK` is defined in `Makefile` and it shoulnd't be used
in `pyconfig.h`.
`sysconfig.py --generate-posix-vars` reads config vars from Makefile
and `pyconfig.h`. Conflicting variables should be avoided.
Especially, string config variables in Makefile are unquoted, but
in `pyconfig.h` are keep quoted. So it should be private (starts with
underscore).
2017-06-29 15:31:38 +09:00
INADA Naoki
a8f8d5b4bd
bpo-29585: optimize site.py startup time (GH-136)
...
Avoid importing `sysconfig` from `site` by copying minimum code.
Python startup is 5% faster on Linux and 30% faster on macOS
2017-06-29 00:31:53 +09:00
Nick Coghlan
6ea4186de3
bpo-28180: Implementation for PEP 538 ( #659 )
...
- new PYTHONCOERCECLOCALE config setting
- coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default
- always uses C.UTF-8 on Android
- uses `surrogateescape` on stdin and stdout in the coercion
target locales
- configure option to disable locale coercion at build time
- configure option to disable C locale warning at build time
2017-06-11 13:16:15 +10:00
Brett Cannon
b4e5fee6f5
Clarify what --enable-optimizations does (GH-1847)
2017-06-09 13:56:57 -07:00
T. Wouters
ddbfa2c35b
Add --with-assertions configure flag to enable C assertions( #1731 )
...
Defaults to 'no', but as before assertions are implied by --with-pydebug.
2017-05-23 01:30:49 +02:00
Victor Stinner
a5c62a8e9f
bpo-23404: make touch becomes make regen-all ( #1405 )
...
Don't rebuild generated files based on file modification time
anymore, the action is now explicit. Replace "make touch"
with "make regen-all".
Changes:
* Remove "make touch", Tools/hg/hgtouch.py and .hgtouch
* Add a new "make regen-all" command to rebuild all generated files
* Add subcommands to only generate specific files:
- regen-ast: Include/Python-ast.h and Python/Python-ast.c
- regen-grammar: Include/graminit.h and Python/graminit.c
- regen-importlib: Python/importlib_external.h and Python/importlib.h
- regen-opcode: Include/opcode.h
- regen-opcode-targets: Python/opcode_targets.h
- regen-typeslots: Objects/typeslots.inc
* Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN
* pgen is now only built by by "make regen-grammar"
* Add $(srcdir)/ prefix to paths to source files to handle correctly
compilation outside the source directory
Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make"
default target building Python.
2017-05-03 18:21:48 +02:00
Victor Stinner
9ed34a8953
bpo-30232: Regenerate configure ( #1396 )
...
Run autoconf.
2017-05-02 22:35:58 +02:00
Victor Stinner
826f83f1d5
bpo-30104: Only use -fno-strict-aliasing on dtoa.c ( #1340 )
...
On clang, only compile dtoa.c with -fno-strict-aliasing, use strict
aliasing to compile all other C files.
2017-04-28 15:07:10 +02:00
Victor Stinner
35f3d240ee
bpo-30104: configure now detects when cc is clang ( #1233 )
...
Detect when the "cc" compiler (and the $CC variable) is the Clang
compiler. The test is needed to add the -fno-strict-aliasing option
on FreeBSD where cc is clang.
2017-04-21 12:35:24 +02:00
Victor Stinner
28205b203a
bpo-30104: Use -fno-strict-aliasing on clang ( #1221 )
...
Python/dtoa.c is not compiled correctly with clang 4.0 and
optimization level -O2 or higher, because of an aliasing issue on
the double/ULong[2] union.
LLVM bug report:
https://bugs.llvm.org//show_bug.cgi?id=31928
2017-04-21 11:24:34 +02:00
Benjamin Peterson
791dc83119
remove configure test for inline keyword ( #1231 )
...
We require C99, so a configure test for this standard feature is not needed.
2017-04-20 23:52:19 -07:00
Benjamin Peterson
e4f961be09
improve alignment autoconf test ( #1129 )
...
Replace the deprecated AC_TRY_RUN with AC_RUN_IFELSE. Also, standardize the
variable name and allow for caching of the result.
2017-04-14 09:36:45 -07:00
Alex Wang
8cea5929f5
bpo-29643: Fix check for --enable-optimizations (GH-129)
...
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
2017-03-28 21:50:51 +09:00
Alex Dzyoba
8a543c0bc7
`make tags` fixes (GH-717)
...
* Fix `make tags` warnings
`make tags` target tries to find C sources and headers in "Grammar" and
"Mac" folders and generates these warnings:
ctags: Warning: cannot open source file "Grammar/*.[ch]" : No such file or directory
ctags: Warning: cannot open source file "Mac/*.[ch]" : No such file or directory
This commit changes $SRCDIRS variable in configure.ac to remote these
directories. This variable is used only for tags generation.
Also, "configure" was regenerated with `autoreconf`.
* Fix `make tags` fail on non-default tag names
When ctags overrides default tags filename (e.g. `-f .tags`) `make tags`
is failed because it assumes to see default `tags` filename:
sort: cannot read: tags: No such file or directory
This commit explicitly specifies "tags" filename for tags generation.
2017-03-24 17:23:43 +09:00
Ned Deily
554626ada7
bpo-27593: Revise git SCM build info. ( #744 )
...
Use --short form of git hash. Use output from "git describe" for tag.
Expected outputs:
1. previous hg
2. previous git
3. updated git
Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ...
2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ...
Development build:
1. Python 3.7.0a0 (default:41df79263a11, ...
2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ...
"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
2017-03-20 23:41:52 -04:00
Ned Deily
5c4b0d063a
bpo-27593: Get SCM build info from git instead of hg. ( #446 )
...
sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.
Based on original patches by Brett Cannon and Steve Dower.
2017-03-04 00:19:55 -05:00
Victor Stinner
193ee0a0e8
Prohibit implicit C function declarations
...
Issue #27659 : use -Werror=implicit-function-declaration when possible (GCC and
Clang, but it depends on the compiler version).
Patch written by Chi Hsuan Yen.
2017-02-06 14:24:00 +01:00
Xavier de Gaye
9971220e41
Issue #26851 : Merge 3.6.
2017-01-04 21:53:53 +01:00
Xavier de Gaye
2a352b667b
Issue #26851 : Set Android compilation and link flags.
2017-01-04 21:51:16 +01:00
Xavier de Gaye
507cbb0c0c
Issue #28762 : Merge 3.6.
2016-12-22 10:40:44 +01:00
Xavier de Gaye
bdf0d0f039
Issue #28762 : lockf() is available on Android API level 24, but the
...
F_LOCK macro is not defined in android-ndk-r13.
2016-12-22 10:38:59 +01:00
Xavier de Gaye
a1cb689602
Issue #28538 : Merge 3.6.
2016-12-21 17:30:50 +01:00
Xavier de Gaye
40e320b31e
Issue #28538 : On Darwin net/if.h requires that sys/socket.h be included beforehand.
2016-12-21 17:29:59 +01:00
Xavier de Gaye
3bfa1ed74d
Issue #28538 : Merge 3.6.
2016-12-21 12:48:26 +01:00
Xavier de Gaye
708784255e
Issue #28538 : Fix the compilation error that occurs because if_nameindex() is
...
available on Android API level 24, but the if_nameindex structure is not defined.
2016-12-21 12:46:36 +01:00
Benjamin Peterson
38f225dd48
merge 3.6 ( #28932 )
2016-12-19 23:55:24 -08:00
Benjamin Peterson
b0eb986eb2
merge 3.5 ( #28932 )
2016-12-19 23:54:57 -08:00
Benjamin Peterson
fb2ae15c67
add a specific configure check for sys/random.h ( closes #28932 )
2016-12-19 23:54:25 -08:00
Xavier de Gaye
f191a9e8e4
Issue #28190 : Merge 3.6.
2016-12-13 16:05:15 +01:00
Xavier de Gaye
e13c3201fb
Issue #28190 : Cross compiling the _curses module does not use anymore
...
/usr/include/ncursesw as a headers search path.
2016-12-13 16:04:14 +01:00
Xavier de Gaye
5ca2b10213
Issue #28849 : Merge 3.6.
2016-12-10 17:34:46 +01:00
Xavier de Gaye
32cf1acda8
Issue #28849 : Do not define sys.implementation._multiarch on Android.
2016-12-10 17:31:28 +01:00
Ned Deily
eae4357871
Regenerate configure with autoconf 2.69.
2016-12-06 17:33:19 -05:00
Ned Deily
8bb38a79b8
Regenerate configure with autoconf 2.69.
2016-12-06 17:31:32 -05:00
Martin Panter
a57890e5ec
Issue #10656 : Merge AIX build fix from 3.6
2016-11-20 22:16:46 +00:00
Martin Panter
e45df0a6da
Issue #10656 : Merge AIX build fix from 3.5
2016-11-20 22:06:44 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
fe914c034f
Rename the new --with-optimiations flag to --enable-optimizations.
2016-11-20 21:17:01 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
164eea5443
Rename the new --with-optimiations flag to --enable-optimizations.
2016-11-20 21:13:16 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
1016b2ff00
Rename the new --with-optimiations flag to --enable-optimizations.
2016-11-20 21:07:42 +00:00
Martin Panter
395733d46b
Issue #10656 : Fix out-of-tree building on AIX
...
The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.
2016-11-20 07:56:37 +00:00
Brett Cannon
1d8f755e67
Issue #28605 : Fix the help and What's New entry for --with-optimizations.
2016-11-03 16:20:00 -07:00
Brett Cannon
d4ef9d3feb
Merge for issue #28605
2016-11-03 16:21:11 -07:00
Ned Deily
ee22aad963
regenerate configure with autoconf 2.69
2016-10-10 15:42:18 -04:00
Zachary Ware
6a6967e827
Issue #21085 : add configure check for siginfo_t.si_band
...
Patch by Masayuki Yamamoto, reviewed and rebased by Erik Bray.
This is a first step on the long road toward resupporting Cygwin, which does
not provide siginfo_t.si_band.
2016-10-01 00:47:27 -05:00
Christian Heimes
ae0fa7ee6c
Write configure message to AS_MESSAGE_FD
2016-09-24 12:34:31 +02:00
Christian Heimes
938da643ee
Write configure message to AS_MESSAGE_FD
2016-09-24 12:34:25 +02:00
Benjamin Peterson
637d1e2b0a
merge 3.6
2016-09-20 20:39:44 -07:00
Benjamin Peterson
0c21214f3e
replace usage of Py_VA_COPY with the (C99) standard va_copy
2016-09-20 20:39:33 -07:00
Zachary Ware
f40d4ddff3
Closes #27979 : Remove bundled copy of libffi
...
An installed copy of libffi is now required for building _ctypes on
any platform but OSX and Windows.
2016-09-17 01:25:24 -05:00
Benjamin Peterson
40465ebc27
merge 3.6 ( #28081 )
2016-09-13 22:55:19 -07:00
Benjamin Peterson
37098cd584
more granular configure checks for clock_* functions ( closes #28081 )
2016-09-13 22:55:09 -07:00
Ned Deily
4829bc6619
Bump to 3.7.0a0
2016-09-12 17:29:04 -04:00
Martin Panter
11a86ffe5e
Issue #28066 : Merge srcdir fix from 3.5
2016-09-12 01:51:44 +00:00
Martin Panter
c5ee3caa80
Issue #28066 : Fix include search directory logic for out-of-tree builds
2016-09-12 01:32:03 +00:00
Xavier de Gaye
92dec548ff
Issue #28046 : get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA_NAME
...
environment variable that is defined when cross-compiling.
2016-09-11 22:22:24 +02:00
Serhiy Storchaka
ea80ffb851
Issue #23545 : Turn on extra warnings on GCC.
2016-09-11 21:56:32 +03:00
Serhiy Storchaka
81b08a8217
Regenerate the configure script. Now it supports --runstatedir option
...
(directory for pid files etc, /run or /var/run).
https://lists.gnu.org/archive/html/bug-autoconf/2013-09/msg00002.html
2016-09-11 21:53:53 +03:00
Benjamin Peterson
050af5d89a
Backed out changeset 8460a729e1de
2016-09-10 17:53:13 -07:00
Benjamin Peterson
cc1ea5dedc
force gcc to use c99 inline semantics
2016-09-10 17:45:33 -07:00
Zachary Ware
c4b53afce4
Issue #28046 : Remove platform-specific directories from sys.path
2016-09-09 17:59:49 -07:00
Łukasz Langa
a785c87d6e
DTrace support: function calls, GC activity, line execution
...
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.
Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.
Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection
All of those might be added later.
2016-09-09 17:37:37 -07:00
Zachary Ware
935043d1ac
Closes #27976 : Deprecate bundled full copy of libffi
...
Builds on non-OSX UNIX now default to using the system libffi, and warn if the
bundled copy is used.
2016-09-09 17:01:21 -07:00
Benjamin Peterson
4fd64b9a6a
remove ceval timestamp support
2016-09-09 14:57:58 -07:00
Benjamin Peterson
7d895ac953
remove --with(out)-signal-module, since the signal module is non-optional
2016-09-09 12:01:10 -07:00
Benjamin Peterson
a845a81e42
remove unused osx10.5 sdk check
2016-09-09 11:37:58 -07:00
Benjamin Peterson
93b2dee80e
compile with -std=c99 instead of -std=gnu99; use kiddie-gloves with bluetooth/bluetooh.h ( #28017 )
2016-09-09 10:22:45 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
ba7224f934
issue28032: never imply --with-lto as part of --with-optimizations.
...
Too many build tool chains do not properly support it, including building
and linking an executable fine that simply segfaults when you try to run
it (such as debian jessie 8.5's gcc 4.9). On others where it does appear
to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb
failures to deal with.
We're not going to spend time attempting to maintain a complicated white list
of what does and doesn't work in our configure.ac file.
2016-09-08 22:42:45 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
14c7f71150
issue28032: never imply --with-lto as part of --with-optimizations.
...
Too many build tool chains do not properly support it, including building
and linking an executable fine that simply segfaults when you try to run
it (such as debian jessie 8.5's gcc 4.9). On others where it does appear
to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb
failures to deal with.
We're not going to spend time attempting to maintain a complicated white list
of what does and doesn't work in our configure.ac file.
2016-09-08 22:38:46 +00:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
Gregory P. Smith
799520c91e
Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
...
required for PGO linking - to be a configure time error rather than
make time when --with-optimizations is enabled. Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.
2016-09-07 16:10:00 -07:00
Brett Cannon
8c94f97465
Issue #26359 : Add the --with-optimizations flag.
2016-09-06 17:15:21 -07:00
Benjamin Peterson
01c340da23
do not leak addrinfo in configure test
2016-09-06 15:54:24 -07:00
Benjamin Peterson
47ff0734b8
more PY_LONG_LONG to long long
2016-09-08 09:15:54 -07:00
Christian Heimes
7f9eb6eda3
Issue 28017: Use -std=gnu99 to get C99 with GNU extensions for bluetooth.h on big endian.
2016-09-08 11:39:42 +02:00
Gregory P. Smith
f3b5bcafcb
Fixes Issue #27983 : Cause lack of llvm-profdata tool when using clang as
...
required for PGO linking to be a configure time error rather than
make time when --with-optimizations is enabled. Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.
2016-09-07 16:11:08 -07:00
Benjamin Peterson
d170256585
put -std=c99 in CFLAGS_NODIST
2016-09-07 12:00:06 -07:00
Benjamin Peterson
7490577f6a
compile with -std=c99
2016-09-07 11:53:55 -07:00
Benjamin Peterson
0d67ed54f7
permit intermingled declarations
2016-09-07 11:43:22 -07:00
Benjamin Peterson
a9296e7f3b
require C99 bool
2016-09-07 11:06:17 -07:00
Brett Cannon
63d98bcd4c
Issue #26359 : Add the --with-optimizations configure flag.
...
The flag will activate LTO and PGO build support when available.
Thanks to Alecsandur Patrascu of Intel for the original patch.
2016-09-06 17:12:40 -07:00
Benjamin Peterson
0cf223873e
merge 3.5
2016-09-06 15:54:38 -07:00
Ned Deily
8482ce4868
Issue #21122 : Fix LTO builds on OS X.
...
Patch by Brett Cannon.
2016-09-06 15:09:20 -07:00
Benjamin Peterson
df6ff7bcca
add back SIZEOF_UINTPTR_T
2016-09-06 13:53:14 -07:00
Benjamin Peterson
b9d9eeda2a
require uintptr_t to exist
2016-09-06 13:33:56 -07:00
Benjamin Peterson
4fe55106d1
require standard int types to be defined ( #17884 )
2016-09-06 11:58:01 -07:00
Benjamin Peterson
ed4aa83ff7
require a long long data type ( closes #27961 )
2016-09-05 17:44:18 -07:00
Christian Heimes
dffa3949c7
Issue #27744 : Add AF_ALG (Linux Kernel crypto) to socket module.
2016-09-05 23:54:41 +02:00
doko@ubuntu.com
5c38cb2316
- Issue #27917 : Set platform triplets for Android builds.
2016-09-01 22:05:20 +02:00
Raymond Hettinger
15f44ab043
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-08-30 10:47:49 -07:00
doko@ubuntu.com
75b1cb10b5
- Issue #23968 , keep platform_triplet and multiarch macros in sync
2016-08-29 20:03:25 +02:00
Martin Panter
8c3c52b19f
Issue #25825 : Merge $(LIBPL) fix from 3.5
2016-08-27 04:07:54 +00:00
Martin Panter
5de141f157
Issue #25825 : Fix references to $(LIBPL) installation path on AIX
...
In Subversion r86731, the path was changed from $(BINLIBDEST)/config to
$(LIBDEST)/config-$(LDVERSION).
2016-08-27 04:00:19 +00:00
Benjamin Peterson
5a44fa1430
merge 3.5 ( #27670 )
2016-08-03 22:02:42 -07:00
Benjamin Peterson
c2fcbf4ed0
https link to the bug tracker ( closes #27670 )
2016-08-03 22:01:32 -07:00
Martin Panter
0c859f362c
Issue #27641 : Merge cross-compiling improvement from 3.5
2016-08-04 01:53:40 +00:00
Xavier de Gaye
6074f217db
(merge from 3.5) Issue #27453 : CPP invocation in configure must use CPPFLAGS.
...
Patch by Chi Hsuan Yen.
2016-07-30 11:36:32 +02:00
Xavier de Gaye
3a32bdfaa7
Issue #27453 : CPP invocation in configure must use CPPFLAGS.
...
Patch by Chi Hsuan Yen.
2016-07-30 11:28:35 +02:00
Martin Panter
43a94a7e2f
Issue #27641 : Comment out regeneration rules when cross compiling
2016-07-29 05:52:32 +00:00
Martin Panter
4b53359090
Issue #27490 : Merge pgen cross-compile logic from 3.5
2016-07-28 01:30:06 +00:00
Martin Panter
eac67be948
Issue #27490 : Do not build pgen when cross-compiling
...
The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.
Patch by Thomas Perl.
2016-07-28 01:28:27 +00:00
Xavier de Gaye
8d4989687c
(merge from 3.5) Issue #26662 : Set PYTHON_FOR_GEN in configure
...
as the Python program to be used for file generation during the build.
2016-07-26 12:55:20 +02:00
Xavier de Gaye
fd0d5939bd
Issue #26662 : Set PYTHON_FOR_GEN in configure
...
as the Python program to be used for file generation during the build.
2016-07-26 12:48:08 +02:00
Xavier de Gaye
95750b1ca5
Issue #27442 : Expose the Android API level in sysconfig.get_config_vars()
...
as 'ANDROID_API_LEVEL'.
2016-07-09 11:05:42 +02:00
Xavier de Gaye
4afd143d3e
Issue #27434 : Version of interpreter running a cross-build and source version must be the same.
2016-07-07 18:00:22 +02:00
Benjamin Peterson
50600a78cb
merge 3.5 ( #24557 )
2016-07-06 23:58:16 -07:00
Benjamin Peterson
b8a2f51ceb
assume egd unless OPENSSL_NO_EGD is defined—remove configure check ( closes #24557 )
2016-07-06 23:55:15 -07:00
doko@ubuntu.com
006a56ceda
- Don't use largefile support for GNU/Hurd.
2016-06-14 10:15:25 +02:00
doko@ubuntu.com
5553231b91
- Issue #23968 : Rename the platform directory from plat-$(MACHDEP) to
...
plat-$(PLATFORM_TRIPLET).
Rename the config directory (LIBPL) from config-$(LDVERSION) to
config-$(LDVERSION)-$(PLATFORM_TRIPLET).
Install the platform specifc _sysconfigdata module into the platform
directory and rename it to include the ABIFLAGS.
2016-06-14 08:55:19 +02:00
Victor Stinner
9ff9cbd600
Merge 3.5 (os.urandom)
2016-06-07 11:25:43 +02:00
Victor Stinner
dddf4849ec
os.urandom() doesn't block on Linux anymore
...
Issue #26839 : On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK
to fall back on reading /dev/urandom if the urandom entropy pool is not
initialized yet. Patch written by Colm Buckley.
2016-06-07 11:21:42 +02:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Serhiy Storchaka
c2f7d87897
Issue #26932 : Fixed support of RTLD_* constants defined as enum values,
...
not via macros (in particular on Android). Patch by Chi Hsuan Yen.
2016-05-04 09:44:44 +03:00
Stefan Krah
267b639a26
Issue #20306 : The pw_gecos and pw_passwd fields are not required by POSIX.
...
If they aren't present, set them to an empty string.
2016-04-26 01:09:18 +02:00
Martin Panter
da28494d0a
Issue #22359 : Merge cross-compilation fix from 3.5
2016-04-23 01:18:54 +00:00
Martin Panter
1046d5c653
Issue #22359 : Disable running cross-compiled _freeze_importlib and pgen
...
Patch by Xavier de Gaye.
2016-04-23 00:58:44 +00:00
Gregory P. Smith
79a12a2aa5
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:58:51 -07:00
Gregory P. Smith
d82da9f7f2
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:57:04 -07:00
Victor Stinner
7258176c68
Merge 3.5 (os.urandom)
2016-04-12 22:38:22 +02:00
Victor Stinner
1b80b24007
configure: fix HAVE_GETRANDOM_SYSCALL check
...
syscall() function requires #include <unistd.h>.
2016-04-12 22:34:58 +02:00
Martin Panter
a3506005b3
Issue #23735 : Merge Readline resize handling from 3.5
2016-04-03 03:19:27 +00:00
Martin Panter
5dbbf1abba
Issue #23735 : Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
2016-04-03 02:54:58 +00:00
Martin Panter
499d3654a8
Issue #17603 : Merge configure.ac fix from 3.5
2016-03-18 03:03:10 +00:00
Martin Panter
d887d1f365
Issue #17603 : Check for st_blocks field without requiring fileblocks.o
2016-03-18 02:36:41 +00:00
Ned Deily
686905fe13
Issue #24324 : merge from 3.5
2016-03-08 00:40:12 -05:00
Ned Deily
bec699e40d
Issue #24324 : Do not enable unreachable code warnings when using
...
gcc as the option does not work correctly in older versions of gcc
and has been silently removed as of gcc-4.5.
2016-03-08 00:28:37 -05:00
Zachary Ware
266514ae93
Issue #25827 : Merge with 3.5
2015-12-21 14:17:12 -06:00
Zachary Ware
5af856404a
Issue #25827 : Add support for ICC to configure
2015-12-21 12:09:17 -06:00
Benjamin Peterson
3c5f003023
make configure executable
2015-10-06 21:17:02 -07:00
Serhiy Storchaka
fc632e3912
Merge with 3.5.
2015-10-06 18:52:52 +03:00
Victor Stinner
bae2d6203f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-10-01 09:47:30 +02:00
Brett Cannon
36df60fe75
Merge for issue #24915
2015-09-18 15:17:37 -07:00
Brett Cannon
7188a3efe0
Issue #24915 : Add Clang support to PGO builds and use the test suite
...
for profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
2015-09-18 15:13:44 -07:00
Victor Stinner
3abf44e48f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-09-18 15:38:37 +02:00
Stefan Krah
0c8ccff325
Merge from 3.5 ( #24543 ).
2015-07-02 20:28:45 +02:00
Stefan Krah
e31db2a821
Issue #24543 : Use AC_LINK instead of AC_COMPILE in order to prevent false
...
positives with the -flto option (gcc >= 4.9.0 and clang).
2015-07-02 20:27:56 +02:00
Yury Selivanov
7aa5341164
Reverting my previous commit.
...
Something went horribly wrong when I was doing `hg rebase`.
2015-05-30 10:57:56 -04:00
Benjamin Peterson
a8c22a0c32
update configure version to 3.6
2015-05-27 23:29:00 -05:00
doko@ubuntu.com
4ccc1514d0
- merge 3.4
2015-05-06 01:13:31 +02:00
doko@ubuntu.com
e8042e5e98
- Issue #24122 , fix quoting for LIBPL
2015-05-06 01:13:02 +02:00
doko@ubuntu.com
5cc9c4fdf7
- #22980 : fix triplet configure test for more targets
2015-04-19 14:44:05 +02:00
Ned Deily
3b8124884c
Issues #22980 , 23969: For OS X, use PEP 3149-style file names for extension
...
module binaries, with a platform triple of just "darwin", resulting in
file names like:
_ssl.cpython-35m-darwin.so
rather than just _ssl.so as previously.
Instead of attempting to encode differences in CPU architecture and OS X
deployment targets in the file name as is done on other platforms,
these continue to be managed by the use of Apple multi-architecture
("fat") files, by the system dynamic loader, and by logic in higher-levels
like sysconfig.get_platform() and pip.
2015-04-15 17:11:47 -07:00
doko@ubuntu.com
9abe04975a
#22980 : fix triplet configure test for powerpc-linux-gnu
2015-04-15 23:31:02 +02:00
doko@ubuntu.com
092f616a97
- configure.ac: remove duplicate PLATDIR definition
2015-04-15 20:45:33 +02:00
doko@ubuntu.com
d3899c1a96
- Issue #22980 : Under Linux, GNU/KFreeBSD and the Hurd, C extensions now include
...
the architecture triplet in the extension name, to make it easy to test builds
for different ABIs in the same working tree.
2015-04-15 20:23:14 +02:00
Larry Hastings
a6cc551502
Issue #22631 : Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
...
Patch courtesy of Joe Jevnik.
2015-04-13 17:48:40 -04:00
doko@ubuntu.com
4b761bf79a
- merge 3.4
2015-04-13 22:00:30 +02:00
doko@ubuntu.com
1345d20193
- Use PLATDIR for the platform directory everywhere (refactoring only)
2015-04-13 21:59:57 +02:00
Ned Deily
267998a766
Issue #23817 : run autoreconf to update configure.
2015-04-11 16:00:38 -07:00
Victor Stinner
8291b5e4f7
Issue #22181 : Run "aclocal; autoconf; autoheader" to regenerate configure
2015-03-20 16:03:14 +01:00
Victor Stinner
9eb57c5fa5
Issue #22181 : The availability of the getrandom() is now checked in configure,
...
and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define.
Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom().
2015-03-19 22:21:49 +01:00
Antoine Pitrou
5bd7bf5bab
Issue #22980 : Under Linux, C extensions now include bitness in the file name,
...
to make it easy to test 32-bit and 64-bit builds in the same working tree.
2015-03-08 20:43:10 +01:00
Victor Stinner
35a97c0bed
Issue #22524 : Fix os.scandir() for platforms which don't have a d_type field in
...
the dirent structure (ex: OpenIndiana).
2015-03-08 02:59:09 +01:00
Antoine Pitrou
8b62bbf2e5
Issue #23445 : pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster.
2015-02-11 19:41:01 +01:00
Antoine Pitrou
3d6c784371
Issue #23445 : pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster.
2015-02-11 19:39:16 +01:00
Victor Stinner
923e06f77d
Issue #22038 , configure: HAVE_STD_ATOMIC now also check that "atomic_int" and
...
"_Atomic void*" types work. Change needed on FreeBSD 10 where stdatomic.h is
available but the compiler fails on "_Atomic void*" with "_Atomic cannot be
applied to incomplete type 'void'".
2015-01-14 16:01:46 +01:00
Victor Stinner
4f5366e65a
Issue #22038 : pyatomic.h now uses stdatomic.h or GCC built-in functions for
...
atomic memory access if available. Patch written by Vitor de Lima and Gustavo
Temple.
2015-01-09 02:13:19 +01:00
Victor Stinner
fcfed19913
Issue #21356 : Make ssl.RAND_egd() optional to support LibreSSL. The
...
availability of the function is checked during the compilation. Patch written
by Bernard Spil.
2015-01-06 13:54:58 +01:00
Victor Stinner
fe02e39029
Issue #22585 : On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
...
instead of reading /dev/urandom, to get pseudo-random bytes.
2014-12-21 01:16:38 +01:00
Victor Stinner
4d6a3d6c01
Issue #22585 : On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
...
instead of reading /dev/urandom, to get pseudo-random bytes.
2014-12-21 01:16:38 +01:00
Benjamin Peterson
7bb7793bc0
merge 3.4 ( #15506 )
2014-12-15 00:02:51 -05:00
Benjamin Peterson
0f3cde1453
use autoconf macro to check for pkg-config ( closes #15506 )
2014-12-15 00:00:23 -05:00
Victor Stinner
beeb512fe1
Issue #21356 : Make ssl.RAND_egd() optional to support LibreSSL. The
...
availability of the function is checked during the compilation.
Patch written by Bernard Spil.
2014-11-28 13:28:25 +01:00
Benjamin Peterson
d1e22ba7db
only support append_history if readline has it
2014-11-26 14:35:12 -06:00
Victor Stinner
7efb83393c
Issue #22287 : On UNIX, _PyTime_gettimeofday() now uses
...
clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now
depends on the librt library on Solaris and on Linux (only with glibc older
than 2.17).
2014-08-29 15:41:08 +02:00
Ned Deily
682c04c70c
Issue #21166 : merge from 3.4
2014-08-22 13:36:30 -07:00
Ned Deily
fcbc246e9f
Issue #21166 : Prevent possible segfaults and other random failures of
...
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
2014-08-22 13:32:49 -07:00
Benjamin Peterson
acb8c52343
add -Werror=declaration-after-statement only to stdlib extension modules ( closes #21121 )
...
Patch from Stefan Krah.
2014-08-09 20:01:49 -07:00
Benjamin Peterson
b30802b7a8
merge 3.4 ( #21121 )
2014-08-09 20:04:19 -07:00
Charles-François Natali
7f9cc9359b
Issue #22110 : Enable extra compilation warnings.
2014-08-01 21:57:49 +01:00
Ned Deily
0db50cf7eb
Issue #18093 : Create Programs directory in build location for
...
out-of-tree builds.
2014-07-25 12:41:31 -07:00
Ned Deily
68e915e641
Issue #21811 : Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
2014-06-25 13:46:33 -07:00
Ned Deily
36820b6e08
Issue #21811 : Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
2014-06-25 13:44:22 -07:00
Charles-François Natali
d30b022b5e
Issue #21037 : Add a build option to enable AddressSanitizer support.
2014-05-08 23:08:51 +01:00
doko@ubuntu.com
4ce74dc54c
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 13:08:51 +02:00
doko@ubuntu.com
e5de66eaa7
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 12:57:44 +02:00
doko@ubuntu.com
1a4f561d7c
- Issue #21285 : Refactor and fix curses configure check to always search
...
in a ncursesw directory.
2014-04-17 20:13:44 +02:00
doko@ubuntu.com
f8d60ca0c4
- Merge 3.4
2014-04-17 20:14:29 +02:00
Benjamin Peterson
8bdeb1672c
support setting fpu precision on m68k ( closes #20904 )
...
Patch from Andreas Schwab.
2014-04-17 00:00:31 -04:00
Kushal Das
02d23a212a
Closes Issue 17861: Autogenerate Include/opcode.h from opcode.py.
...
It includes required changes in Makefile.pre.in and configure.ac
among other files.
2014-04-15 23:50:06 +05:30
Larry Hastings
f5002bd6ac
Version bump to 3.5, step 2.
2014-03-16 23:05:59 -07:00
Christian Heimes
b02bcae566
Attempt to fix OpenIndiana build issue introduced by #19922
2013-12-08 15:21:08 +01:00
Christian Heimes
647cd87169
Issue #19922 : define _INCLUDE__STDC_A1_SOURCE in HP-UX to include mbstate_t
...
for mbrtowc().
2013-12-07 23:39:33 +01:00
Ned Deily
322f5ba0d8
Issue #19553 : PEP 453 - "make install" and "make altinstall" now install or
...
upgrade pip by default, using the bundled pip provided by the new ensurepip
module. A new configure option, --with-ensurepip[=upgrade|install|no], is
available to override the default ensurepip "--upgrade" option. The option
can also be set with "make [alt]install ENSUREPIP=[upgrade|install\no]".
2013-11-21 23:01:59 -08:00
Ned Deily
b8f944f0b7
Issue #19649 : On OS X, the same set of file names are now installed
...
in bin directories for all configurations: non-framework vs framework,
and single arch vs universal builds. pythonx.y-32 is now always
installed for 64-bit/32-bit universal builds. The obsolete and
undocumented pythonw* symlinks are no longer installed anywhere.
2013-11-21 22:42:25 -08:00
Christian Heimes
985ecdcfc2
ssue #19183 : Implement PEP 456 'secure and interchangeable hash algorithm'.
...
Python now uses SipHash24 on all major platforms.
2013-11-20 11:46:18 +01:00
Christian Heimes
fe32aec25a
configure: use AC_MSG_NOTICE() instead of AC_MSG_WARN() to inform user about C++ compiler.
...
Now './configure --silent && make -s' doesn't print any message to stdout or stderr.
2013-11-20 01:18:26 +01:00
Christian Heimes
0bedc973ba
configure: echo message to AS_MESSAGE_FD. --silent redirects fd to /dev/null.
2013-11-20 01:11:33 +01:00
Christian Heimes
75ed890de5
configure: echo message to AS_MESSAGE_FD. --silent redirects fd to /dev/null.
2013-11-20 01:11:18 +01:00
Ned Deily
65657c27fa
Issue #1584 : Provide options to override default search paths for Tcl and Tk
...
when building _tkinter. configure has two new options; if used, both must
be specified:
./configure \
--with-tcltk-includes="-I/opt/local/include" \
--with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"
In addition, the options can be overridden with make:
make \
TCLTK_INCLUDES="-I/opt/local/include" \
TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-10-25 00:34:44 -07:00
Christian Heimes
b7bd5df809
Issue #16595 : Add prlimit() to resource module
...
prlimit() is a Linux specific command that combines setrlimit, getrlimit and can set the limit
of other processes.
2013-10-22 11:21:54 +02:00
Ned Deily
87adb6ef38
Issue #14499 : Fix several problems with OS X universal build support:
...
1. ppc arch detection for extension module builds broke with Xcode 5
2. ppc arch detection in configure did not work on OS X 10.4
3. -sysroot and -arch flags were unnecessarily duplicated
4. there was no obvious way to configure an intel-32 only build.
2013-10-18 21:09:56 -07:00
Ned Deily
d819b931f3
Issue #1584 : Provide options to override default search paths for Tcl and Tk
...
when building _tkinter. configure has two new options; if used, both must
be specified:
./configure \
--with-tcltk-includes="-I/opt/local/include" \
--with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"
In addition, the options can be overridden with make:
make \
TCLTK_INCLUDES="-I/opt/local/include" \
TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-09-06 01:07:05 -07:00
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
...
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00
Benjamin Peterson
3a7dffa4ce
remove support for compiling on systems without getcwd()
...
Do we need a fallback implementation of getcwd() from 1991 that claims to
support "really old Unix systems"? I don't think so.
2013-08-23 21:01:48 -05:00
Christian Heimes
6acbe2aaa3
Issue #18747 : Re-seed OpenSSL's pseudo-random number generator after fork.
...
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.
2013-08-21 13:26:34 +02:00
Christian Heimes
f77b4b20e9
Issue #18747 : Re-seed OpenSSL's pseudo-random number generator after fork.
...
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.
2013-08-21 13:26:05 +02:00
Christian Heimes
360b89ca5e
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
2013-06-18 13:22:37 +02:00
Christian Heimes
f0400baba8
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
2013-06-18 13:22:17 +02:00
Łukasz Langa
335ab5b66f
Fixed #18075 - Infinite recursion tests triggering a segfault on Mac OS X
...
Patch by Ronald Oussoren
2013-05-30 20:58:53 +02:00
Benjamin Peterson
cc00e01fad
test that the compiler support -Werror=statement-after-declaration before using it
2013-05-20 08:22:04 -07:00
Benjamin Peterson
43b2ab96bc
make GCC complain about declarations not at the top of blocks
2013-05-16 15:33:00 -05:00
Benjamin Peterson
f6b687fcd4
remove support GCC PyArg_ParseTuple format patch, last seen in 2006
2013-05-12 23:08:28 -05:00
Benjamin Peterson
a75a2ec64d
merge 3.3 ( #17547 )
2013-05-11 13:02:59 -05:00
Benjamin Peterson
feb5149244
-Wformat is needed by gcc 4.8 ( closes #17547 )
2013-05-11 13:00:05 -05:00
Victor Stinner
cd777eaf53
Issue #17615 : Comparing two Unicode strings now uses wmemcmp() when possible
...
wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora
18/x86_64, GCC 4.7.2.
2013-04-08 22:43:44 +02:00
Benjamin Peterson
fccfb824e6
merge 3.3 ( #17550 )
2013-03-26 08:58:16 -04:00
Benjamin Peterson
615ea1a98f
fix variable reference to fix --enable-profiling ( closes #17550 )
2013-03-26 08:55:37 -04:00
doko@ubuntu.com
6d3d0fe0b2
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:39:52 -07:00
doko@ubuntu.com
1621d77fc8
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:31:41 -07:00
doko@ubuntu.com
d5537d071c
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:21:49 -07:00
Charles-François Natali
773e42dff8
Issue #15359 : Add CAN_BCM protocol support to the socket module. Patch by Brian
...
Thorne.
2013-02-05 19:42:01 +01:00
doko@python.org
682d8d4aaa
- Issue #3718 : Use AC_ARG_VAR to set MACHDEP in configure.ac.
2013-01-26 19:00:20 +01:00
doko@python.org
eab42bf094
- Issue #3718 : Use AC_ARG_VAR to set MACHDEP in configure.ac.
2013-01-26 18:57:19 +01:00
doko@python.org
f86e484ef2
- Follow-up for issue #15484 : In PYTHON_FOR_BUILD, use $(PLATDIR) instead
...
of plat-$(MACHDEP).
2013-01-26 12:09:31 +01:00
doko@python.org
244b687374
- Follow-up for issue #15484 : In PYTHON_FOR_BUILD, use $(PLATDIR) instead
...
of plat-$(MACHDEP).
2013-01-26 12:08:25 +01:00
doko@python.org
874211978c
- Issue #16235 : Implement python-config as a shell script.
2013-01-26 11:39:31 +01:00
doko@python.org
90c8d06d68
- Issue #17031 : Fix running regen in cross builds.
2013-01-25 18:45:41 +01:00
doko@python.org
a10e4a9afb
- Issue #17031 : Fix running regen in cross builds.
2013-01-25 18:45:12 +01:00
doko@python.org
454ea92a4c
- Issue #3754 : fix typo in pthread AC_CACHE_VAL.
2013-01-25 15:35:12 +01:00
doko@python.org
96a9f89b2d
- Issue #3754 : fix typo in pthread AC_CACHE_VAL.
2013-01-25 15:34:34 +01:00
doko@python.org
7981f20293
- Issue #3754 : fix typo in pthread AC_CACHE_VAL.
2013-01-25 15:33:25 +01:00
doko@python.org
937c8e1ce0
- Issue #16292 : Improve a comment for cross building in configure.ac
2013-01-25 14:44:20 +01:00
doko@python.org
44bbbdab67
- Issue #16292 : Improve a comment for cross building in configure.ac
2013-01-25 14:44:00 +01:00
doko@python.org
981eec3ad4
- Issue #15484 : Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
...
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:35:44 +01:00
doko@python.org
9731330d6f
- Issue #15484 : Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
...
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:33:33 +01:00
doko@python.org
6951fea3ab
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:20:46 +01:00
doko@python.org
0c77bf757f
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:19:35 +01:00
doko@python.org
3e6e2ac31d
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:12:29 +01:00
Stefan Krah
5cc36bc6a4
Merge 3.3.
2013-01-17 20:44:02 +01:00
Stefan Krah
8c8adf6db7
Issue #16987 : Fix definition of SHLIB_EXT.
2013-01-17 20:41:56 +01:00
Charles-François Natali
cd18e78897
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 20:03:07 +01:00
Charles-François Natali
1aa004b45d
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 19:51:56 +01:00
Charles-François Natali
f6fd794fac
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 19:49:42 +01:00
Christian Heimes
b92c40ef9b
Cross compiling needs host and build settings. configure no longer
...
creates a broken PYTHON_FOR_BUILD variable when --build is missing.
2012-12-12 13:10:32 +01:00
Christian Heimes
954ac03a44
Cross compiling needs host and build settings. configure no longer
...
creates a broken PYTHON_FOR_BUILD variable when --build is missing.
2012-12-12 13:10:21 +01:00
Mark Dickinson
6e61d18891
Issue 10052: merge fix from 3.2.
2012-12-02 13:21:37 +00:00
Mark Dickinson
ce31f66a6d
Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
2012-12-02 13:20:22 +00:00
Mark Dickinson
983bc16c15
Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
2012-12-02 12:11:38 +00:00
Stefan Krah
588090ff39
Merge 3.3.
2012-11-22 23:50:25 +01:00
Stefan Krah
19c2139d2d
Fix more usages of NULL without including stdio.h.
2012-11-22 23:47:32 +01:00
Stefan Krah
8cb9e2e073
Merge 3.3.
2012-11-22 22:57:54 +01:00
Stefan Krah
7dba5940ae
Issue #13057 : Include stdio.h when NULL is used in configure.ac.
2012-11-22 22:49:11 +01:00
Ross Lagerwall
2bb842a2ef
Merge with 3.3 for issue #16262
2012-10-29 17:39:19 +00:00
Ross Lagerwall
646eb1e856
Merge with 3.2 for issue #16262
2012-10-29 17:35:57 +00:00
Ross Lagerwall
1b863ebfc8
Fix regression from issue #16262
2012-10-29 17:31:54 +00:00
Matthias Klose
1348747052
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:14:39 +02:00
Matthias Klose
aee3c76acf
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:12:35 +02:00
Matthias Klose
c4c4842d86
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:05:35 +02:00
Trent Nelson
9a537a6abf
Issue #15819 : use standard autoconf preset output variables.
...
Reported by: Roumen Petrov
2012-10-17 04:49:26 -04:00
Trent Nelson
5595ab564c
Issue #15819 : use standard autoconf preset output variables.
...
Reported by: Roumen Petrov
2012-10-17 04:47:31 -04:00
Trent Nelson
739fc541b1
Issue #15819 : use standard autoconf preset output variables.
...
Reported by: Roumen Petrov
2012-10-17 04:45:30 -04:00
Trent Nelson
a4519a6110
Bump autoconf from 2.68 to 2.69.
2012-10-16 11:51:08 -04:00
Trent Nelson
65c60851b0
Merge issue #15819 : tweak logic in previous commit.
2012-10-16 11:09:31 -04:00
Trent Nelson
56d4c03cb2
Merge issue #15819 : tweak logic in previous commit.
2012-10-16 11:07:31 -04:00
Trent Nelson
6603118125
Issue #15819 : tweak logic in previous commit (617591e7d708).
2012-10-16 11:04:04 -04:00
Trent Nelson
cd02b3f781
Merge issue #15819 : additional fixes for out-of-tree builds from read-only src.
...
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
2012-10-16 08:53:13 -04:00
Trent Nelson
4d4ec6502d
Merge issue #15819 : additional fixes for out-of-tree builds from read-only src.
...
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
2012-10-16 08:51:24 -04:00
Trent Nelson
9effe699b7
Issue #15819 : additional fixes for out-of-tree builds from read-only src.
...
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
2012-10-16 08:41:32 -04:00
Georg Brandl
08a9012352
Bump version to 3.4.0 alpha 0.
2012-09-29 09:34:13 +02:00
Trent Nelson
a45afcada3
Issue #15819 : Fix out-of-tree builds from a readonly source.
2012-08-30 14:32:02 +00:00
doko@ubuntu.com
9dc823d2e0
- Issue #15268 : Search curses.h in /usr/include/ncursesw.
2012-07-07 03:06:42 +02:00
doko@ubuntu.com
7e6c2e2cc4
- Issue #14330 : For cross builds, don't use host python, use host search paths
...
for host compiler.
Add NEWS entry, rename _PROJECT_BASE to _PYTHON_PROJECT_BASE.
2012-06-30 22:35:00 +02:00
doko@ubuntu.com
1abe1c5fe1
- Issue #14330 : For cross builds, don't use host python, use host search paths
...
for host compiler.
2012-06-30 20:42:45 +02:00
doko@ubuntu.com
b457b9be4d
- Issue #3754 : Fix /dev/ptmx, /dev/ptc file checks for cross builds,
...
require values set in CONFIG_SITE.
2012-06-30 19:28:16 +02:00
doko@ubuntu.com
5884449539
- Issue #3754 : Use readelf instead of ldd for the cross build readline check
2012-06-30 18:25:32 +02:00
doko@ubuntu.com
f2967c73ad
- check for libtinfo as a termcap library
2012-06-30 17:32:23 +02:00
doko@ubuntu.com
9c7817e9ee
- Issue #3754 : Some unrelated configure.ac cleanups.
2012-06-30 17:05:13 +02:00
doko@ubuntu.com
ba01583eef
- Issue #14324 : use a linker test to check for profiling support
2012-06-30 16:52:05 +02:00
doko@ubuntu.com
51f6594054
- Issue #3754 : Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
...
AC_PATH_PROG and AC_CHECK_PROGS for the target tools.
2012-06-30 14:42:46 +02:00
Ned Deily
3784ff9811
Issue #13950 : Improve support for OS X Xcode 4:
...
Fix ./configure to provide a more sensible default for
MACOSX_DEPLOYMENT_TARGET. Currently the default is the minimum OS X level
that supports the universal arch option, typically 10.4, even when no
universalsdk is selected. This causes various desirable features that
depend on later OS X versions, like libedit readline support, to be
omitted from the build. A more complete solution would take into account
the SDK that is being used and better tailor the universal arch options.
For now, change the existing tests to only apply to build systems of 10.5
and earlier; for 10.6 and later, use the build system version as the
default deployment target if the MACOSX_DEPLOYMENT_TARGET environment
variable is not provided.
2012-06-25 05:04:28 -07:00
Ned Deily
cbfb9a56e6
Issue #13590 : Improve support for OS X Xcode 4:
...
- Try to avoid building Python or extension modules with problematic
llvm-gcc compiler.
- Since Xcode 4 removes ppc support, extension module builds now
check for ppc compiler support and automatically remove ppc and
ppc64 archs when not available.
- Since Xcode 4 no longer install SDKs in default locations,
extension module builds now revert to using installed headers
and libs if the SDK used to build the interpreter is not
available.
- Update ./configure to use better defaults for universal builds;
in particular, --enable-universalsdk=yes uses the Xcode default
SDK and --with-universal-archs now defaults to "intel" if ppc
not available.
2012-06-23 16:02:19 -07:00
Stefan Krah
60187b5ee5
Issue #7652 : Enable linking of _decimal.so against an installed libmpdec.
2012-03-23 19:06:27 +01:00
Stefan Krah
1919b7e72b
Issue #7652 : Integrate the decimal floating point libmpdec library to speed
...
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
2012-03-21 18:25:23 +01:00
Matthias Klose
df2aecbf61
- Issue #14327 : Call AC_CANONICAL_HOST in configure.ac and check in
...
config.{guess,sub}. Don't use uname calls for cross builds.
2012-03-15 22:19:28 +01:00
Matthias Klose
ca2f6ecfc9
- Issue #14327 : Call AC_CANONICAL_HOST in configure.ac and check in
...
config.{guess,sub}.
2012-03-15 21:30:11 +01:00
Matthias Klose
9635013a8f
- Issue #14324 : Fix configure tests for cross builds.
...
when configured with --(en|dis)able-ipv6 for cross builds, don't fail the configury due to the missing buggy-getaddrinfo check.
2012-03-15 20:42:23 +01:00
Matthias Klose
b17289e199
- Issue #14324 : Fix configure tests for cross builds.
...
when configured --with(out)-computed-gotos for a cross, use this value instead of defaulting to no.
2012-03-15 19:51:34 +01:00
Matthias Klose
3b739b149b
- Issue #14324 : Fix configure tests for cross builds.
...
when using gcc, use a compilation test for the cross build check for long long format.
2012-03-15 19:31:06 +01:00
Matthias Klose
93a0ef16c9
- Issue #14321 : Do not run pgen during the build if files are up to date.
2012-03-15 18:08:34 +01:00
Matthias Klose
5ce31cc4fc
merge 3.2
2012-03-14 23:17:31 +01:00
Matthias Klose
d83be23689
merge 3.1
2012-03-14 23:14:35 +01:00
Matthias Klose
0f4c16e29c
- rename configure.in to configure.ac
...
- change references from configure.in to configure.ac
2012-03-14 23:10:15 +01:00
Antoine Pitrou
bcf2b59fb5
Issue #13609 : Add two functions to query the terminal size:
...
os.get_terminal_size (low level) and shutil.get_terminal_size (high level).
Patch by Zbigniew Jędrzejewski-Szmek.
2012-02-08 23:28:36 +01:00
Martin v. Löwis
9d6c66933a
Issue #13777 : Add PF_SYSTEM sockets on OS X.
...
Patch by Michael Goderbauer.
2012-02-03 17:44:58 +01:00
Gregory P. Smith
1577cf758b
Improve the test for dirfd(). Some systems #define it rather than
...
have it as a library function.
2012-01-21 18:21:56 -08:00
Gregory P. Smith
df300d5062
Improve the test for dirfd(), some systems #define it rather than have
...
an actual function.
2012-01-21 18:20:15 -08:00
Gregory P. Smith
d635af5a61
Fixes issue #8052 : The posix subprocess module's close_fds behavior was
...
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:39:29 -08:00
Gregory P. Smith
8facece99a
Fixes issue #8052 : The posix subprocess module's close_fds behavior was
...
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:01:08 -08:00
Gregory P. Smith
d1bb06f7ad
regenerated using autoconf, includes dirfd test.
2012-01-16 02:09:41 -08:00
Gregory P. Smith
6914048088
regenerate configure using autoconf. includes the dirfd test.
2012-01-16 02:05:55 -08:00
Benjamin Peterson
95c16629d3
fix for old kernels which don't have epoll_create1
2011-12-27 15:36:32 -06:00
Stefan Krah
9a17cc3c53
Merge second fix for issue #11149 .
2011-12-08 22:22:58 +01:00
Stefan Krah
af04ff2b97
Issue #11149 : Also enable -fwrapv if $CC is a full path
...
or has a trailing version number.
2011-12-08 22:20:31 +01:00
Antoine Pitrou
f0effe6379
Better resolution for issue #11849 : Ensure that free()d memory arenas are really released
...
on POSIX systems supporting anonymous memory mappings. Patch by Charles-François Natali.
2011-11-26 01:11:02 +01:00
Victor Stinner
984890fcbb
Close #13415 : Test in configure if unsetenv() has a return value or not.
...
Patch written by Charles-François Natali.
2011-11-24 13:53:38 +01:00
Jesus Cea
d8b9ae6e8f
Issue #6397 : Support '/dev/poll' polling objects in select module, under Solaris & derivatives.
2011-11-14 19:07:41 +01:00
Victor Stinner
e0be423297
Close #10278 : Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
...
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
2011-10-25 13:06:09 +02:00
Charles-François Natali
47413c1171
Issue #10141 : socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
...
Fuchs, updated by Tiago Gonçalves.
2011-10-06 19:47:44 +02:00
Martin v. Löwis
d63a3b8beb
Implement PEP 393.
2011-09-28 07:41:54 +02:00
Benjamin Peterson
7ddbf10589
disable unused result warnings when possible
2011-09-23 13:23:22 -04:00
Stefan Krah
66611c554d
Merge fix for issue #11149 .
2011-09-14 15:17:12 +02:00
Stefan Krah
962055d3c6
Issue #11149 : recent versions of clang require the -fwrapv flag.
2011-09-14 15:14:08 +02:00
Benjamin Peterson
b77fe17320
Use xattr functions from sys/xattr.h instead of attr/xattr.h ( closes #12720 )
...
sys/xattr.h is glibc while attr/xattr.h is a separate library.
2011-09-13 17:20:47 -04:00
Victor Stinner
d169fdcb63
Issue #12852 : Set _POSIX_C_SOURCE to 200809 to get POSIX 2008
...
configure.in: Set _POSIX_C_SOURCE to 200809L, instead of 200112L, to activate
features from IEEE Stds 1003.1-2008.
2011-09-08 00:56:17 +02:00
Victor Stinner
14d098d3ac
Issue #12852 : Set _XOPEN_SOURCE to 700 to get POSIX 2008
...
configure: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008
functions on OpenBSD (e.g. fdopendir).
2011-09-07 22:29:43 +02:00
Charles-François Natali
ea0d5fcb4a
Issue #12871 : sched_get_priority_(min|max) might not be defined even though
...
<sched.h> is available (most notably on OpenBSD when built without pthread):
add an explicit configure check.
2011-09-06 19:03:35 +02:00
Benjamin Peterson
799bd80d8a
expose linux extended file system attributes ( closes #12720 )
2011-08-31 22:15:17 -04:00
Victor Stinner
7209ff2b31
Issue #12326 : woops, I really mean 'linux', not 'linux2'
...
Copy/paste (from Python 3.2) failure
2011-08-21 00:00:16 +02:00
Victor Stinner
ff3d9399fc
Close #12326 : sys.platform is now always 'linux' on Linux
...
On Linux, sys.platform doesn't contain the major version anymore. It is now
always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version
used to build Python.
2011-08-20 23:39:26 +02:00
Victor Stinner
0c17d0d96e
Issue #12326 : sys.platform is now always 'linux2' on Linux
...
Even if Python is compiled on Linux 3.
2011-08-20 14:01:05 +02:00
Benjamin Peterson
c5fce4ded2
check individually for some for sched_ functions
2011-08-02 18:07:32 -05:00
Benjamin Peterson
2740af8cc4
sched.h can exist without sched affinity support
2011-08-02 17:41:34 -05:00
Benjamin Peterson
94b580d423
expose sched.h functions ( closes #12655 )
2011-08-02 17:30:04 -05:00
Charles-François Natali
6613c18ea2
Issue #13415 : Test in configure if unsetenv() has a return value or not.
2011-11-27 12:41:06 +01:00
Antoine Pitrou
d3b2aefbfe
Actually port ecfe9bf0117b to default
...
(I had the wrong impression that the problem didn't exist here)
2011-07-27 01:22:41 +02:00
Antoine Pitrou
5cd3e305e3
When testing for an hg repo, use a file that always exists, even with the "shared" extension
2011-07-27 01:16:18 +02:00
Charles-François Natali
dc1d548ecb
Issue #12560 : Build libpython.so on OpenBSD. Patch by Stefan Sperling.
2011-07-24 22:44:15 +02:00
Charles-François Natali
749400a94d
Issue #12560 : Build libpython.so on OpenBSD. Patch by Stefan Sperling.
2011-07-24 22:41:18 +02:00
Charles-François Natali
54ef40b000
Merge - Issue #12592 : Make Python build on OpenBSD 5 (and future major
...
releases).
2011-07-22 23:52:02 +02:00
Charles-François Natali
beed47ec0e
Issue #12592 : Make Python build on OpenBSD 5 (and future major releases).
2011-07-22 23:48:44 +02:00
Charles-François Natali
db57e8d186
Merge - Issue #12372 : POSIX semaphores are broken on AIX: don't use them.
2011-07-21 19:49:47 +02:00
Charles-François Natali
996f606787
Issue #12372 : POSIX semaphores are broken on AIX: don't use them.
2011-07-21 19:45:31 +02:00
Antoine Pitrou
370092071b
Issue #11863 : Remove support for legacy systems deprecated in Python 3.2
...
(following PEP 11). These systems are systems using Mach C Threads,
SunOS lightweight processes, GNU pth threads and IRIX threads.
2011-07-08 23:47:50 +02:00
Georg Brandl
187c111a55
Regenerate configure.
2011-07-03 09:23:20 +02:00
Ned Deily
8b56c4b1b8
Issue #8746 : Correct faulty configure checks so that os.chflags() and
...
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:13:01 -07:00
Ned Deily
3eb67d58d6
Issue #8746 : Correct faulty configure checks so that os.chflags() and
...
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:00:28 -07:00
Ross Lagerwall
bc808224b6
Issue #12303 : Add sigwaitinfo() and sigtimedwait() to the signal module.
2011-06-25 12:13:40 +02:00
Ross Lagerwall
b0ae53d8a0
Issue #9344 : Add os.getgrouplist().
2011-06-10 07:30:30 +02:00
Benjamin Peterson
dd5be06e6b
run autoconf
2011-06-03 14:38:24 -05:00
Benjamin Peterson
8c6f88efa2
remove __version__s dependent on subversion keyword expansion ( closes #12221 )
2011-05-31 20:52:17 -05:00
Benjamin Peterson
87cdb81646
run autoreconf
2011-05-31 18:26:08 -05:00
Charles-François Natali
daafdd5bea
Issue #12196 : Add pipe2() to the os module.
2011-05-29 20:07:40 +02:00
Gregory P. Smith
3b1f2c35f4
issue #1746656 : Fix for OS X. configure and #include changes so that the socket
...
module compiles again on OS X with its more annoying #include requirements.
2011-05-15 12:18:23 -07:00
Nadeem Vawda
d74b5936a1
Fix _socket compilation failures on non-Linux buildbots (cf. issue #1746656 ).
2011-05-15 13:16:22 +02:00
Gregory P. Smith
5ed2e779f1
Issue #1746656 : Add if_nameindex, if_nametoindex, if_indextoname
...
methods to the socket module.
2011-05-15 00:26:45 -07:00
Benjamin Peterson
316e02be83
run autoreconf
2011-05-10 15:01:56 -05:00
Victor Stinner
8f9f8d612a
Issue #11888 : Use system log2() when available
...
I expect the system libc to use more accurate functions than Python. The GNU
libc uses for example FYL2X and FYL2XP1 hardware instructions on Intel FPU.
2011-05-09 12:45:41 +02:00
Martin v. Löwis
4e9da47d8f
merge 11347.
2011-05-09 07:41:32 +02:00
Martin v. Löwis
48e14d3fda
Use --as-needed when linking libpython3.so. Closes #11347 .
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 07:37:45 +02:00
Victor Stinner
b3e7219abf
Issue #8407 : Add pthread_kill(), sigpending() and sigwait() functions to the
...
signal module.
2011-05-08 01:46:11 +02:00
Antoine Pitrou
6f26be09e0
Issue #11849 : Make it more likely for the system allocator to release
...
free()d memory arenas on glibc-based systems. Patch by Charles-François
Natali.
2011-05-03 18:18:59 +02:00
Victor Stinner
024e37adcc
Issue #11393 : Add the new faulthandler module
2011-03-31 01:31:06 +02:00
Jesus Cea
d3b7a55f54
Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS
2011-03-16 20:37:54 +01:00
Ross Lagerwall
7807c3545d
Issue #10812 : Add some extra posix functions to the os module.
2011-03-17 20:20:30 +02:00
Jesus Cea
736e7fc0f6
Issue #11495 : OSF support is eliminated. It was deprecated in Python 3.2
2011-03-14 17:36:54 +01:00
Georg Brandl
776e586114
Remove sys.subversion and svn build identification leftovers.
2011-03-06 10:35:42 +01:00
Georg Brandl
fe09a54280
Merge build identification to default branch.
2011-03-06 10:26:32 +01:00
Georg Brandl
13039c87f1
Merge build identification to 3.2 branch.
2011-03-06 10:13:00 +01:00
Georg Brandl
1ca2e7965c
Commit the hg build identification patch from the pymigr repo.
2011-03-05 20:51:24 +01:00
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
Georg Brandl
941f956d1b
Regenerate configure after r88580.
2011-02-25 15:21:47 +00:00
Benjamin Peterson
83a0efd303
run autoconf
2011-02-25 14:01:05 +00:00
Georg Brandl
8f1598787f
Merged revisions 88438,88440 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r88438 | georg.brandl | 2011-02-19 09:44:47 +0100 (Sa, 19 Feb 2011) | 1 line
#10709 : add back an updated AIX-NOTES (as README.AIX).
........
r88440 | georg.brandl | 2011-02-19 09:58:23 +0100 (Sa, 19 Feb 2011) | 1 line
#11184 : Fix large file support on AIX.
........
2011-02-25 10:26:14 +00:00
Georg Brandl
3f0df3bc51
Merged revisions 88430 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r88430 | georg.brandl | 2011-02-15 20:48:59 +0100 (Di, 15 Feb 2011) | 1 line
#730467 : Another small AIX fix.
........
2011-02-25 10:22:44 +00:00
Georg Brandl
6baf117d88
Merged revisions 88426 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r88426 | georg.brandl | 2011-02-15 16:44:51 +0100 (Di, 15 Feb 2011) | 1 line
#941346 : Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.
........
2011-02-25 10:20:45 +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
a75c10526f
Merged revisions 87698 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87698 | antoine.pitrou | 2011-01-03 19:53:50 +0100 (lun., 03 janv. 2011) | 4 lines
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:56:50 +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
59dd7abc56
Merged revisions 87646 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87646 | antoine.pitrou | 2011-01-02 21:45:21 +0100 (dim., 02 janv. 2011) | 3 lines
Fix bad quoting in r87639. Caught by Arfrever.
........
2011-01-02 20:49:42 +00:00
Antoine Pitrou
ece919eb0f
Fix bad quoting in r87639. Caught by Arfrever.
2011-01-02 20:45:21 +00:00
Antoine Pitrou
f1cc81a97d
Merged revisions 87639 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87639 | antoine.pitrou | 2011-01-02 20:34:03 +0100 (dim., 02 janv. 2011) | 4 lines
Issue #10475 : Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD. Patch by Nicolas Joly.
........
2011-01-02 19:38:30 +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