Commit Graph

17 Commits

Author SHA1 Message Date
Christian Heimes 0a8143f646 Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).
The patch unifies float("inf") and repr(float("inf")) on all platforms.
2007-12-18 23:22:54 +00:00
Christian Heimes f15c66e143 The new float repr causes too much trouble and pain. I'm disabling the 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...
2007-12-11 00:54:34 +00:00
Christian Heimes 284d927625 Backport of r59456:59458 from py3k to trunk
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.
2007-12-10 22:28:56 +00:00
Martin v. Löwis 4c1cb7ea8e Patch #1105: Explain that one needs to build the solution
to get dependencies right.
2007-09-05 06:39:17 +00:00
Mark Hammond e81119295e copy built files to the PCBuild directory, where tools like
distutils or external build processes can find them.
2007-07-04 02:03:10 +00:00
Kristján Valur Jónsson ba526438f8 Remove the rgbimgmodule from PCBuild8 2007-05-26 19:19:50 +00:00
Kristján Valur Jónsson 22ea025481 Minor fix of PCBuild8/_ctypes vcproj, moving include dir into the .vsprops file. 2007-05-04 17:28:06 +00:00
Kristján Valur Jónsson 465bdcc1d1 Update the pcbuild8 solution. Straightened out the _ctypes project by using a .vsproj file and a masm64.rules file to avoid redundancy 2007-05-04 15:48:15 +00:00
Kristján Valur Jónsson 19ac472ba1 Fix pcbuild8 after recent overhaul: Added the version resource to python26.dll. Adjust stacksize to 2Mb and made large address aware for 32 bits, and set stacksize to 3Mb for 64 bits.
Todo:  Set .dll optimized load addresses, and side-by-side packaging of the python26.dll.
2007-05-03 20:04:53 +00:00
Thomas Heller 8baeb11041 Fix building _ctypes.pyd for x64 / Windows. 2007-05-03 12:02:08 +00:00
Kristján Valur Jónsson 7a0da19087 Complete revamp of PCBuild8 directory. Use subdirectories for each project under the main pcbuild solution. Now make extensive use of property sheets to simplify project configuration. x64 build fully supported, and the process for building PGO version (Profiler Guided Optimization) simplified. All projects are now present, except _ssl, which needs to be reimplemented. Also, some of the projects that require external libraries need extra work to fully compile on x64. 2007-04-30 15:17:46 +00:00
Raymond Hettinger eb9798892d Prepare collections module for pure python code entries. 2007-02-28 18:37:52 +00:00
Anthony Baxter 83955ef639 update to (c) years to include 2007 2007-01-06 04:45:54 +00:00
Kristján Valur Jónsson b15a0ccf6d Update the PCBuild8 solution.
Facilitate cross-compilation by having binaries in separate Win32 and x64 directories.
Rationalized configs by making proper use of platforms/configurations.
Remove pythoncore_pgo project.
Add new PGIRelease and PGORelease configurations to perform Profile Guided Optimisation.
Removed I64 support, but this can be easily added by copying the x64 platform settings.
2006-09-05 17:58:12 +00:00
Kristján Valur Jónsson bc09e1086e Fixup the PCBuild8 project directory. exceptions.c have moved to Objects, and the functionalmodule.c has been replaced with _functoolsmodule.c. Other minor changes to .vcproj files and .sln to fix compilation 2006-05-31 13:35:41 +00:00
Tim Peters a37722cc42 Added missing svn:eol-style property to text files. 2006-05-28 01:52:38 +00:00
Kristján Valur Jónsson 2b38e40a5a Add a PCBuild8 build directory for building with Visual Studio .NET 2005. Contains a special project to perform profile guided optimizations on the pythoncore.dll, by instrumenting and running pybench.py 2006-05-27 15:41:31 +00:00