summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Issue 2332: add new attribute names for instance method objectsNeal Norwitz2008-03-182-0/+7
|
* Finish backporting new buffer API to Python 2.6. Left to do: memoryview ↵Travis E. Oliphant2008-03-185-3/+380
| | | | object and structmodule. But, these need to be finished in Python 3.0 first. No objects support the new buffer API in Python 2.6 as of yet, and except for the memoryview object, I don't think they will.
* - Issue 2379: Raise a Py3K warning for __getitem__ or __getslice__ onGuido van Rossum2008-03-182-0/+15
| | | | exception instances.
* Block the "socket.ssl() is deprecated" warning from test_socket_ssl.Jeffrey Yasskin2008-03-181-0/+6
|
* Issue #2341: Add a Py3k warning when raising an exception that doesn'tGuido van Rossum2008-03-182-1/+11
| | | | derive from BaseException.
* The output directory for tests that compare against stdout is now gone!Brett Cannon2008-03-182-35/+5
|
* Remove our implementation of memmove() and strerror(); both are in the C89Brett Cannon2008-03-186-52/+105
| | | | standard library.
* test_errno was a no-op test; now it actually tests things and uses unittest.Brett Cannon2008-03-182-15/+34
|
* Clean up the Py3k warnings for non-BaseException-subclasses a bit. WeGuido van Rossum2008-03-181-4/+6
| | | | | now don't warn for some corner cases that deserve a warning, rather than warning double or incorrectly for some other corner cases.
* - Issue #2371: Add a Py3k warning when catching an exception thatGuido van Rossum2008-03-183-0/+31
| | | | doesn't derive from BaseException.