Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | as is a keyword now :-) | Neal Norwitz | 2006-03-17 | 1 | -7/+7 |
| | |||||
* | Get rid of xreadlines() (methods). | Neal Norwitz | 2006-03-17 | 3 | -11/+3 |
| | |||||
* | Remove apply() | Neal Norwitz | 2006-03-17 | 2 | -33/+0 |
| | |||||
* | Get rid of a bunch more raw_input references | Neal Norwitz | 2006-03-17 | 1 | -2/+2 |
| | |||||
* | Whoops, input *and* raw_input are slated for removal, and now both are gone. | Neal Norwitz | 2006-03-17 | 1 | -31/+0 |
| | |||||
* | raw_input() -> input(). old input behavior is history (and test_builtin ↵ | Neal Norwitz | 2006-03-17 | 1 | -22/+9 |
| | | | | passes again). It was failing due to future division. | ||||
* | Checkpoint. 218 tests are okay; 53 are failing. Done so far: | Guido van Rossum | 2006-03-15 | 1 | -4/+4 |
| | | | | | | | | - all classes are new-style (but ripping out classobject.[ch] isn't done) - int/int -> float - all exceptions must derive from BaseException - absolute import - 'as' and 'with' are keywords | ||||
* | Fix SF bug #1448804 and ad a test to ensure that all subscript operations ↵ | Nick Coghlan | 2006-03-13 | 1 | -0/+72 |
| | | | | continue to be handled correctly | ||||
* | Bug #1448490: Fix a bug that ISO-2022 codecs could not handle | Hye-Shik Chang | 2006-03-13 | 1 | -0/+7 |
| | | | | SS2 (single-shift 2) escape sequences correctly. | ||||
* | Whitespace normalization. | Tim Peters | 2006-03-10 | 1 | -2/+2 |
| | |||||
* | When the new -w option (yay! great idea) reruns a | Tim Peters | 2006-03-10 | 1 | -0/+2 |
| | | | | | | failed test, first display the name of the test (else it's not always clear from the output which test is getting run). | ||||
* | Add regrtest -w option. | Martin v. Löwis | 2006-03-10 | 1 | -3/+20 |
| | |||||
* | Update test data to 4.1; disable PRI #29 for now. | Martin v. Löwis | 2006-03-10 | 1 | -4/+15 |
| | |||||
* | Um, I thought I'd already checked this in. | Guido van Rossum | 2006-03-10 | 1 | -10/+22 |
| | | | | | | | Anyway, this is the changes to the with-statement so that __exit__ must return a true value in order for a pending exception to be ignored. The PEP (343) is already updated. | ||||
* | Update Unicode database to Unicode 4.1. | Martin v. Löwis | 2006-03-09 | 1 | -2/+2 |
| | |||||
* | Bug #1442874: handle "<!>", the empty SGML comment | Georg Brandl | 2006-03-09 | 1 | -1/+1 |
| | |||||
* | Replace the trivial ctypes test (did only an import) with the real test suite. | Thomas Heller | 2006-03-09 | 1 | -3/+11 |
| | |||||
* | Try to be a bit more consistent on all platforms: | Neal Norwitz | 2006-03-09 | 1 | -13/+2 |
| | | | | | | | python . python < . both print a message, return non-zero and do not core dump. | ||||
* | Whitespace normalization. | Tim Peters | 2006-03-09 | 1 | -1/+1 |
| | |||||
* | Trivial test for ctypes, more to come | Thomas Heller | 2006-03-08 | 1 | -0/+4 |
| | |||||
* | Patch #1434038: property() now uses the getter's docstring if there is | Georg Brandl | 2006-03-08 | 1 | -0/+12 |
| | | | | | no "doc" argument given. This makes it possible to legitimately use property() as a decorator to produce a read-only property. | ||||
* | _hotshot hotshot_profiler(): If write_header() returned | Tim Peters | 2006-03-07 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | an error code, this let `self` leak. This is a disaster on Windows, since `self` already points to a newly-opened file object, and it was impossible for Python code to close the thing since the only reference to it was in a blob of leaked C memory. test_hotshot test_bad_sys_path(): This new test provoked the C bug above. This test passed, but left an open "@test" file behind, which caused a massive cascade of bogus test failures in later, unrelated tests on Windows. Changed the test code to remove the @test file it leaves behind, which relies on the change above to close that file first. | ||||
* | Checking in the code for PEP 357. | Guido van Rossum | 2006-03-07 | 1 | -0/+0 |
| | | | | | | This was mostly written by Travis Oliphant. I've inspected it all; Neal Norwitz and MvL have also looked at it (in an earlier incarnation). | ||||
* | SF patch #1443865; gc.get_count() added and optional argument 'generation' | Barry Warsaw | 2006-03-07 | 1 | -0/+18 |
| | | | | | | added to gc.collect(). Updated docs, unit test, and NEWS entry. (Also, fixed a typo in NEWS.) | ||||
* | Thanks to Coverity, these were all reported by their Prevent tool. | Neal Norwitz | 2006-03-07 | 1 | -0/+13 |
| | | | | | All of these (except _lsprof.c) should be backported. Particularly the hotshot change which validates sys.path. Can someone backport? | ||||
* | If size is specified, try to read at least size characters. | Walter Dörwald | 2006-03-06 | 1 | -5/+9 |
| | | | | This is a alternative version of patch #1379332. | ||||
* | Backout the last hack and add in this new one. | Neal Norwitz | 2006-03-05 | 1 | -14/+8 |
| | | | | | | | | | | | | | | | The failure definitely seems timing related. This change *seems* to work. Since the failure isn't doesn't occur consistently, it's hard to tell. Running these tests on Solaris in this order: test_urllibnet test_operator test_cgi \ test_isinstance test_future test_ast test_logging generally caused a failure (about 50% of the time) before the sleep. I couldn't provoke the failure with the sleep. This should really be cleaned up by using threading.Events or something so it is not timing dependent and doesn't hang forever on failure. | ||||
* | Oops, urllib may or may not already be loaded. | Neal Norwitz | 2006-03-04 | 1 | -1/+4 |
| | |||||
* | Fix spurious test failure of test_socket_ssl when run in this order: | Neal Norwitz | 2006-03-04 | 1 | -0/+4 |
| | | | | | | | test_codecmaps_tw test_importhooks test_socket_ssl I don't completely understand the cause, but there's a lot of import magic going on and this is the smallest change which fixes the problem. | ||||
* | Remove test for timing (already not built since commented out in setup.py). | Neal Norwitz | 2006-03-04 | 1 | -21/+0 |
| | | | | Add note to NEWS. | ||||
* | I think the test_logging failure on Solaris is timing related. We don't | Neal Norwitz | 2006-03-03 | 1 | -5/+14 |
| | | | | | | | want to wait forever if we don't receive the last message. But we also don't want the test to fail if we shutdown too quickly. I can't reliably reproduce this failure, so I'm kinda guessing this is the problem. We'll see if this band-aid helps. | ||||
* | SF bug 1442442: LIST_APPEND optimization got lost in the AST merge. | Neal Norwitz | 2006-03-03 | 1 | -21/+19 |
| | | | | Add it back. | ||||
* | Fix mismatch opening and closing quotes on a string. | Brett Cannon | 2006-03-02 | 1 | -2/+1 |
| | |||||
* | Fix failure of test_compiler.py when compiling test_contextlib.py. | Guido van Rossum | 2006-03-02 | 1 | -1/+4 |
| | | | | | | The culprit was an expression-less yield -- the first apparently in the standard library. I added a unit test for this. Also removed the hack to force compilation of test_with.py. | ||||
* | Reformat the exception message by going through a list. | Martin v. Löwis | 2006-03-01 | 1 | -1/+3 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-03-01 | 1 | -1/+1 |
| | |||||
* | Patch #1440601: Add col_offset attribute to AST nodes. | Martin v. Löwis | 2006-03-01 | 1 | -42/+67 |
| | |||||
* | Make failures in test cases print failing source file. | Martin v. Löwis | 2006-03-01 | 1 | -1/+5 |
| | |||||
* | Fix a bug in nested() - if one of the sub-context-managers swallows the | Guido van Rossum | 2006-03-01 | 1 | -0/+54 |
| | | | | exception, it should not be propagated up. With unit tests. | ||||
* | Set svn:eol-style to native. | Tim Peters | 2006-03-01 | 5 | -281/+281 |
| | |||||
* | Fix parsing of exception_hierarchy.txt when a platform-specific exception is | Brett Cannon | 2006-03-01 | 1 | -0/+1 |
| | | | | specified. Hopefully this wll bring warming to Tim's Windows-loving heart. | ||||
* | PEP 352 implementation. Creates a new base class, BaseException, which has an | Brett Cannon | 2006-03-01 | 6 | -36/+235 |
| | | | | | | | | | added message attribute compared to the previous version of Exception. It is also a new-style class, making all exceptions now new-style. KeyboardInterrupt and SystemExit inherit from BaseException directly. String exceptions now raise DeprecationWarning. Applies patch 1104669, and closes bugs 1012952 and 518846. | ||||
* | Updates to the with-statement: | Guido van Rossum | 2006-02-28 | 4 | -87/+310 |
| | | | | | | | | | | | | | | | | - New semantics for __exit__() -- it must re-raise the exception if type is not None; the with-statement itself doesn't do this. (See the updated PEP for motivation.) - Added context managers to: - file - thread.LockType - threading.{Lock,RLock,Condition,Semaphore,BoundedSemaphore} - decimal.Context - Added contextlib.py, which defines @contextmanager, nested(), closing(). - Unit tests all around; bot no docs yet. | ||||
* | Add a note about removing the file once the bug is fixed | Neal Norwitz | 2006-02-28 | 1 | -1/+2 |
| | |||||
* | Gave README a .txt extension. | Tim Peters | 2006-02-28 | 1 | -0/+0 |
| | |||||
* | from __future__ import with_statement addon for 'with', mostly written by | Thomas Wouters | 2006-02-28 | 1 | -0/+2 |
| | | | | Neal. | ||||
* | Add directory which contains known ref leaks. Some of these are likely to ↵ | Neal Norwitz | 2006-02-28 | 4 | -0/+52 |
| | | | | be system dependent (like test_gestalt). | ||||
* | Set EOL style to native. | Tim Peters | 2006-02-28 | 4 | -811/+811 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-02-28 | 5 | -816/+813 |
| | |||||
* | Instead of printing the exception when you interrupt a test (Ctrl-C), | Neal Norwitz | 2006-02-28 | 1 | -1/+9 |
| | | | | print the status so far and suppress printing the exception (but still exit). |