summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* The final tweaks before closingMichael W. Hudson2002-12-051-0/+4
| | | | | | [ 633152 ] list slice ass ignores subtypes of list Allow arbitrary sequences on the RHS of extended slices.
* Patch #648998: test_commands ACL patchJason Tishler2002-12-051-0/+1
| | | | | | | | | | | | | | Although motived by Cygwin, this patch will prevent test_commands from failing on Unixes that support ACLs. For example, the following is an excerpt from the Solaris ls manpage: ... -rwxrwxrwx+ 1 smith dev 10876 May 16 9:42 part2 The plus sign indicates that there is an ACL associated with the file. ...
* Add a Cygwin skip mentioned by Jason Tishler.Tim Peters2002-12-051-1/+1
|
* Patch #551977: Regression exceptions for cygwinJason Tishler2002-12-051-0/+22
| | | | | | This patch updates regrtest.py to understand which tests are normally skipped under Cygwin. The list of tests was verified with the Cygwin Python maintainer.
* Replace BadInternalCall with TypeError. Add a test case. Fix whitespace.Raymond Hettinger2002-12-041-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 networkTim Peters2002-12-043-28/+35
| | | | resource isn't enabled or the socket module doesn't support ssl.
* Enable Check ModuleKurt B. Kaiser2002-12-031-5/+2
|
* Don't use Alt-Fn or Ctrl-Fn keys, reserved for desktop changes in Unix.Kurt B. Kaiser2002-12-031-17/+11
| | | | | Zoom becomes Alt-H "height" Check Module becomes Alt-X "syntax"
* Some more expected skips on OSX.Guido van Rossum2002-12-031-0/+3
|
* Lose references to knee (no longer exists) and pyclbr (has its ownGuido van Rossum2002-12-031-2/+0
| | | | test suite now).
* Get rid of 1.5.2 compatibility hack. :-)Guido van Rossum2002-12-031-8/+0
|
* Adding Python <= 2.2 support back in.Marc-André Lemburg2002-12-031-3/+10
|
* Add more sophistication to the comparison between pyclbr output andGuido van Rossum2002-12-031-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 functionsGuido van Rossum2002-12-031-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) toGuido van Rossum2002-12-021-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 Rossum2002-12-021-1/+1
|
* Moderately heavy reorganization of pyclbr to fix package-related bugs.Guido van Rossum2002-12-022-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 Rossum2002-12-021-7/+58
|
* Require 'largefile' resource for Mac OSX as well.Guido van Rossum2002-12-021-5/+5
|
* On Max OSX, try increasing the stack limit to 2048 so test_re andGuido van Rossum2002-12-021-0/+16
| | | | test_sre won't die with a SegFault.
* Remove dead code in get_stack().Kurt B. Kaiser2002-12-021-31/+23
| | | | | Modify get_stack() and get_exception to be StackTreeItem methods. SF Bug 610756. Neal Norwitz.
* Fix beep.Kurt B. Kaiser2002-12-021-16/+3
| | | | Then remove annoying beep, not needed with breakpoint highlighting.
* Cleanup:Neal Norwitz2002-11-301-9/+5
| | | | | | * Remove unused imports * Convert some more 1/0 to True/False * Shorten up a long line
* Remove unused importNeal Norwitz2002-11-301-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 deprecatedNeal Norwitz2002-11-302-8/+16
|
* Convert some more 1/0 to True/FalseNeal Norwitz2002-11-302-14/+14
|
* Add missing self for method callNeal Norwitz2002-11-301-2/+2
|
* Port Martin von Loewis checkin from Python:Neal Norwitz2002-11-301-5/+24
| | | | Add --check-tkinter to setup.py. Install IDLE. Fixes #634078.
* Port Martin von Loewis checkin from python: Support sdist.Neal Norwitz2002-11-301-0/+4
|
* M PyShell.pyKurt B. Kaiser2002-11-302-17/+20
| | | | | | M rpc.py SF Bug 629987: Idle not printing prompts following SyntaxError
* getdoc():Ka-Ping Yee2002-11-302-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 necessaryKurt B. Kaiser2002-11-291-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. Kuchling2002-11-291-1/+1
|
* Nudge getting __module__ and __name__ for new-style classes so thatMichael W. Hudson2002-11-271-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/READMENeal Norwitz2002-11-271-89/+99
| | | | Convert test/README to reST
* I don't know why staring at the email to python-checkins made meMichael W. Hudson2002-11-271-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. Hudson2002-11-271-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 librariesAndrew M. Kuchling2002-11-271-1/+1
|
* I had the inheritance cycle stuff backwards. Oops!Michael W. Hudson2002-11-271-0/+8
|
* Patch #639112: fixes for None locale and tz.Martin v. Löwis2002-11-272-61/+154
|
* Bring UserDict in-sync with changes to dict.Raymond Hettinger2002-11-272-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 classRaymond Hettinger2002-11-271-0/+28
| | | | method for constructing new dictionaries from sequences of keys.
* The MRO conflict error message depends on dictionary hash order.Guido van Rossum2002-11-271-4/+4
| | | | Avoid depending on this in the test.
* Add a way to say "use any resource except A". For example, to runFred Drake2002-11-261-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öwis2002-11-261-2/+2
|
* Use "is" to test type objects, not "==".Fred Drake2002-11-261-1/+1
|
* Fix for bug #410541: bdist builds bogus .zipsAndrew M. Kuchling2002-11-261-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() functionAndrew M. Kuchling2002-11-261-1/+15
|
* This is my patch:Michael W. Hudson2002-11-261-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öwis2002-11-261-0/+3
|