summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Prevent ioctl op codes from being sign extended from int to unsigned longGregory P. Smith2008-03-193-6/+44
| | | | | | | | | | | when used on platforms that actually define ioctl as taking an unsigned long. (the BSDs and OS X / Darwin) Adds a unittest for fcntl.ioctl that tests what happens with both positive and negative numbers. This was done because of issue1471 but I'm not able to reproduce -that- problem in the first place on Linux 32bit or 64bit or OS X 10.4 & 10.5 32bit or 64 bit.
* Make sure that the warnings filter is not reset or changed beyond the currentBrett Cannon2008-03-193-36/+24
| | | | | | running test file. Closes issue2407. Thanks Jerry Seutter.
* Bump the SIGALM delay from 3 seconds to 20 seconds, mainly in an effort to ↵Trent Nelson2008-03-191-1/+4
| | | | see if it fixes the alarm failures in this test experienced by some of the buildbots.
* Remove unnecessary traceback save/restore pair.Raymond Hettinger2008-03-191-4/+2
|
* Comment out tcltk/tcltk64 removal.Trent Nelson2008-03-191-2/+2
|
* Improve the error message when the CRCs don't match.Gregory P. Smith2008-03-191-1/+2
|
* Force a clean of the tcltk/tcltk64 directories now that we've completely ↵Trent Nelson2008-03-191-2/+2
| | | | changed the tcl/tk build environment.
* Fix the x64 Windows build environment used by the buildbots. ↵Trent Nelson2008-03-195-18/+21
| | | | | | | | %VS90COMNTOOLS%\vsvars32.bat is fine for 32-bit builds, but doesn't work for x64 builds, regardless of /MACHINE:AMD64 and /USECL:MS_OPTERON flags passed to cl.exe. Launch the x86_64 cross compilation environment via '%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat x86_amd64'. I don't have access to any systems *without* Visual Studio 2008 Professional installed (i.e. just Express Edition), so I can't test if x64 compilation works w/ VS Express at the moment. Additionally, force a clean in our build.bat files before building, just whilst we're going through these build system updates. And finally, add in the missing MACHINE=AMD64 option to our Tcl/Tk x64 build.
* Remove itertools warnings I had added before the 2-to-3 handled the migration.Raymond Hettinger2008-03-191-25/+0
|
* The filter() function does support a None argument in Py3.0.Raymond Hettinger2008-03-193-27/+0
|
* Issue 2354: Fix-up compare warning. Patch contributed by Jeff Balogh.Raymond Hettinger2008-03-192-1/+15
|
* Use sys.py3kwarning instead of trying to trigger a Py3k-related warning.Brett Cannon2008-03-191-8/+6
|
* test_nis would fail if test.test_support.verbose was true but NIS was not setBrett Cannon2008-03-192-4/+9
| | | | | | up on the machine. Closes issue2411. Thanks Michael Bishop.
* Checkout sqlite-source when it is not there.Thomas Heller2008-03-191-0/+2
|
* Trivial typo.Eric Smith2008-03-191-2/+2
|
* Use test.test_support.captured_stdout instead of a custom contextmanager.Eric Smith2008-03-191-13/+1
| | | | Thanks Nick Coghlan.
* Lets have another try at getting the Windows buildbots in a consistent state ↵Trent Nelson2008-03-193-73/+51
| | | | before rebuilding using the new process.
* Fix the tcl-8.4.18.1 path and make sure we cd into the right directory when ↵Trent Nelson2008-03-191-6/+6
| | | | building tcl/tk.
* Another one.Georg Brandl2008-03-191-1/+1
|
* Remove footnote from versionchanged as it upsets LaTeX.Georg Brandl2008-03-191-2/+1
|
* Remove extraneous apostrophe and semi-colon from AdditionalIncludeDirectories.Trent Nelson2008-03-191-8/+8
|
* Refine the Visual Studio 2008 build solution in order to improve how we deal ↵Trent Nelson2008-03-198-78/+2101
| | | | | | 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.)
* Issue2290: Support x64 Windows builds that live in pcbuild/amd64. Without ↵Trent Nelson2008-03-191-1/+6
| | | | 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.
* Import relimport using a relative import.Martin v. Löwis2008-03-191-1/+1
|
* Merged revisions 61598-61599,61601 via svnmerge fromMartin v. Löwis2008-03-1924-177/+252
| | | | | | | | | | | | | | | | | | 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. ........
* Initialized merge tracking via "svnmerge" with revisions "1-61595" fromMartin v. Löwis2008-03-190-0/+0
| | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
* Import lib2to3.Martin v. Löwis2008-03-1968-0/+11993
|
* Issue #2400: Allow relative imports to "import *".Martin v. Löwis2008-03-194-5/+16
|
* Fix compiler warning.Raymond Hettinger2008-03-191-1/+1
|
* Fix the struct module DeprecationWarnings that zipfile was triggering byGregory P. Smith2008-03-191-27/+37
| | | | | | removing all use of signed struct values. test_zipfile and test_zipfile64 pass. no more warnings.
* Another test for __future__ print_function.Eric Smith2008-03-191-0/+11
|
* Added zip, map, filter to future_bultins (#2171)David Wolever2008-03-194-4/+49
|
* Added my name to ACKSDavid Wolever2008-03-191-0/+1
|
* Fixed compiler module so __future__ print_function is compilable.Eric Smith2008-03-193-2/+5
|
* Use zlib's crc32 routine instead of binascii when available. zlib's is fasterGregory P. Smith2008-03-191-3/+5
| | | | when compiled properly optimized and about the same speed otherwise.
* Mention that crc32 and adler32 are available in a different module (zlib).Gregory P. Smith2008-03-192-0/+7
| | | | Some people look for them in hashlib.
* Add Jeff RushAndrew M. Kuchling2008-03-191-0/+2
|
* Backport of the print function, using a __future__ import.Eric Smith2008-03-1813-34/+238
| | | | | | | | 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.
* Issue: 2354: Add 3K warning for the cmp argument to list.sort() and sorted().Raymond Hettinger2008-03-181-0/+5
|
* Speed-up isinstance() for one easy case.Raymond Hettinger2008-03-181-0/+5
|
* Add a test to make sure zlib.crc32 and binascii.crc32 return the same thing.Gregory P. Smith2008-03-182-1/+7
| | | | | Fix a buglet in binascii.crc32, the second optional argument could previously have a signedness mismatch with the C variable its going into.
* Add py3k warnings for code and method inequality comparisons. This should ↵Steven Bethard2008-03-183-2/+131
| | | | resolve issue 2373. The codeobject.c and methodobject.c changes are both just backports of the Python 3 code.
* Have regrtest skip test_py3kwarn when the -3 flag is missing.Steven Bethard2008-03-181-0/+8
|
* Added a warning when -3 is enabled and None is passed to filter as the first ↵David Wolever2008-03-181-0/+7
| | | | argument.
* Ignore BIG5HKSCS-2004.TXT which is downloaded as part of a test.Brett Cannon2008-03-180-0/+0
|
* news entry for the chown fixGregory P. Smith2008-03-181-0/+3
|
* Import the test properly. This is especially important for py3k.Neal Norwitz2008-03-181-1/+1
|
* Fix test_atexit so that it still passes when -3 is supplied. (It was ↵Steven Bethard2008-03-181-2/+2
| | | | catching the warning messages on stdio from using the reload() function.)
* Fix chown on 64-bit linux. It needed to take a long (64-bit on 64bit linux) asGregory P. Smith2008-03-182-2/+30
| | | | | | | | | 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.
* _have_soundcard() is a bad check for winsound.Beep, since you can have a ↵Steven Bethard2008-03-181-17/+19
| | | | 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.