summaryrefslogtreecommitdiffstats
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-11063: Handle uuid.h being in default include path (GH-4565)Nick Coghlan2017-11-261-2/+1
| | | | | find_file() returns an empty list if it finds the requested header on the standard include path, so header existence checks need to be explicitly against "is not None".
* bpo-32059: setup.py now also searches the sysroot paths (GH-4452)xdegaye2017-11-251-7/+37
| | | | | | detect_modules() in setup.py now also searches the sysroot paths when cross-compiling.
* remove detect_math_libs (#4383)Benjamin Peterson2017-11-131-21/+10
| | | Darwin may not require libm, but it doesn't hurt to link it and simplifies configuration logic.
* Replace KB unit with KiB (#4293)Victor Stinner2017-11-081-1/+1
| | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB.
* fixes bpo-31834: Use optimized code for BLAKE2 only with SSSE3+ (#4066)Michał Górny2017-10-241-9/+0
| | | | | | | | | | | | | | | | Rework the code choosing BLAKE2 code paths from using the optimized variant on all x86_64 machines to using it when SSSE3 or better supported instructions sets are available. Firstly, this solves the problem of using pure SSE2 code path on x86_64 machines. As reported in the bug, this code is slower than the reference code on all tested x86_64 machines. Furthermore, on Athlon64 that lacks SSSE3, it is even 2.5 times slower than the reference code! Checking for SSSE3 therefore ensures that the optimized implementation will only be used when it has a chance of performing better. Secondly, this makes it possible to use SSSE3+ optimizations on 32-bit x86 systems. This allows for even 2 times speed gain on modern 32-bit x86 systems (tested in a 32-bit chroot).
* remove comment about long-gone SGI modules (#3850)Benjamin Peterson2017-10-021-2/+0
|
* bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid (#3796)Antoine Pitrou2017-09-281-0/+14
| | | | bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid.
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-10/+3
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* bpo-30912: Don't check the content of ffi.h (GH-2687)Shlomi Fish2017-09-061-10/+3
| | | Various platforms have various methods of handling multiarch libffi which probably won't match the previously looked-for defines. Now we just make sure that ffi.h is available.
* bpo-29505: Add fuzz tests for float(str), int(str), unicode(str) (#2878)Devin Jeanpierre2017-09-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | Add basic fuzz tests for a few common builtin functions. This is an easy place to start, and these functions are probably safe. We'll want to add more fuzz tests later. Lets bootstrap using these. While the fuzz tests are included in CPython and compiled / tested on a very basic level inside CPython itself, the actual fuzzing happens as part of oss-fuzz (https://github.com/google/oss-fuzz). The reason to include the tests in CPython is to make sure that they're maintained as part of the CPython project, especially when (as some eventually will) they use internal implementation details in the test. (This will be necessary sometimes because e.g. the fuzz test should never enter Python's interpreter loop, whereas some APIs only expose themselves publicly as Python functions.) This particular set of changes is part of testing Python's builtins, tracked internally at Google by b/37562550. The _xxtestfuzz module that this change adds need not be shipped with binary distributions of Python.
* bpo-30923: Silence fall-through warnings in libexpat build. (#3205)Stefan Krah2017-08-251-0/+9
|
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106)Victor Stinner2017-08-181-0/+3
| | | | | | | | | | | | | | * bpo-30947: Update libexpat from 2.2.1 to 2.2.3 * Add NEWS entry * Add new loadlibrary.c * expat_external.h: restore include "pyexpatns.h" * PCbuild: add expat/loadlibrary.c * Define XML_POOR_ENTROPY to compile expat
* Issue #30923: Revert flag that is not recognized by an obsolete gcc version. ↵Stefan Krah2017-08-181-3/+0
| | | | (#3132)
* bpo-30923: Suppress fall-through warnings in libmpdec. (#2698)Stefan Krah2017-07-131-0/+3
|
* bpo-20210: Support the *disabled* marker in Setup files (GH-132)xdegaye2017-05-271-13/+34
| | | | | Extension modules listed after the *disabled* marker are not built at all, neither by the Makefile nor by setup.py.
* Check that Python is 64-bit before enabling BLAKE2_USE_SSE. (#1332)Neil Schemenauer2017-04-281-2/+5
|
* Merge 3.6.Stefan Krah2017-02-041-1/+1
|\
| * Issue29439: _decimal on Android requires linking with libm.Stefan Krah2017-02-041-1/+1
| | | | | | | | Patch by Chi Hsuan Yen.
* | Issue #20211: Merge 3.6.Xavier de Gaye2016-12-141-2/+3
|\ \ | |/
| * Issue #20211: Do not add the directory for installing C header files andXavier de Gaye2016-12-141-2/+3
| | | | | | | | | | the directory for installing object code libraries to the cross compilation search paths.
* | Issue #28190: Merge 3.6.Xavier de Gaye2016-12-131-1/+2
|\ \ | |/
| * Issue #28190: Cross compiling the _curses module does not use anymoreXavier de Gaye2016-12-131-1/+2
| | | | | | | | /usr/include/ncursesw as a headers search path.
* | Issue #28918: Merge 3.6.Xavier de Gaye2016-12-101-1/+1
|\ \ | |/
| * Issue #28918: Fix the cross compilation of xxlimited when PythonXavier de Gaye2016-12-101-1/+1
| | | | | | | | has been built with Py_DEBUG defined.
* | Issue #28444: Merge with 3.6.Xavier de Gaye2016-10-291-22/+21
|\ \ | |/
| * Issue #28444: Merge with 3.5.Xavier de Gaye2016-10-291-22/+21
| |\
| | * Issue #28444: Fix missing extensions modules when cross compiling.Xavier de Gaye2016-10-291-22/+21
| | |
* | | Issue #28428: Rename _futures module to _asyncio. (merge from 3.6)INADA Naoki2016-10-151-2/+2
|\ \ \ | |/ / | | | | | | It will have more speedup functions or classes other than asyncio.Future.
| * | Issue #28428: Rename _futures module to _asyncio.INADA Naoki2016-10-151-2/+2
| | | | | | | | | | | | It will have more speedup functions or classes other than asyncio.Future.
* | | Issue #26801: Added C implementation of asyncio.Future.INADA Naoki2016-10-091-0/+2
|\ \ \ | |/ / | | | | | | Original patch by Yury Selivanov.
| * | Issue #26801: Added C implementation of asyncio.Future.INADA Naoki2016-10-091-0/+2
| | | | | | | | | | | | Original patch by Yury Selivanov.
* | | Issue #26661: setup.py now detects system libffi with multiarch wrapper.Christian Heimes2016-09-181-7/+9
|\ \ \ | |/ /
| * | Issue #26661: setup.py now detects system libffi with multiarch wrapper.Christian Heimes2016-09-181-7/+9
| |\ \ | | |/
| | * Issue #26661: setup.py now detects system libffi with multiarch wrapper.Christian Heimes2016-09-181-7/+9
| | |
* | | Closes #27979: Remove bundled copy of libffiZachary Ware2016-09-171-52/+3
|/ / | | | | | | | | An installed copy of libffi is now required for building _ctypes on any platform but OSX and Windows.
* | Unicode 9.0.0Benjamin Peterson2016-09-151-1/+2
| | | | | | | | | | Not completely mechanical since support for East Asian Width changes—emoji codepoints became Wide—had to be added to unicodedata.
* | Issue #23545: Adding -Wextra in setup.py is no longer necessary, since itStefan Krah2016-09-121-9/+0
| | | | | | | | is now part of the official flags.
* | Closes #27976: Deprecate bundled full copy of libffiZachary Ware2016-09-101-3/+7
| | | | | | | | | | Builds on non-OSX UNIX now default to using the system libffi, and warn if the bundled copy is used.
* | #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-081-2/+2
| | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* | Issue #16113: Add SHA-3 and SHAKE support to hashlib module.Christian Heimes2016-09-071-0/+7
| |
* | blake2: silence two more warnings on platforms with size_t < uint64_t. Don't ↵Christian Heimes2016-09-071-1/+1
| | | | | | | | use SSE2 when cross-compiling
* | Fix out-of-tree builds for blake2Christian Heimes2016-09-061-2/+2
| |
* | Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib.Christian Heimes2016-09-061-0/+16
| |
* | Closes #27904: Improved logging statements to defer formatting until needed.Vinay Sajip2016-08-311-2/+2
| |
* | - Issue #21277: Don't try to link _ctypes with a ffi_convenience library.doko@ubuntu.com2016-06-041-1/+1
| |
* | Issue #27171: Merge typo fixes from 3.5Martin Panter2016-06-021-2/+2
|\ \ | |/
| * Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-021-2/+2
| |
* | Issue #26846: Post commit cleanup.Stefan Krah2016-04-261-1/+1
| |
* | Merge 3.5: Issue #21668Victor Stinner2016-04-191-8/+21
|\ \ | |/
| * setup.py: add missing libm dependencyVictor Stinner2016-04-191-8/+21
| | | | | | | | | | Issue #21668: Link audioop, _datetime, _ctypes_test modules to libm, except on Mac OS X. Patch written by Xavier de Gaye.