summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* cell_compare needs to return -2 instead of NULL.Steven Bethard2008-03-181-1/+1
|
* Get regrtest working when re-running testsNeal Norwitz2008-03-181-2/+2
|
* Add py3k warnings for object, type, cell and dict comparisons. This should ↵Steven Bethard2008-03-186-3/+166
| | | | resolve issue2342 and partly resolve issue2373.
* Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script doesBrett Cannon2008-03-183-0/+96
| | | | | | | | | | | | | 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.
* Issue 1577: shutil.move() where destination is a directory was doing aSean Reifscheider2008-03-183-19/+143
| | | | copy, now it is doing a os.rename() if it's on the same file-system.
* Cast the arguments to PyString_AsStringAndSize() to silence compiler warningsBrett Cannon2008-03-181-1/+2
| | | | on OS X.
* Use test_support.unlink instead of os.unlink in tearDown(). (Seems to fix ↵Steven Bethard2008-03-181-1/+1
| | | | an occasional failure in Windows Vista.)
* Fix test_errno to only check for error numbers that are defined by Standard C.Brett Cannon2008-03-181-50/+4
|
* Remove all traces of HAVE_STRERROR.Brett Cannon2008-03-185-31/+2
| | | | | The removal of strerror.c led to the function check being removed from configure.in.
* Include <alloca.h> on Solaris, see issue #1506.Thomas Heller2008-03-181-0/+4
| | | | | It would probably be better to have a configure test for that, but this is outside of my configure expertise.
* Note that the stderr output of the test is intentional.Martin v. Löwis2008-03-181-0/+2
|
* Add WSA errors.Martin v. Löwis2008-03-181-1/+19
|
* Add more Linux error codes.Martin v. Löwis2008-03-181-5/+5
|
* norwitz-amd64 (gentoo) has EREMOTEIO.Martin v. Löwis2008-03-181-1/+1
|
* The behaviour of winsound.Beep() seems to differ between different versions ↵Trent Nelson2008-03-181-2/+10
| | | | | | | | | of Windows when there's either: a) no sound card entirely b) legacy beep driver has been disabled c) the legacy beep driver has been uninstalled Sometimes RuntimeErrors are raised, sometimes they're not. If _have_soundcard() returns False, don't expect winsound.Beep() to raise a RuntimeError, as this clearly isn't the case, as demonstrated by the various Win32 XP buildbots.
* Issue 2286: bump up the stack size of the 64-bit debug python_d.exe to ↵Trent Nelson2008-03-181-1/+1
| | | | 2100000. The default value of 200000 causes a stack overflow at 1965 iterations of r_object() in marshal.c, 35 iterations before the 2000 limit enforced by MAX_MARSHAL_STACK_DEPTH.
* Add some info to the failure messagesNeal Norwitz2008-03-181-2/+3
|
* Add a -S/--slow flag to regrtest to have it print the 10 slowest tests withJeffrey Yasskin2008-03-181-19/+35
| | | | their times.
* Improve the error message for a test that failed on the S-390 Debian buildbot.Brett Cannon2008-03-181-1/+2
|
* Try increasing the timeout to reduce the flakiness of this test.Neal Norwitz2008-03-181-4/+4
|
* Speed up test_dict by about 10x by only checking selected dict literal sizes,Jeffrey Yasskin2008-03-181-4/+6
| | | | | instead of every integer from 0 to 400. Exhaustive testing wastes time without providing enough more assurance that the code is correct.
* Speed test_thread up from 51.328s to 0.081s by reducing its sleep times. WeJeffrey Yasskin2008-03-181-6/+10
| | | | | still sleep at all to make it likely that all threads are active at the same time.