Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added my name to ACKS | David Wolever | 2008-03-19 | 1 | -0/+1 | |
| | ||||||
* | Fixed compiler module so __future__ print_function is compilable. | Eric Smith | 2008-03-19 | 3 | -2/+5 | |
| | ||||||
* | Use zlib's crc32 routine instead of binascii when available. zlib's is faster | Gregory P. Smith | 2008-03-19 | 1 | -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. Smith | 2008-03-19 | 2 | -0/+7 | |
| | | | | Some people look for them in hashlib. | |||||
* | Add Jeff Rush | Andrew M. Kuchling | 2008-03-19 | 1 | -0/+2 | |
| | ||||||
* | Backport of the print function, using a __future__ import. | Eric Smith | 2008-03-18 | 13 | -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 Hettinger | 2008-03-18 | 1 | -0/+5 | |
| | ||||||
* | Speed-up isinstance() for one easy case. | Raymond Hettinger | 2008-03-18 | 1 | -0/+5 | |
| | ||||||
* | Add a test to make sure zlib.crc32 and binascii.crc32 return the same thing. | Gregory P. Smith | 2008-03-18 | 2 | -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 Bethard | 2008-03-18 | 3 | -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 Bethard | 2008-03-18 | 1 | -0/+8 | |
| | ||||||
* | Added a warning when -3 is enabled and None is passed to filter as the first ↵ | David Wolever | 2008-03-18 | 1 | -0/+7 | |
| | | | | argument. | |||||
* | Ignore BIG5HKSCS-2004.TXT which is downloaded as part of a test. | Brett Cannon | 2008-03-18 | 0 | -0/+0 | |
| | ||||||
* | news entry for the chown fix | Gregory P. Smith | 2008-03-18 | 1 | -0/+3 | |
| | ||||||
* | Import the test properly. This is especially important for py3k. | Neal Norwitz | 2008-03-18 | 1 | -1/+1 | |
| | ||||||
* | Fix test_atexit so that it still passes when -3 is supplied. (It was ↵ | Steven Bethard | 2008-03-18 | 1 | -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) as | Gregory P. Smith | 2008-03-18 | 2 | -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 Bethard | 2008-03-18 | 1 | -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 Bethard | 2008-03-18 | 1 | -1/+1 | |
| | ||||||
* | Get regrtest working when re-running tests | Neal Norwitz | 2008-03-18 | 1 | -2/+2 | |
| | ||||||
* | Add py3k warnings for object, type, cell and dict comparisons. This should ↵ | Steven Bethard | 2008-03-18 | 6 | -3/+166 | |
| | | | | resolve issue2342 and partly resolve issue2373. | |||||
* | Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script does | Brett Cannon | 2008-03-18 | 3 | -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 a | Sean Reifscheider | 2008-03-18 | 3 | -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 warnings | Brett Cannon | 2008-03-18 | 1 | -1/+2 | |
| | | | | on OS X. | |||||
* | Use test_support.unlink instead of os.unlink in tearDown(). (Seems to fix ↵ | Steven Bethard | 2008-03-18 | 1 | -1/+1 | |
| | | | | an occasional failure in Windows Vista.) | |||||
* | Fix test_errno to only check for error numbers that are defined by Standard C. | Brett Cannon | 2008-03-18 | 1 | -50/+4 | |
| | ||||||
* | Remove all traces of HAVE_STRERROR. | Brett Cannon | 2008-03-18 | 5 | -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 Heller | 2008-03-18 | 1 | -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öwis | 2008-03-18 | 1 | -0/+2 | |
| | ||||||
* | Add WSA errors. | Martin v. Löwis | 2008-03-18 | 1 | -1/+19 | |
| | ||||||
* | Add more Linux error codes. | Martin v. Löwis | 2008-03-18 | 1 | -5/+5 | |
| | ||||||
* | norwitz-amd64 (gentoo) has EREMOTEIO. | Martin v. Löwis | 2008-03-18 | 1 | -1/+1 | |
| | ||||||
* | The behaviour of winsound.Beep() seems to differ between different versions ↵ | Trent Nelson | 2008-03-18 | 1 | -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 Nelson | 2008-03-18 | 1 | -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 messages | Neal Norwitz | 2008-03-18 | 1 | -2/+3 | |
| | ||||||
* | Add a -S/--slow flag to regrtest to have it print the 10 slowest tests with | Jeffrey Yasskin | 2008-03-18 | 1 | -19/+35 | |
| | | | | their times. | |||||
* | Improve the error message for a test that failed on the S-390 Debian buildbot. | Brett Cannon | 2008-03-18 | 1 | -1/+2 | |
| | ||||||
* | Try increasing the timeout to reduce the flakiness of this test. | Neal Norwitz | 2008-03-18 | 1 | -4/+4 | |
| | ||||||
* | Speed up test_dict by about 10x by only checking selected dict literal sizes, | Jeffrey Yasskin | 2008-03-18 | 1 | -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. We | Jeffrey Yasskin | 2008-03-18 | 1 | -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 objects | Neal Norwitz | 2008-03-18 | 2 | -0/+7 | |
| | ||||||
* | Finish backporting new buffer API to Python 2.6. Left to do: memoryview ↵ | Travis E. Oliphant | 2008-03-18 | 5 | -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__ on | Guido van Rossum | 2008-03-18 | 2 | -0/+15 | |
| | | | | exception instances. | |||||
* | Block the "socket.ssl() is deprecated" warning from test_socket_ssl. | Jeffrey Yasskin | 2008-03-18 | 1 | -0/+6 | |
| | ||||||
* | Issue #2341: Add a Py3k warning when raising an exception that doesn't | Guido van Rossum | 2008-03-18 | 2 | -1/+11 | |
| | | | | derive from BaseException. | |||||
* | The output directory for tests that compare against stdout is now gone! | Brett Cannon | 2008-03-18 | 2 | -35/+5 | |
| | ||||||
* | Remove our implementation of memmove() and strerror(); both are in the C89 | Brett Cannon | 2008-03-18 | 6 | -52/+105 | |
| | | | | standard library. | |||||
* | test_errno was a no-op test; now it actually tests things and uses unittest. | Brett Cannon | 2008-03-18 | 2 | -15/+34 | |
| | ||||||
* | Clean up the Py3k warnings for non-BaseException-subclasses a bit. We | Guido van Rossum | 2008-03-18 | 1 | -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 that | Guido van Rossum | 2008-03-18 | 3 | -0/+31 | |
| | | | | doesn't derive from BaseException. |