| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
+ Don't change the arglist requirements.
+ Give the wrapper the same docstring as _socket.socket (it didn't
have any docstring).
|
|
|
|
| |
1.6, and pierslauder didn't respond to email about it on Monday.
|
|
|
|
|
| |
thinking that he was running his new test by running "make test".
Also, I can't get this to fail any more. Your turn. :-)
|
|
|
|
|
|
| |
If the long is large enough, the return value will be a negative int.
In this case, calling the function a second time won't return the
original value passed in.
|
|
|
|
|
|
|
|
| |
imports of test modules now import from the test package. Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.). Also did a general
code cleanup to remove all "from test.test_support import *"'s. Other
from...import *'s weren't changed.
|
|
|
|
|
|
|
|
|
| |
See there for a description.
Added test case.
Bugfix candidate for 2.2.x, not sure about previous versions:
probably low priority, because virtually no one runs debug builds.
|
|
|
|
|
|
| |
[ 587875 ] crash on deleting extended slice
The array code got simpler, always a good thing!
|
|
|
|
| |
of encodings. Skip modules that don't have a getregentry function.
|
| |
|
|
|
|
| |
there.
|
| |
|
|
|
|
|
|
|
|
| |
'%g' % '1'
'%d' % '1'
Add a test for these conditions
Fix the test so that if not exception is raise, this is a failure
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
to executing Run/F5 from an EditorWindow.
M ScriptBinding.py : add call to clear_the_environment()
M run.py : implemented Executive.clear_the_environment()
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
failing).
|
|
|
|
|
|
|
| |
Idle client and localhost origin of connection is verified by client.
M PyShell.py
M rpc.py
M run.py
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Fixes SF bug #568322.
The code should raise an OverflowError if the long is > 32 bits, even
on platforms where sizeof(long) > 4.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".
This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).
Now Tim and Jack can have at it. :)
|
|
|
|
| |
character set, which we'll convert to a Charset instance. Sigh.
|
|
|
|
| |
will return as the charset if implicit us-ascii is used.
|
|
|
|
| |
Return the selected item, if there is any.
|
|
|
|
|
|
|
|
|
|
| |
array. Our samplesort special-cases the snot out of this, running about
12x faster than *sort. The experimental mergesort runs it about 8x
faster than *sort without special-casing, but should really do better
than that (when merging runs of different lengths, right now it only
does something clever about finding where the second run begins in
the first and where the first run ends in the second, and that's more
of a temp-memory optimization).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from test.test_support import TestSkipped, run_unittest
to
from test_support import TestSkipped, run_unittest
Otherwise, if the Japanese codecs aren't installed, regrtest doesn't
believe the TestSkipped exception raised by this test matches the
except (ImportError, test_support.TestSkipped), msg:
it's looking for, and reports the skip as a crash failure instead of
as a skipped test.
I suppose this will make it harder to run this test outside of
regrtest, but under the assumption only Barry does that, better to
make it skip cleanly for everyone else.
|
|
|
|
| |
opened on top of the shell instead of in a new window.
|
| |
|
|
|
|
| |
It's a little better than average for our sort.
|
|
|
|
| |
'en' in teardown(). This way hopefully test_time.py won't fail.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(i.e. email.test), so move the guts of them here from Lib/test. The
latter directory will retain stubs to run the email.test tests using
Python's standard regression test.
test_email_torture.py is a torture tester which will not run under
Python's test suite because I don't want to commit megs of data to
that project (it will fail cleanly there). When run under the mimelib
project it'll stress test the package with megs of message samples
collected from various locations in the wild.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(i.e. email.test), so move the guts of them here from Lib/test. The
latter directory will retain stubs to run the email.test tests using
Python's standard regression test.
test_email_torture.py is a torture tester which will not run under
Python's test suite because I don't want to commit megs of data to
that project (it will fail cleanly there). When run under the mimelib
project it'll stress test the package with megs of message samples
collected from various locations in the wild.
email/test/data is a copy of Lib/test/data. The fate of the latter is
still undecided.
|
|
|
|
|
| |
mimelib-devel list is that non-strict parsing should be the default.
Make it so.
|
|
|
|
| |
non-strict parsing should be the default. Make it so.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
backwards compatibility, we're silently deprecating get_type(),
get_subtype() and get_main_type(). We may eventually noisily
deprecate these. For now, we'll just fix a bug in the splitting of
the main and subtypes.
get_content_type(), get_content_maintype(), get_content_subtype(): New
methods which replace the above. These /always/ return a content type
string and do not take a failobj, because an email message always at
least has a default content type.
set_default_type(): Someday there may be additional default content
types, so don't hard code an assertion about the value of the ctype
argument.
|
|
|
|
| |
to print>> the structure to. Defaults to sys.stdout.
|
|
|
|
| |
out on the mimelib-devel list.
|
|
|
|
| |
also drop the output file.
|