Commit Graph

630 Commits

Author SHA1 Message Date
Christian Heimes
81ad6a185a Added new files to Windows project files
More Windows related fixes are coming soon
2008-04-18 23:40:40 +00:00
Christian Heimes
6f34109384 I finally got the time to update and merge Mark's and my trunk-math branch. 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 :)
2008-04-18 23:13:07 +00:00
Amaury Forgeot d'Arc
14d6b0f8f0 Update project files for all Windows supported compilers 2008-04-14 19:55:40 +00:00
Brett Cannon
76ca13ca2a Fix an accidental bug of an non-existent init function. 2008-04-13 00:25:15 +00:00
Brett Cannon
e974689038 Re-implement the 'warnings' module in C. This allows for usage of the
'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.
2008-04-12 23:44:07 +00:00
Amaury Forgeot d'Arc
7adc776ea6 Issue 2408: remove the _types module
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.
2008-04-08 22:07:05 +00:00
Andrew M. Kuchling
eba0004198 Typographical fix: 32bit -> 32-bit, 64bit -> 64-bit 2008-04-08 01:33:10 +00:00
Mark Hammond
495cf99aaf Issue #2513: enable 64bit cross compilation on windows. 2008-04-07 01:53:39 +00:00
Mark Hammond
8a3c8716e8 From issue 1753245 - better _winreg support for x64.
Adds _winreg.DisableReflectionKey, EnableReflectionKey, QueryReflectionKey,
KEY_WOW64_64KEY and KEY_WOW64_32KEY.
2008-04-06 01:42:06 +00:00
Amaury Forgeot d'Arc
1725f2470b One #ifdef too much, and I broke all windows buildbots:
in pyconfig.h, NTDDI_WIN2KSP4 is not *yet* defined, but will be at some point on some modules.

Let this line even for older SDKs, they don't use it anyway.
2008-03-28 22:43:38 +00:00
Amaury Forgeot d'Arc
94eba715ad Repair compilation for Visual Studio 2005.
I applied the same changes manually to VS7.1 and VC6 files; completely untested.

(Christian, don't try too hard merging this change into py3k.
It will be easier to do the same work again on the branch)
2008-03-28 21:55:29 +00:00
Christian Heimes
9a960c6015 Revert commit accident 2008-03-27 01:38:47 +00:00
Christian Heimes
a82e8db5e4 Hopefully added _fileio module to the Windows build system 2008-03-27 01:36:21 +00:00
Neal Norwitz
4677fbf7de Try to fix a bunch of compiler warnings on Win64. 2008-03-25 04:18:18 +00:00
Barry Warsaw
189b6d85c9 More copyright year and version number bumps 2008-03-01 03:15:20 +00:00
Christian Heimes
c5f05e45cf Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
Eric Smith
a73fbe791d Added future_builtins, which contains PEP 3127 compatible versions of hex() and oct(). 2008-02-23 03:09:44 +00:00
Amaury Forgeot d'Arc
e7fa408741 Compilation was broken on Windows since the introduction of Advanced String Formatting.
Only PCBuild (vs9) was really tested.
Changes for older compilers were done manually.
2008-02-17 20:56:31 +00:00
Martin v. Löwis
e0d30ef0ca Patch #1736: Fix file name handling of _msi.FCICreate. 2008-02-12 13:47:26 +00:00
Christian Heimes
95d644708e Issue #1706: Require Windows 2000+
Added Py_BUILD_CORE_MODULES macro to set WINVER and NTDDI_VERSION to Windows 2000 for core modules, too
Added -d option to build.bat (same as -c Debug) and fixed warning about /build option
Updated Windows related readme.txt files
2008-02-09 19:55:22 +00:00
Andrew MacIntyre
52895fc39f Rename module definition file to reflect v2.6. 2008-02-03 07:01:11 +00:00
Andrew MacIntyre
e6d9010b77 Update OS/2 EMX build bits for 2.6. 2008-02-03 06:58:06 +00:00
Christian Heimes
195b883bb4 vs9to8 sync 2008-01-09 14:46:10 +00:00
Christian Heimes
b39a756afd Added __enter__ and __exit__ functions to HKEY object
Added ExpandEnvironmentStrings to the _winreg module.
2008-01-08 15:46:10 +00:00
Christian Heimes
aee643b01f Reverted last transaction. It's the wrong branch. 2008-01-04 15:34:06 +00:00