- 19 Mar, 2008 18 commits
-
-
Georg Brandl authored
-
Trent Nelson authored
-
Trent Nelson authored
Refine the Visual Studio 2008 build solution in order to improve how we deal with external components, as well as fixing outstanding issues with Windows x64 build support. Introduce two new .vcproj files, _bsddb44.vcproj and sqlite3.vcproj, which replace the previous pre-link event scripts for _bsddb and _sqlite3 respectively. The new project files inherit from our property files as if they were any other Python module. This has numerous benefits. First, the components get built with exactly the same compiler flags and settings as the rest of Python. Second, it makes it much easier to debug problems in the external components when they're part of the build system. Third, they'll benefit from profile guided optimisation in the release builds, just like the rest of Python core. I've also introduced a slightly new pattern for managing externals in subversion. New components get checked in as <name>-<version>.x, where <version> matches the exact vendor version string. After the initial import of the external component, the .x is tagged as .0 (i.e. tcl-8.4.18.x -> tcl-8.4.18.0). Some components may not need any tweaking, whereas there are others that might (tcl/tk fall into this bucket). In that case, the relevant modifications are made to the .x branch, which will be subsequently tagged as .1 (and then n+1 going forward) when they build successfully and all tests pass. Buildbots will be converted to rely on these explicit tags only, which makes it easy for us to switch them over to a new version as and when required. (Simple change to external(-amd64).bat: if we've bumped tcl to 8.4.18.1, change the .bat to rmdir 8.4.18.0 if it exists and check out a new .1 copy.)
-
Trent Nelson authored
Issue2290: Support x64 Windows builds that live in pcbuild/amd64. Without it, sysutils._python_build() returns the wrong directory, which causes the test_get_config_h_filename method in Lib/distutils/tests/test_sysconfig.py to fail.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r61598 | david.wolever | 2008-03-18 23:58:33 -0500 (Di, 18 Mär 2008) | 1 line Added fixer for zip, and refactored a bit of code in the process. Closing #2171. ........ r61599 | david.wolever | 2008-03-19 00:04:26 -0500 (Mi, 19 Mär 2008) | 3 lines Removed a bunch of duplicate code -- it's in util now. ........ r61601 | martin.v.loewis | 2008-03-19 00:21:12 -0500 (Mi, 19 Mär 2008) | 2 lines Fix whitespace. ........
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Raymond Hettinger authored
-
Gregory P. Smith authored
removing all use of signed struct values. test_zipfile and test_zipfile64 pass. no more warnings.
-
Eric Smith authored
-
David Wolever authored
-
David Wolever authored
-
Eric Smith authored
-
Gregory P. Smith authored
when compiled properly optimized and about the same speed otherwise.
-
Gregory P. Smith authored
Some people look for them in hashlib.
-
Andrew M. Kuchling authored
-
- 18 Mar, 2008 22 commits
-
-
Eric Smith authored
This work is substantially Anthony Baxter's, from issue 1633807. I just freshened it, made a few minor tweaks, and added the test cases. I also created issue 2412, which is to check for 2to3's behavior with the print function. I also added myself to ACKS.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Gregory P. Smith authored
Fix a buglet in binascii.crc32, the second optional argument could previously have a signedness mismatch with the C variable its going into.
-
Steven Bethard authored
Add py3k warnings for code and method inequality comparisons. This should resolve issue 2373. The codeobject.c and methodobject.c changes are both just backports of the Python 3 code.
-
Steven Bethard authored
-
David Wolever authored
-
Brett Cannon authored
-
Gregory P. Smith authored
-
Neal Norwitz authored
-
Steven Bethard authored
Fix test_atexit so that it still passes when -3 is supplied. (It was catching the warning messages on stdio from using the reload() function.)
-
Gregory P. Smith authored
uid and gid input to accept values >=2**31 as valid while still accepting negative numbers to pass -1 to chown for "no change". Fixes issue1747858. This should be backported to release25-maint.
-
Steven Bethard authored
_have_soundcard() is a bad check for winsound.Beep, since you can have a soundcard but have the beep driver disabled. This revision basically disables the beep tests by wrapping them in a try/except. The Right Way To Do It is to come up with a _have_enabled_beep_driver() and use that.
-
Steven Bethard authored
-
Neal Norwitz authored
-
Steven Bethard authored
Add py3k warnings for object, type, cell and dict comparisons. This should resolve issue2342 and partly resolve issue2373.
-
Brett Cannon authored
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.
-
Sean Reifscheider authored
copy, now it is doing a os.rename() if it's on the same file-system.
-
Brett Cannon authored
on OS X.
-
Steven Bethard authored
Use test_support.unlink instead of os.unlink in tearDown(). (Seems to fix an occasional failure in Windows Vista.)
-
Brett Cannon authored
-
Brett Cannon authored
The removal of strerror.c led to the function check being removed from configure.in.
-