Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move test.test_support.catch_warning() to the warnings module, rename it | Brett Cannon | 2008-09-02 | 2 | -99/+42 |
| | | | | | | | | | | | catch_warnings(), and clean up the API. While expanding the test suite, a bug was found where a warning about the 'line' argument to showwarning() was not letting functions with '*args' go without a warning. Closes issue 3602. Code review by Benjamin Peterson. | ||||
* | remove py3k warnings about the threading api; update docs | Benjamin Peterson | 2008-09-01 | 1 | -35/+0 |
| | | | | Reviewer: Benjamin Peterson | ||||
* | Issue #3751: str.rpartition would perform a left-partition when called with | Amaury Forgeot d'Arc | 2008-09-01 | 1 | -0/+5 |
| | | | | | | a unicode argument. will backport. | ||||
* | #3703 unhelpful _fileio.FileIO error message when trying to open a directory | Benjamin Peterson | 2008-09-01 | 1 | -0/+11 |
| | | | | Reviewer: Gregory P. Smith | ||||
* | A collection of crashers, all variants of the idea | Armin Rigo | 2008-08-29 | 1 | -0/+53 |
| | | | | of issue #3720. | ||||
* | Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to | Antoine Pitrou | 2008-08-26 | 3 | -6/+62 |
| | | | | | | | | | | match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the process, fix a bug where isinstance() and issubclass(), when given a tuple of classes as second argument, were looking up __instancecheck__ / __subclasscheck__ on the tuple rather than on each type object. Reviewed by Benjamin Peterson and Raymond Hettinger. | ||||
* | Try to reduce the flakiness of this test | Neal Norwitz | 2008-08-25 | 1 | -0/+4 |
| | |||||
* | Use bytes as return type from recv_bytes() methods. Not sure why this only | Neal Norwitz | 2008-08-25 | 1 | -3/+3 |
| | | | | | | | affects some buildbots. R=Brett TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing | ||||
* | Fix problem reported by pychecker where AuthenticationError wasn't imported. | Neal Norwitz | 2008-08-25 | 1 | -1/+33 |
| | | | | | | | Add some test coverage to this code. More tests should be added (TODO added). R=Brett TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing | ||||
* | #3662: Fix segfault introduced when fixing memory leaks. | Neal Norwitz | 2008-08-24 | 1 | -0/+4 |
| | | | | | TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio R (approach from bug)=Amaury and Benjamin | ||||
* | #3654: fix duplicate test method name. Review by Benjamin P. | Georg Brandl | 2008-08-24 | 1 | -4/+2 |
| | |||||
* | generate py3k warnings on __getslice__, __delslice__, and __setslice__ | Benjamin Peterson | 2008-08-24 | 1 | -0/+22 |
| | | | | Reviewer: Brett Cannon | ||||
* | Fix bug 3625: test issues on 64bit windows. r=pitrou | Mark Hammond | 2008-08-23 | 3 | -3/+3 |
| | |||||
* | Fix float.fromhex test to give additional information on failure. This | Mark Dickinson | 2008-08-21 | 1 | -1/+7 |
| | | | | | | change is aimed at diagnosing issue 3633 (test_float fails on Solaris). Reviewed by Benjamin Peterson | ||||
* | Reverted r65900. See ↵ | Hirokazu Yamamoto | 2008-08-20 | 1 | -7/+3 |
| | | | | http://mail.python.org/pipermail/python-checkins/2008-August/073116.html | ||||
* | fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on ↵ | Hirokazu Yamamoto | 2008-08-20 | 1 | -5/+8 |
| | | | | trunk) | ||||
* | deprecate some useless, noop methods in symtable | Benjamin Peterson | 2008-08-20 | 1 | -0/+16 |
| | |||||
* | follow-up of issue3473: update the compiler package to recognize the new syntax. | Amaury Forgeot d'Arc | 2008-08-20 | 1 | -0/+9 |
| | |||||
* | check that the parser module can handle the new keyword syntax | Benjamin Peterson | 2008-08-19 | 1 | -0/+1 |
| | |||||
* | allow keyword args to be passed in after *args #3473 | Benjamin Peterson | 2008-08-19 | 1 | -0/+8 |
| | |||||
* | issue3352: clean up the multiprocessing API to remove many get_/set_ methods ↵ | Jesse Noller | 2008-08-19 | 1 | -32/+26 |
| | | | | and convert them to properties. Update the docs and the examples included. | ||||
* | add py3k warnings for old threading APIs | Benjamin Peterson | 2008-08-18 | 1 | -0/+34 |
| | | | | they will still live in 3.0 but it can't hurt | ||||
* | fix old API names in test_ssl | Benjamin Peterson | 2008-08-18 | 1 | -4/+4 |
| | |||||
* | patch up multiprocessing until it's API can be changed too | Benjamin Peterson | 2008-08-18 | 1 | -2/+8 |
| | |||||
* | change a few uses of the threading APIs | Benjamin Peterson | 2008-08-18 | 3 | -6/+6 |
| | |||||
* | backport threading property changes | Benjamin Peterson | 2008-08-18 | 1 | -6/+6 |
| | |||||
* | change threading.getIdent to a property | Benjamin Peterson | 2008-08-18 | 1 | -2/+2 |
| | | | | This is new in 2.6 so now need to worry about backwards compatibility :) | ||||
* | add a test for reduce's move | Benjamin Peterson | 2008-08-18 | 1 | -0/+6 |
| | |||||
* | #3580: fix a failure in test_os | Antoine Pitrou | 2008-08-17 | 1 | -1/+1 |
| | |||||
* | get the symtable module back in working order | Benjamin Peterson | 2008-08-17 | 1 | -20/+160 |
| | | | | | | - Fix broken functions - Add (hopefully) extensive tests - Modernize a little | ||||
* | #3556: test_raiseMemError consumes an insane amount of memory | Antoine Pitrou | 2008-08-17 | 1 | -8/+3 |
| | |||||
* | backport r65723: strengthen test_os.test_closerange | Antoine Pitrou | 2008-08-17 | 1 | -3/+21 |
| | |||||
* | Make test_ossaudiodev work. | Antoine Pitrou | 2008-08-17 | 1 | -2/+2 |
| | |||||
* | include filename and line number in SyntaxError | Benjamin Peterson | 2008-08-16 | 1 | -1/+1 |
| | |||||
* | Issue #2776: fixed small issue when handling an URL with double slash | Facundo Batista | 2008-08-16 | 1 | -0/+26 |
| | | | | after a 302 response in the case of not going through a proxy. | ||||
* | Issue #3476: make BufferedReader and BufferedWriter thread-safe | Antoine Pitrou | 2008-08-14 | 1 | -1/+78 |
| | |||||
* | Issue 1432. Fixes a bug caused because of the evolution | Facundo Batista | 2008-08-14 | 1 | -2/+9 |
| | | | | | of the RFC that describes the behaviour. Note that we now have the same behaviour than the current browsers. | ||||
* | remove duplicate close() from ssl.py; expose unwrap and add test for it | Bill Janssen | 2008-08-12 | 1 | -2/+17 |
| | |||||
* | Issue 2235: Py3k warnings are now emitted for classes that will no longer ↵ | Nick Coghlan | 2008-08-11 | 11 | -18/+114 |
| | | | | inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings. | ||||
* | - Issue #3537: Fix an assertion failure when an empty but presized dict | Georg Brandl | 2008-08-11 | 1 | -0/+11 |
| | | | | object was stored in the freelist. | ||||
* | Copy reduce() to _functools so to have functools.reduce() not raise a warning | Brett Cannon | 2008-08-09 | 1 | -1/+44 |
| | | | | from usage under -3. | ||||
* | accept issue 3436 | Skip Montanaro | 2008-08-08 | 1 | -0/+33 |
| | |||||
* | Add imp.reload(). This to help with transitioning to 3.0 the reload() built-in | Brett Cannon | 2008-08-06 | 1 | -0/+19 |
| | | | | has been removed there. | ||||
* | Remove duplicate import | Mark Dickinson | 2008-08-06 | 1 | -1/+0 |
| | |||||
* | Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, ↵ | Andrew M. Kuchling | 2008-08-05 | 1 | -6/+29 |
| | | | | check for having os.stat available | ||||
* | Issue #1481296: (again!) Make conversion of a float NaN to an int or | Mark Dickinson | 2008-08-04 | 1 | -1/+2 |
| | | | | | | | long raise ValueError instead of returning 0. Also, change the error message for conversion of an infinity to an integer, replacing 'long' by 'integer', so that it's appropriate for both long(float('inf')) and int(float('inf')). | ||||
* | Bug 3228: Explicitly supply the file mode to avoid creating executable files, | Andrew M. Kuchling | 2008-08-04 | 1 | -1/+27 |
| | | | | | and add corresponding tests. Possible 2.5 backport candidate | ||||
* | Preemptively backport the relevant parts of r65420 | Antoine Pitrou | 2008-08-02 | 1 | -0/+3 |
| | |||||
* | Correct a crash when two successive unicode allocations fail with a MemoryError: | Amaury Forgeot d'Arc | 2008-07-31 | 1 | -0/+14 |
| | | | | | | | | | the freelist contained half-initialized objects with freed pointers. The comment /* XXX UNREF/NEWREF interface should be more symmetrical */ was copied from tupleobject.c, and appears in some other places. I sign the petition. | ||||
* | Remove a dummy test that was checked in by mistake | Amaury Forgeot d'Arc | 2008-07-31 | 1 | -8/+0 |
| |