summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
Commit message (Collapse)AuthorAgeFilesLines
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-1/+0
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-051-2/+11
| | | | | | | | | | | | | | | | | | This patch adds a new configure argument on OSX: --with-universal-archs=[32-bit|64-bit|all] When used with the --enable-universalsdk option this controls which CPU architectures are includes in the framework. The default is 32-bit, meaning i386 and ppc. The most useful alternative is 'all', which includes all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64). This includes limited support for the Carbon bindings in 64-bit mode as well, limited because (a) I haven't done extensive testing and (b) a large portion of the Carbon API's aren't available in 64-bit mode anyway. I've also duplicated a feature of Apple's build of python: setting the environment variable 'ARCHFLAGS' controls the '-arch' flags used for building extensions using distutils.
* Renamed bytesobject.c to bytearrayobject.cChristian Heimes2008-05-261-1/+1
| | | | | Renamed stringobject.c to bytesobject.c Fixed Windows builds
* Renamed PyString to PyBytesChristian Heimes2008-05-261-0/+1
|
* Remove directories that no longer exist.Georg Brandl2008-05-201-2/+2
|
* Add html package so it gets installed and more tests work (from installed copy)Neal Norwitz2008-05-201-1/+1
|
* GHOP #217: add support for compiling Python with coverage checking enabled.Georg Brandl2008-05-181-0/+6
|
* Add "tkinter" to the list of directories to install.Georg Brandl2008-05-171-1/+1
|
* Install the json package and tests as well as the lib2to3 testsNeal Norwitz2008-05-141-1/+2
| | | | | | so the tests work when run from an install directory. They are currently skipped on the daily runs (not from the buildbots) for checking refleaks, etc.
* Remove leftovers from reverted setuptools checkin (they were added in r45525).Marc-André Lemburg2008-05-131-2/+0
|
* make message slightly more informative, so there's no chance of ↵Benjamin Peterson2008-05-121-1/+1
| | | | misunderstanding it
* Put Lib/lib-old back on to sys.path for module renames.Brett Cannon2008-05-111-1/+3
|
* Addresses issue 2802: 'n' formatting for integers.Eric Smith2008-05-111-1/+2
| | | | | | | | | | | | | | Adds 'n' as a format specifier for integers, to mirror the same specifier which is already available for floats. 'n' is the same as 'd', but inserts the current locale-specific thousands grouping. I added this as a stringlib function, but it's only used by str type, not unicode. This is because of an implementation detail in unicode.format(), which does its own str->unicode conversion. But the unicode version will be needed in 3.0, and it may be needed by other code eventually in 2.6 (maybe decimal?), so I left it as a stringlib implementation. As long as the unicode version isn't instantiated, there's no overhead for this.
* Fix for issue #2573: Can't change the framework name on OS X buildsRonald Oussoren2008-05-021-15/+6
| | | | | | | This introduces a new configure option: --with-framework-name=NAME (defaulting to 'Python'). This allows you to install several copies of the Python framework with different names (such as a normal build and a debug build).
* I finally got the time to update and merge Mark's and my trunk-math branch. ↵Christian Heimes2008-04-181-0/+2
| | | | | | The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
* Adds a profile-opt target for easy compilation of a python binary usingGregory P. Smith2008-04-131-1/+29
| | | | gcc's profile guided optimization.
* Re-implement the 'warnings' module in C. This allows for usage of theBrett Cannon2008-04-121-0/+2
| | | | | | | | | 'warnings' code in places where it was previously not possible (e.g., the parser). It could also potentially lead to a speed-up in interpreter start-up if the C version of the code (_warnings) is imported over the use of the Python version in key places. Closes issue #1631171.
* Issue 2408: remove the _types moduleAmaury Forgeot d'Arc2008-04-081-2/+0
| | | | | | | | | It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType), when they can easily be obtained with python code. These expressions even work with Jython. I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 ) at least this change makes it simpler.
* Merged revisions ↵Christian Heimes2008-03-261-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/trunk-bytearray ........ r61750 | christian.heimes | 2008-03-22 20:47:44 +0100 (Sat, 22 Mar 2008) | 1 line Copied files from py3k w/o modifications ........ r61752 | christian.heimes | 2008-03-22 20:53:20 +0100 (Sat, 22 Mar 2008) | 7 lines Take One * Added initialization code, warnings, flags etc. to the appropriate places * Added new buffer interface to string type * Modified tests * Modified Makefile.pre.in to compile the new files * Added bytesobject.c to Python.h ........ r61754 | christian.heimes | 2008-03-22 21:22:19 +0100 (Sat, 22 Mar 2008) | 2 lines Disabled bytearray.extend for now since it causes an infinite recursion Fixed serveral unit tests ........ r61756 | christian.heimes | 2008-03-22 21:43:38 +0100 (Sat, 22 Mar 2008) | 5 lines Added PyBytes support to several places: str + bytearray ord(bytearray) bytearray(str, encoding) ........ r61760 | christian.heimes | 2008-03-22 21:56:32 +0100 (Sat, 22 Mar 2008) | 1 line Fixed more unit tests related to type('') is not unicode ........ r61763 | christian.heimes | 2008-03-22 22:20:28 +0100 (Sat, 22 Mar 2008) | 2 lines Fixed more unit tests Fixed bytearray.extend ........ r61768 | christian.heimes | 2008-03-22 22:40:50 +0100 (Sat, 22 Mar 2008) | 1 line Implemented old buffer interface for bytearray ........ r61772 | christian.heimes | 2008-03-22 23:24:52 +0100 (Sat, 22 Mar 2008) | 1 line Added backport of the io module ........ r61775 | christian.heimes | 2008-03-23 03:50:49 +0100 (Sun, 23 Mar 2008) | 1 line Fix str assignement to bytearray. Assignment of a str of size 1 is interpreted as a single byte ........ r61805 | christian.heimes | 2008-03-23 19:33:48 +0100 (Sun, 23 Mar 2008) | 3 lines Fixed more tests Fixed bytearray() comparsion with unicode() Fixed iterator assignment of bytearray ........ r61809 | christian.heimes | 2008-03-23 21:02:21 +0100 (Sun, 23 Mar 2008) | 2 lines str(bytesarray()) now returns the bytes and not the representation of the bytearray object Enabled and fixed more unit tests ........ r61812 | christian.heimes | 2008-03-23 21:53:08 +0100 (Sun, 23 Mar 2008) | 3 lines Clear error PyNumber_AsSsize_t() fails Use CHARMASK for ob_svall access disabled a test with memoryview again ........ r61819 | christian.heimes | 2008-03-23 23:05:57 +0100 (Sun, 23 Mar 2008) | 1 line Untested updates to the PCBuild directory ........ r61917 | christian.heimes | 2008-03-26 00:57:06 +0100 (Wed, 26 Mar 2008) | 1 line The type system of Python 2.6 has subtle differences to 3.0's. I've removed the Py_TPFLAGS_BASETYPE flags from bytearray for now. bytearray can't be subclasses until the issues with bytearray subclasses are fixed. ........ r61920 | christian.heimes | 2008-03-26 01:44:08 +0100 (Wed, 26 Mar 2008) | 2 lines Disabled last failing test I don't understand what the test is testing and how it suppose to work. Ka-Ping, please check it out. ........ r61930 | christian.heimes | 2008-03-26 12:46:18 +0100 (Wed, 26 Mar 2008) | 1 line Re-enabled bytes warning code ........ r61933 | christian.heimes | 2008-03-26 13:20:46 +0100 (Wed, 26 Mar 2008) | 1 line Fixed a bug in the new buffer protocol. The buffer slots weren't copied into a subclass. ........ r61934 | christian.heimes | 2008-03-26 13:25:09 +0100 (Wed, 26 Mar 2008) | 1 line Re-enabled bytearray subclassing - all tests are passing. ........
* Install lib2to3.Martin v. Löwis2008-03-221-0/+3
|
* Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script doesBrett Cannon2008-03-181-0/+4
| | | | | | | | | | | | | some verification: - Runs reindent.py on all .py files. - Checks if any changes in Doc exist. - Whether Misc/ACKS was changed. - Whether Misc/NEWS was changed. The hope is that ``make check`` can become a command anybody can run to get reminders about what all the requisite steps needed to create a proper patch/checkin.
* Added dependency rules for Objects/stringlib/*.hChristian Heimes2008-02-241-14/+14
| | | | stringobject, unicodeobject and the two formatters are rebuild whenever a header files changes
* Added dependencies for stringobject.o. This should fix failing tests in ↵Eric Smith2008-02-191-0/+8
| | | | test_unicode.py.
* Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith2008-02-171-0/+16
| | | | | | | | | | | | | | | Highlights: - Adding PyObject_Format. - Adding string.Format class. - Adding __format__ for str, unicode, int, long, float, datetime. - Adding builtin format. - Adding ''.format and u''.format. - str/unicode fixups for formatters. The files in Objects/stringlib that implement PEP 3101 (stringdefs.h, unicodedefs.h, formatter.h, string_format.h) are identical in trunk and py3k. Any changes from here on should be made to trunk, and changes will propogate to py3k).
* Fix the reindent rule to use $(BUILDPYTHON).Brett Cannon2008-01-291-1/+1
|
* Make 'testall' work again when building in a separate directory.Thomas Wouters2008-01-261-1/+1
| | | | test_distutils still fails when doing that.
* Make's MAKEFLAGS variable is set to a string containing the single-letterBrett Cannon2008-01-211-1/+1
| | | | | arguments to Make. This means there are no hyphens. Fix the '-s' check to silence distutils to now work.
* A bunch of header files were not listed as dependencies for object files. ↵Christian Heimes2008-01-211-7/+29
| | | | Changes to files like Parser/parser.h weren't picked up by make.
* Applied patch #1635: Float patch for inf and nan on Windows (and other ↵Christian Heimes2007-12-181-0/+3
| | | | | | platforms). The patch unifies float("inf") and repr(float("inf")) on all platforms.
* The new float repr causes too much trouble and pain. I'm disabling the ↵Christian Heimes2007-12-111-1/+0
| | | | | | | feature until we have sorted out the issues on all machines. 64bit machines seem to have issues and Guido has reported even worse. Guido: It's pretty bad actually -- repr(1e5) comes out as '1.0'... Ditto for repr(1eN) for most N... Both in 2.6 and in 3.0...
* Backport of r59456:59458 from py3k to trunkChristian Heimes2007-12-101-0/+1
| | | | | | Issue #1580: New free format floating point representation based on "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'. Thanks to noam for the patch! I had to modify doubledigits.c slightly to support X64 and IA64 machines on Windows. I also added the new file to the three project files.
* Final fix for #1403Christian Heimes2007-11-211-0/+2
| | | | The Windows installer and some Linux distros are using compileall to compile all py files in the Lib/ directory. However no test exists to check if all py files can be compiled. I figured out that make testall is the easiest way to test compileall.
* Patch #1418: Make the AC_REPLACE_FUNCS object files actually work.Martin v. Löwis2007-11-121-0/+3
|
* Get rid of warning about not being able to create an existing directory.Neal Norwitz2007-10-121-1/+1
|
* Issue1704287: "make install" fails unless you do "make" first. MakeSean Reifscheider2007-09-211-3/+4
| | | | oldsharedmods and sharedmods in "libinstall".
* Newer autoconf versions (from 2.60) want a 'datarootdir' definition inRonald Oussoren2007-09-091-0/+3
| | | | | | | | | | | | | (Make-)files that use mandir (and other data directory macros). This patch solves a warning during configure, specifically: ... config.status: creating Makefile.pre config.status: WARNING: ../Makefile.pre.in seems to ignore the --datarootdir setting ... See also: <http://www.gnu.org/software/automake/manual/autoconf/Changed-Directory-Variables.html>
* #1095: ln -f doesn't work portably, fix in Makefile.Georg Brandl2007-09-071-1/+2
|
* Patch #786737: Allow building in a tree of symlinks pointing toMartin v. Löwis2007-09-051-1/+2
| | | | a readonly source.
* - Makefile.pre.in(buildbottest): Remove whitespace at eol.Matthias Klose2007-09-041-3/+3
|
* - Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identifyMatthias Klose2007-09-041-0/+4
| | | | to include some information about the build environment.
* Patch 1673122: be explicit about which libtool to use, to avoid name clashesRonald Oussoren2007-07-091-1/+1
| | | | when a users install GNU libtool early in his PATH
* add parsetok.h as a dependency - previously, changing this file doesn'tAnthony Baxter2007-01-121-0/+3
| | | | cause the right files to be rebuilt.
* #1577756: svnversion doesn't react to LANG=C, use LC_ALL=C to forceGeorg Brandl2006-12-081-1/+1
| | | | English output.
* [Patch #1503717] Tiny patch from Chris AtLee to stop a lengthy line from ↵Andrew M. Kuchling2006-10-271-1/+1
| | | | being printed
* Move peephole optimizer to separate file.Jeremy Hylton2006-08-211-0/+1
|
* Fix makefile changes for python-config.Georg Brandl2006-07-301-2/+2
|
* expunge the xmlcore changes:Fred Drake2006-07-291-1/+1
| | | | | | | | | | | | | | | | | | | 41667, 41668 - initial switch to xmlcore 47044 - mention of xmlcore in What's New 50687 - mention of xmlcore in the library reference re-apply xmlcore changes to xml: 41674 - line ending changes (re-applied manually), directory props 41677 - add cElementTree wrapper 41678 - PSF licensing for etree 41812 - whitespace normalization 42724 - fix svn:eol-style settings 43681, 43682 - remove Python version-compatibility cruft from minidom 46773 - fix encoding of \r\n\t in attr values in saxutils 47269 - added XMLParser alias for cElementTree compatibility additional tests were added in Lib/test/test_sax.py that failed with the xmlcore changes; these relate to SF bugs #1511497, #1513611
* Patch #1520294: Support for getset and member descriptors in types.py,Barry Warsaw2006-07-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | inspect.py, and pydoc.py. Specifically, this allows for querying the type of an object against these built-in C types and more importantly, for getting their docstrings printed in the interactive interpreter's help() function. This patch includes a new built-in module called _types which provides definitions of getset and member descriptors for use by the types.py module. These types are exposed as types.GetSetDescriptorType and types.MemberDescriptorType. Query functions are provided as inspect.isgetsetdescriptor() and inspect.ismemberdescriptor(). The implementations of these are robust enough to work with Python implementations other than CPython, which may not have these fundamental types. The patch also includes documentation and test suite updates. I commit these changes now under these guiding principles: 1. Silence is assent. The release manager has not said "no", and of the few people that cared enough to respond to the thread, the worst vote was "0". 2. It's easier to ask for forgiveness than permission. 3. It's so dang easy to revert stuff in svn, that you could view this as a forcing function. :) Windows build patches will follow.
* Install the compatibility symlink to libpython.a on OSX using 'ln -sf' insteadRonald Oussoren2006-07-251-1/+1
| | | | of 'ln -s', this avoid problems when reinstalling python.
* Patch #1523356: fix determining include dirs in python-config.Georg Brandl2006-07-241-2/+3
| | | | | | Also don't install "python-config" when doing altinstall, but always install "python-config2.x" and make a link to it like with the main executable.