summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* - 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.
* Move test_extcall to doctest.Brett Cannon2008-03-183-401/+264
|
* Convert test_dummy_threading and test_dbm to unittest.Brett Cannon2008-03-183-114/+87
|
* Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster.Jeffrey Yasskin2008-03-182-2/+2
|
* Convert test_strftime, test_getargs, and test_pep247 to use unittest.Brett Cannon2008-03-184-198/+250
|
* Fix the IOError message text when opening a file with an invalid filename.Gregory P. Smith2008-03-181-2/+5
| | | | Error reported by Ilan Schnell.
* Add David Wolever.Martin v. Löwis2008-03-171-0/+3
|
* Issue 2321: reduce memory usage (increase the memory that is returnedNeal Norwitz2008-03-172-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 Smith2008-03-173-4/+17
|
* Document unicode.isnumeric() and unicode.isdecimal() (issue2326)Steven Bethard2008-03-171-0/+16
|
* Use a buffer large enough to ensure we don't overrun, even if the valueNeal Norwitz2008-03-171-1/+1
| | | | is outside the range we expect.
* Force zlib.crc32 and zlib.adler32 to return a signed integer on all platformsGregory P. Smith2008-03-174-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.6Travis E. Oliphant2008-03-173-0/+173
|
* Finished backporting PEP 3127, Integer Literal Support and Syntax.Eric Smith2008-03-177-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öwis2008-03-171-0/+3
|
* Make isinstance(OldstyleClass, NewstyleClass) return False instead of raisingJeffrey Yasskin2008-03-172-5/+16
| | | | an exception. Issue reported by Joseph Armbruster.
* Allow Gnu gcc's to build python on OSX by removing -Wno-long-double,Jeffrey Yasskin2008-03-173-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 Smith2008-03-171-8/+12
| | | | Deleted unused macro ISXDIGIT.
* Issue 2264: empty float presentation type needs to have at least one digit ↵Eric Smith2008-03-173-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 encodingMark Summerfield2008-03-173-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 Sajip2008-03-161-1/+2
|
* #2299: typos in newtypes.rst.Georg Brandl2008-03-161-3/+3
|
* Update docs to reflect removal of Exact/InexactRaymond Hettinger2008-03-161-26/+4
|
* Handle memory allocation failure. Found by Adam OlsenNeal Norwitz2008-03-151-2/+3
|
* Add a warning for code like:Neal Norwitz2008-03-152-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 Hettinger2008-03-151-1/+1
|
* Removed Exact/Inexact after discussion with Yasskin.Raymond Hettinger2008-03-152-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 Montanaro2008-03-151-0/+4
|
* add %f format to datetime - issue 1158Skip Montanaro2008-03-156-80/+181
|
* note that fork and forkpty raise OSError on failureSkip Montanaro2008-03-151-2/+4
|
* Fix lots of broken links in the docs, found by Sphinx' external link checker.Georg Brandl2008-03-1527-65/+45
|
* Remove obsolete paragraph. #2288.Georg Brandl2008-03-141-4/+0
|
* Run debug version, cd to PCbuild.Martin v. Löwis2008-03-141-2/+2
|
* Remove unneeded initializer.Thomas Heller2008-03-141-1/+1
|
* Issue 705836: Fix struct.pack(">f", 1e40) to behave consistentlyMark Dickinson2008-03-143-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 Cannon2008-03-141-1/+0
|
* Use -x64 flag.Martin v. Löwis2008-03-141-2/+2
|
* Patch #2284: add -x64 option to rt.bat.Martin v. Löwis2008-03-142-4/+14
|
* Leave heapreplace() unchanged.Raymond Hettinger2008-03-141-5/+0
|
* Convert test_fcntl to unittest.Brett Cannon2008-03-132-63/+85
| | | | Closes issue #2055. Thanks Giampaolo Rodola.
* Move test_gdbm to use unittest.Brett Cannon2008-03-133-42/+82
| | | | Closes issue #1960. Thanks Giampaolo Rodola.
* Convert test_contains, test_crypt, and test_select to unittest.Brett Cannon2008-03-134-77/+68
| | | | Patch from GHOP 294 by David Marek.
* Move test_tokenize to doctest.Brett Cannon2008-03-134-845/+501
| | | | Done as GHOP 238 by Josip Dzolonga.