Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace BadInternalCall with TypeError. Add a test case. Fix whitespace. | Raymond Hettinger | 2002-12-04 | 1 | -0/+7 |
| | | | | | | | Just van Rossum showed a weird, but clever way for pure python code to trigger the BadInternalCall. The C code had assumed that calling a class constructor would return an instance of that class; however, classes that abuse __new__ can invalidate that assumption. | ||||
* | Rearrange test_socket_ssl so that a skip is expected iff the network | Tim Peters | 2002-12-04 | 3 | -28/+35 |
| | | | | resource isn't enabled or the socket module doesn't support ssl. | ||||
* | Enable Check Module | Kurt B. Kaiser | 2002-12-03 | 1 | -5/+2 |
| | |||||
* | Don't use Alt-Fn or Ctrl-Fn keys, reserved for desktop changes in Unix. | Kurt B. Kaiser | 2002-12-03 | 1 | -17/+11 |
| | | | | | Zoom becomes Alt-H "height" Check Module becomes Alt-X "syntax" | ||||
* | Some more expected skips on OSX. | Guido van Rossum | 2002-12-03 | 1 | -0/+3 |
| | |||||
* | Lose references to knee (no longer exists) and pyclbr (has its own | Guido van Rossum | 2002-12-03 | 1 | -2/+0 |
| | | | | test suite now). | ||||
* | Get rid of 1.5.2 compatibility hack. :-) | Guido van Rossum | 2002-12-03 | 1 | -8/+0 |
| | |||||
* | Adding Python <= 2.2 support back in. | Marc-André Lemburg | 2002-12-03 | 1 | -3/+10 |
| | |||||
* | Add more sophistication to the comparison between pyclbr output and | Guido van Rossum | 2002-12-03 | 1 | -42/+36 |
| | | | | | | real module, by filtering out aliased methods. This, combined with the recent fixes to pyclbr, make it possible to enable more tests with fewer exceptions. | ||||
* | Another big update, fixing all known bugs related to nesting functions | Guido van Rossum | 2002-12-03 | 1 | -50/+80 |
| | | | | | and classes. Also add a mini main program that dumps the results for a given file or module. | ||||
* | In class bsdTableDB, add class variables db and env (set to None) to | Guido van Rossum | 2002-12-02 | 1 | -0/+5 |
| | | | | | prevent close() called from __del__ from bombing out when __init__() fails early. | ||||
* | Fix typo in except clause (_db should be _bsddb). | Guido van Rossum | 2002-12-02 | 1 | -1/+1 |
| | |||||
* | Moderately heavy reorganization of pyclbr to fix package-related bugs. | Guido van Rossum | 2002-12-02 | 2 | -67/+99 |
| | | | | | | | | | | | | | | | | | | | | - The _modules cache now uses the full module name. - The meaning of the (internal!!!) inpackage argument is changed: it now is the parent package name, or None. readmodule() doesn't support this argument any more. - The meaning of the path argument is changed: when inpackage is set, the module *must* be found in this path (as is the case for the real package search). - Miscellaneous cleanup, e.g. fixed __all__, changed some comments and doc strings, etc. - Adapted the unit tests to the new semantics (nothing much changed, really). Added some debugging code to the unit tests that print helpful extra info to stderr when a test fails (interpreting the test failures turned out to be hard without these). | ||||
* | Add a better columnizer to print_topics(). | Guido van Rossum | 2002-12-02 | 1 | -7/+58 |
| | |||||
* | Require 'largefile' resource for Mac OSX as well. | Guido van Rossum | 2002-12-02 | 1 | -5/+5 |
| | |||||
* | On Max OSX, try increasing the stack limit to 2048 so test_re and | Guido van Rossum | 2002-12-02 | 1 | -0/+16 |
| | | | | test_sre won't die with a SegFault. | ||||
* | Remove dead code in get_stack(). | Kurt B. Kaiser | 2002-12-02 | 1 | -31/+23 |
| | | | | | Modify get_stack() and get_exception to be StackTreeItem methods. SF Bug 610756. Neal Norwitz. | ||||
* | Fix beep. | Kurt B. Kaiser | 2002-12-02 | 1 | -16/+3 |
| | | | | Then remove annoying beep, not needed with breakpoint highlighting. | ||||
* | Cleanup: | Neal Norwitz | 2002-11-30 | 1 | -9/+5 |
| | | | | | | * Remove unused imports * Convert some more 1/0 to True/False * Shorten up a long line | ||||
* | Remove unused import | Neal Norwitz | 2002-11-30 | 1 | -5/+6 |
| | | | | | Remove unused variables since they were the return value from grid(), which is always None | ||||
* | Convert string exceptions to classes, string exceptions are deprecated | Neal Norwitz | 2002-11-30 | 2 | -8/+16 |
| | |||||
* | Convert some more 1/0 to True/False | Neal Norwitz | 2002-11-30 | 2 | -14/+14 |
| | |||||
* | Add missing self for method call | Neal Norwitz | 2002-11-30 | 1 | -2/+2 |
| | |||||
* | Port Martin von Loewis checkin from Python: | Neal Norwitz | 2002-11-30 | 1 | -5/+24 |
| | | | | Add --check-tkinter to setup.py. Install IDLE. Fixes #634078. | ||||
* | Port Martin von Loewis checkin from python: Support sdist. | Neal Norwitz | 2002-11-30 | 1 | -0/+4 |
| | |||||
* | M PyShell.py | Kurt B. Kaiser | 2002-11-30 | 2 | -17/+20 |
| | | | | | | M rpc.py SF Bug 629987: Idle not printing prompts following SyntaxError | ||||
* | getdoc(): | Ka-Ping Yee | 2002-11-30 | 2 | -7/+15 |
| | | | | | | Remove leading whitespace from first line; remove leading and trailing blank lines from docstrings. (Patch 645938 submitted by David Goodger.) | ||||
* | Correct an error introduced at Rev 1.30. The keyword arg is necessary | Kurt B. Kaiser | 2002-11-29 | 1 | -6/+8 |
| | | | | to freeze the value of orig_checkcache. Otherwise infinite recursion. | ||||
* | Fix mode on scripts to have the read bit set (noted by Nicholas Riley) | Andrew M. Kuchling | 2002-11-29 | 1 | -1/+1 |
| | |||||
* | Nudge getting __module__ and __name__ for new-style classes so that | Michael W. Hudson | 2002-11-27 | 1 | -1/+9 |
| | | | | | | | the results of *setting* __name__ are not so surprising. If people can suggest more tests, that'd be grand, or is what's there sufficient? | ||||
* | SF #641170, reST version of Lib/test/README | Neal Norwitz | 2002-11-27 | 1 | -89/+99 |
| | | | | Convert test/README to reST | ||||
* | I don't know why staring at the email to python-checkins made me | Michael W. Hudson | 2002-11-27 | 1 | -0/+2 |
| | | | | | | | see problems with my code that I didn't see before the checkin, but: When a subtype .mro() fails, we need to reset the type whose __bases__ are being changed, too. Fix + test. | ||||
* | Readjustments to the way we cope with exceptions from subclasses' | Michael W. Hudson | 2002-11-27 | 1 | -2/+79 |
| | | | | | | mro() methods. Now any exception aborts the whole __bases__ change. And more tests. | ||||
* | [Part of patch #641685] Add .dylib as an extension for shared libraries | Andrew M. Kuchling | 2002-11-27 | 1 | -1/+1 |
| | |||||
* | I had the inheritance cycle stuff backwards. Oops! | Michael W. Hudson | 2002-11-27 | 1 | -0/+8 |
| | |||||
* | Patch #639112: fixes for None locale and tz. | Martin v. Löwis | 2002-11-27 | 2 | -61/+154 |
| | |||||
* | Bring UserDict in-sync with changes to dict. | Raymond Hettinger | 2002-11-27 | 2 | -6/+25 |
| | | | | | | Constructor accepts optional keyword arguments after a optional items list. Add fromkeys() as an alternate constructor from an iterable over keys. Expand related unittests. | ||||
* | SF Patch 643443. Added dict.fromkeys(iterable, value=None), a class | Raymond Hettinger | 2002-11-27 | 1 | -0/+28 |
| | | | | method for constructing new dictionaries from sequences of keys. | ||||
* | The MRO conflict error message depends on dictionary hash order. | Guido van Rossum | 2002-11-27 | 1 | -4/+4 |
| | | | | Avoid depending on this in the test. | ||||
* | Add a way to say "use any resource except A". For example, to run | Fred Drake | 2002-11-26 | 1 | -3/+14 |
| | | | | | allow the use of any resource except bsddb, give the option "-uall,-bsddb". | ||||
* | Rename want_objects to wantobjects throughout, for consistency. | Martin v. Löwis | 2002-11-26 | 1 | -2/+2 |
| | |||||
* | Use "is" to test type objects, not "==". | Fred Drake | 2002-11-26 | 1 | -1/+1 |
| | |||||
* | Fix for bug #410541: bdist builds bogus .zips | Andrew M. Kuchling | 2002-11-26 | 1 | -6/+25 |
| | | | | | | This adds a --relative option to the bdist_dumb command that defaults to false; if true, the .tar.gz or .zip will be assembled using relative paths. | ||||
* | Part of the fix for bug #410541: add ensure_relative() function | Andrew M. Kuchling | 2002-11-26 | 1 | -1/+15 |
| | |||||
* | This is my patch: | Michael W. Hudson | 2002-11-26 | 1 | -0/+89 |
| | | | | | | | | | | | | [ 635933 ] make some type attrs writable Plus a couple of extra tests beyond what's up there. It hasn't been as carefully reviewed as it perhaps should, so all readers are encouraged, nay exhorted, to give this a close reading. There are still a couple of oddities related to assigning to __name__, but I intend to solicit python-dev's opinions on these. | ||||
* | Patch #518625: Return objects in Tkinter. | Martin v. Löwis | 2002-11-26 | 1 | -0/+3 |
| | |||||
* | A tweaked version of Jeremy's patch #642489, to produce better error | Guido van Rossum | 2002-11-25 | 1 | -0/+31 |
| | | | | | messages about MRO conflicts. (Tweaks here: don't print the message, but compare it with an expected string.) | ||||
* | SF 643115: Set._update() had a special case for dictionaries which allowed | Raymond Hettinger | 2002-11-25 | 2 | -3/+3 |
| | | | | | non-true values to leak in. This threw-off equality testing which depends on the underlying dictionaries having both the same keys and values. | ||||
* | Fix typo in comment. | Walter Dörwald | 2002-11-25 | 1 | -1/+1 |
| | |||||
* | Fixed bug | Gustavo Niemeyer | 2002-11-25 | 1 | -2/+9 |
| | | | | | | | | | | | [#495695] webbrowser.py: selection of browser * Lib/webbrowser.py Only include graphic browsers in _tryorder if DISPLAY is set. Also, included skipstone support, as suggested by Fred in the mentioned bug. * Misc/NEWS Mention fix and skipstone inclusion. |