| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
warnings from personal firewall software. Added the same text
to README.txt, updated NEWS.txt for release.
M NEWS.txt
M PyShell.py
M README.txt
|
| |
|
|
|
|
|
| |
LocaleTime instance to only be created once and thus not be recreated when
the locale changed.
|
|
|
|
|
|
| |
caught when executing test_strptime, test_logging, and test_time in that order
when the testing of "%c" occured. Suspect the cache was not being recreated
(the test passed when test_logging was forced to re-establish the locale).
|
|
|
|
|
|
| |
by patch 769142. Fixed by patch 776062. KBK will backport net result
to IDLE release22-maint and IDLEfork.
2. Update NEWS.txt and idlever for release.
|
| |
|
|
|
|
|
| |
all I know, the original locale may be '' (I don't think that's possible,
but ...), and if so we would certainly want to restore it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Obtain the original locale in the documented way. This way actually
works for me.
Restore the original locale at the end, instead of forcing to "C".
Move the locale fiddling into the test driver instead of doing it as a
side effect of merely importing the module. I don't know why the test
is mucking with locale (and also added a comment saying so), but it
surely has no justification for doing that as an import side-effect.
Now whenever the locale-changing code executes, the locale-restoring code
will also get run.
|
| |
|
|
|
|
| |
This patch just adds test_ioctl to the list of expected skips for Cygwin.
|
|
|
|
|
|
|
|
|
| |
arbitrary bytes before the actual zip compatible archive. Zipfiles
containing comments at the end of the file are still not supported.
Add a testcase to test_zipimport, and update NEWS.
This closes sf #775637 and sf #669036.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
are satisfied in a case-insensitive manner, the attempt to import (the
non-existent) fcntl gets satisfied by FCNTL.py instead, and the tempfile
module defines a Unix-specific _set_cloexec() function in that case. As
a result, temp files can't be created then (blows up with an AttributeError
trying to reference fcntl.fcntl). This just popped up in the spambayes
project, where there is no apparent workaround (which is why I'm pushing
this in now).
|
|
|
|
| |
may cause some tests to fail but it prevents them from hanging.
|
|
|
|
|
| |
Pimp crashed if you tried to install a non-installable package, in stead
of printing a decent error message. Fixes #773450..
|
|
|
|
| |
setting of sCursor happened in an assert.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If some other test comes along and uses mimetypes, it will be
initialized from the system files.
|
|
|
|
|
|
| |
If this doesn't happen, it leaves the locale in a state that can cause
other tests to fail. For example, running test_strptime,
test_logging, and test_time in that order.
|
| |
|
|
|
|
| |
problems with the tests
|
|
|
|
| |
I tested against VC 7.0 and it caused no problems there.
|
|
|
|
|
|
|
|
|
|
|
|
| |
skip over functions with private names (as indicated by the underscore
naming convention). The old default created too much of a risk that
user tests were being skipped inadvertently. Note, this change could
break code in the unlikely case that someone had intentionally put
failing tests in the docstrings of private functions. The breakage
is easily fixable by specifying the old behavior when calling testmod()
or Tester(). The more likely case is that the silent failure was
unintended and that the user needed to be informed so the test could be
fixed.
|
|
|
|
|
| |
unittest environment. Since his extension finds docstrings in private
functions, it exposed a bug in the difflib doctests.
|
|
|
|
|
| |
Note, these tests were not getting exercised because
doctest skips over private functions.
|
| |
|
|
|
|
| |
encoding. Use sys.getfilesystemencoding().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extensions must still be configured manually and there is currently one
set of extension key bindings for all platforms.
Bring NEWS.txt up to date.
Update CREDITS.txt and idlever.py for release.
M NEWS.txt
M config-extensions.def
M extend.txt
M help.txt
M idlever.py
|
|
|
|
| |
doctests.
|
|
|
|
|
| |
Checking // would call floor division but did not test that
true division had become the default with 'from __future__ import division'.
|
|
|
|
|
| |
Checking // would call floor division but did not test that
true division had become the default with 'from __future__ import division'.
|
|
|
|
| |
Bug fix candidate.
|
| |
|
| |
|
|
|
|
|
|
| |
- wrap some long lines
- shorten others
- fix indentation
|
|
|
|
| |
database corruption problems with Spambayes.
|
|
|
|
|
|
|
| |
(contributed by Vincent Delft.)
The script updated os.environ but failed to pass the whole environment
to the child process (the CGI script).
|
|
|
|
|
|
|
| |
closing idempotent (it used to raise a nuisance exception on the 2nd
close attempt).
Bugfix candidate? Probably, but arguable.
|
|
|
|
| |
(Contributed by George Yoshida.)
|
| |
|
|
|
|
| |
Needs to be backported to both IDLE and IDLEFORK.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* It ran fine under "python regrtest.py test_warnings" but failed under
"python regrtest.py" presumably because other tests would add to
filtered warnings and not reset them at the end of the test.
* Converted to a unittest format for better control. Renamed
monkey() and unmonkey() to setUp() and tearDown().
* Increased coverage by testing all warnings in __builtin__.
* Increased coverage by testing regex matching of specific messages.
|
|
|
|
|
|
| |
reported consistently with the *nix world. 'Lib/test/test_warnings.py'
came out as 'lib\test\test_warnings.py'. The basename is all we care
about so I used that.
|
| |
|
|
|
|
|
|
|
|
| |
Related to SF patch 723231 (which pointed out the problem, but didn't
fix it, just shut up the warning msg -- which was pointing out a dead-
serious bug!).
Bugfix candidate.
|
| |
|
|
|
|
| |
Usability fix. Makes the error message more helpful.
|
| |
|