| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
[ 633152 ] list slice ass ignores subtypes of list
Allow arbitrary sequences on the RHS of extended slices.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
...
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
resource isn't enabled or the socket module doesn't support ssl.
|
| |
|
|
|
|
|
| |
Zoom becomes Alt-H "height"
Check Module becomes Alt-X "syntax"
|
| |
|
|
|
|
| |
test suite now).
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
and classes. Also add a mini main program that dumps the results for
a given file or module.
|
|
|
|
|
| |
prevent close() called from __del__ from bombing out when __init__()
fails early.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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).
|
| |
|
| |
|
|
|
|
| |
test_sre won't die with a SegFault.
|
|
|
|
|
| |
Modify get_stack() and get_exception to be StackTreeItem methods.
SF Bug 610756. Neal Norwitz.
|
|
|
|
| |
Then remove annoying beep, not needed with breakpoint highlighting.
|
|
|
|
|
|
| |
* Remove unused imports
* Convert some more 1/0 to True/False
* Shorten up a long line
|
|
|
|
|
| |
Remove unused variables since they were the return value from grid(),
which is always None
|
| |
|
| |
|
| |
|
|
|
|
| |
Add --check-tkinter to setup.py. Install IDLE. Fixes #634078.
|
| |
|
|
|
|
|
|
| |
M rpc.py
SF Bug 629987: Idle not printing prompts following SyntaxError
|
|
|
|
|
|
| |
Remove leading whitespace from first line; remove leading and
trailing blank lines from docstrings. (Patch 645938 submitted
by David Goodger.)
|
|
|
|
| |
to freeze the value of orig_checkcache. Otherwise infinite recursion.
|
| |
|
|
|
|
|
|
|
| |
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?
|
|
|
|
| |
Convert test/README to reST
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
mro() methods. Now any exception aborts the whole __bases__ change.
And more tests.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Constructor accepts optional keyword arguments after a optional items list.
Add fromkeys() as an alternate constructor from an iterable over keys.
Expand related unittests.
|
|
|
|
| |
method for constructing new dictionaries from sequences of keys.
|
|
|
|
| |
Avoid depending on this in the test.
|
|
|
|
|
| |
allow the use of any resource except bsddb, give the option
"-uall,-bsddb".
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ 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.
|
| |
|