Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - 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. | |||||
* | Move test_extcall to doctest. | Brett Cannon | 2008-03-18 | 3 | -401/+264 | |
| | ||||||
* | Convert test_dummy_threading and test_dbm to unittest. | Brett Cannon | 2008-03-18 | 3 | -114/+87 | |
| | ||||||
* | Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster. | Jeffrey Yasskin | 2008-03-18 | 2 | -2/+2 | |
| | ||||||
* | Convert test_strftime, test_getargs, and test_pep247 to use unittest. | Brett Cannon | 2008-03-18 | 4 | -198/+250 | |
| | ||||||
* | Fix the IOError message text when opening a file with an invalid filename. | Gregory P. Smith | 2008-03-18 | 1 | -2/+5 | |
| | | | | Error reported by Ilan Schnell. | |||||
* | Add David Wolever. | Martin v. Löwis | 2008-03-17 | 1 | -0/+3 | |
| | ||||||
* | Issue 2321: reduce memory usage (increase the memory that is returned | Neal Norwitz | 2008-03-17 | 2 | -17/+24 | |
| | | | | | | to the system) by using pymalloc for the data of unicode objects. Will backport. | |||||
* | Added PEP 3127 support to tokenize (with tests); added PEP 3127 to NEWS. | Eric Smith | 2008-03-17 | 3 | -4/+17 | |
| | ||||||
* | Document unicode.isnumeric() and unicode.isdecimal() (issue2326) | Steven Bethard | 2008-03-17 | 1 | -0/+16 | |
| | ||||||
* | Use a buffer large enough to ensure we don't overrun, even if the value | Neal Norwitz | 2008-03-17 | 1 | -1/+1 | |
| | | | | is outside the range we expect. | |||||
* | Force zlib.crc32 and zlib.adler32 to return a signed integer on all platforms | Gregory P. Smith | 2008-03-17 | 4 | -8/+42 | |
| | | | | | | | | | regardless of the native sizeof(long) used in the integer object. This somewhat odd behavior of returning a signed is maintained in 2.x for compatibility reasons of always returning an integer rather than a long object. Fixes Issue1202 for Python 2.6 | |||||
* | Add necessary headers to back-port new buffer protocol to Python 2.6 | Travis E. Oliphant | 2008-03-17 | 3 | -0/+173 | |
| | ||||||
* | Finished backporting PEP 3127, Integer Literal Support and Syntax. | Eric Smith | 2008-03-17 | 7 | -125/+336 | |
| | | | | | | | | Added 0b and 0o literals to tokenizer. Modified PyOS_strtoul to support 0b and 0o inputs. Modified PyLong_FromString to support guessing 0b and 0o inputs. Renamed test_hexoct.py to test_int_literal.py and added binary tests. Added upper and lower case 0b, 0O, and 0X tests to test_int_literal.py | |||||
* | Add Trent Nelson. | Martin v. Löwis | 2008-03-17 | 1 | -0/+3 | |
| | ||||||
* | Make isinstance(OldstyleClass, NewstyleClass) return False instead of raising | Jeffrey Yasskin | 2008-03-17 | 2 | -5/+16 | |
| | | | | an exception. Issue reported by Joseph Armbruster. | |||||
* | Allow Gnu gcc's to build python on OSX by removing -Wno-long-double, | Jeffrey Yasskin | 2008-03-17 | 3 | -3/+9 | |
| | | | | | | | | | | | | | | -no-cpp-precomp, and -mno-fused-madd from configure. * r22183 added -no-cpp-precomp, which http://gcc.gnu.org/ml/gcc/2005-12/msg00368.html claims hasn't been needed since gcc-3.1. * r25607 added -Wno-long-double to avoid a warning in Include/objimpl.h (issue 525481). The long double is still there, but OSX 10.4's gcc no longer warns about it. * r33666 fixed issue 775892 on OSX 10.3 by adding -mno-fused-madd, which changed the sign of some float 0s. Tim Peters said it wasn't a real issue anyway, and it no longer causes test failures. Fixes issue #1779871. | |||||
* | Reformated lines > 79 chars. | Eric Smith | 2008-03-17 | 1 | -8/+12 | |
| | | | | Deleted unused macro ISXDIGIT. | |||||
* | Issue 2264: empty float presentation type needs to have at least one digit ↵ | Eric Smith | 2008-03-17 | 3 | -18/+76 | |
| | | | | | | | | | past the decimal point. Added "Z" format_char to PyOS_ascii_formatd to support empty float presentation type. Renamed buf_size in PyOS_ascii_formatd to more accurately reflect it's meaning. Modified format.__float__ to use the new "Z" format as the default. Added test cases. | |||||
* | Added a footnote to each pointing out that for XML output if an encoding | Mark Summerfield | 2008-03-17 | 3 | -5/+29 | |
| | | | | | string is given it should conform to the appropriate XML standards---for example, "UTF-8" is okay, but "UTF8" is not. | |||||
* | Clarified documentation on use of shutdown(). | Vinay Sajip | 2008-03-16 | 1 | -1/+2 | |
| | ||||||
* | #2299: typos in newtypes.rst. | Georg Brandl | 2008-03-16 | 1 | -3/+3 | |
| | ||||||
* | Update docs to reflect removal of Exact/Inexact | Raymond Hettinger | 2008-03-16 | 1 | -26/+4 | |
| | ||||||
* | Handle memory allocation failure. Found by Adam Olsen | Neal Norwitz | 2008-03-15 | 1 | -2/+3 | |
| | ||||||
* | Add a warning for code like: | Neal Norwitz | 2008-03-15 | 2 | -0/+10 | |
| | | | | | | | | | | assert (0, 'message') An empty tuple does not create a warning. While questionable usage: assert (), 'message' should not display a warning. Tested manually. The warning message could be improved. Feel free to update it. | |||||
* | Zap one more use of Exact/Inexact. | Raymond Hettinger | 2008-03-15 | 1 | -1/+1 | |
| | ||||||
* | Removed Exact/Inexact after discussion with Yasskin. | Raymond Hettinger | 2008-03-15 | 2 | -63/+4 | |
| | | | | | | | | | | | | | | | Unlike Scheme where exactness is implemented as taints, the Python implementation associated exactness with data types. This created inheritance issues (making an exact subclass of floats would result in the subclass having both an explicit Exact registration and an inherited Inexact registration). This was a problem for the decimal module which was designed to span both exact and inexact arithmetic. There was also a question of use cases and no examples were found where ABCs for exactness could be used to improve code. One other issue was having separate tags for both the affirmative and negative cases. This is at odds with the approach taken elsewhere in the Python (i.e. we don't have an ABC both Hashable and Unhashable). | |||||
* | . | Skip Montanaro | 2008-03-15 | 1 | -0/+4 | |
| | ||||||
* | add %f format to datetime - issue 1158 | Skip Montanaro | 2008-03-15 | 6 | -80/+181 | |
| | ||||||
* | note that fork and forkpty raise OSError on failure | Skip Montanaro | 2008-03-15 | 1 | -2/+4 | |
| | ||||||
* | Fix lots of broken links in the docs, found by Sphinx' external link checker. | Georg Brandl | 2008-03-15 | 27 | -65/+45 | |
| | ||||||
* | Remove obsolete paragraph. #2288. | Georg Brandl | 2008-03-14 | 1 | -4/+0 | |
| | ||||||
* | Run debug version, cd to PCbuild. | Martin v. Löwis | 2008-03-14 | 1 | -2/+2 | |
| | ||||||
* | Remove unneeded initializer. | Thomas Heller | 2008-03-14 | 1 | -1/+1 | |
| | ||||||
* | Issue 705836: Fix struct.pack(">f", 1e40) to behave consistently | Mark Dickinson | 2008-03-14 | 3 | -9/+13 | |
| | | | | | | | | | | across platforms: it should now raise OverflowError on all platforms. (Previously it raised OverflowError only on non IEEE 754 platforms.) Also fix the (already existing) test for this behaviour so that it actually raises TestFailed instead of just referencing it. | |||||
* | Remove a bad test. | Brett Cannon | 2008-03-14 | 1 | -1/+0 | |
| | ||||||
* | Use -x64 flag. | Martin v. Löwis | 2008-03-14 | 1 | -2/+2 | |
| | ||||||
* | Patch #2284: add -x64 option to rt.bat. | Martin v. Löwis | 2008-03-14 | 2 | -4/+14 | |
| | ||||||
* | Leave heapreplace() unchanged. | Raymond Hettinger | 2008-03-14 | 1 | -5/+0 | |
| | ||||||
* | Convert test_fcntl to unittest. | Brett Cannon | 2008-03-13 | 2 | -63/+85 | |
| | | | | Closes issue #2055. Thanks Giampaolo Rodola. | |||||
* | Move test_gdbm to use unittest. | Brett Cannon | 2008-03-13 | 3 | -42/+82 | |
| | | | | Closes issue #1960. Thanks Giampaolo Rodola. | |||||
* | Convert test_contains, test_crypt, and test_select to unittest. | Brett Cannon | 2008-03-13 | 4 | -77/+68 | |
| | | | | Patch from GHOP 294 by David Marek. | |||||
* | Move test_tokenize to doctest. | Brett Cannon | 2008-03-13 | 4 | -845/+501 | |
| | | | | Done as GHOP 238 by Josip Dzolonga. |