| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
test_basics.py: updated for the set_get_returns_none() default of 2 change.
|
| |
|
|
|
|
| |
(Contributed by Dmitry Vasiliev.)
|
|
|
|
| |
separaters on str.split() and str.rsplit().
|
| |
|
|
|
|
| |
Make timings more consistent by temporarily disabling GC.
|
| |
|
|
|
|
|
| |
encoding and decoding, including optional case folding and optional
alternative alphabets.
|
|
|
|
| |
loops to run (default remains 50,000 if no argument is specified).
|
|
|
|
|
| |
than are specified by the buffer size. The patch calls .__write()
to ensure that any full blocks are written out.
|
|
|
|
|
|
|
| |
restarted. IDLEfork Patch 869012 Noam Raphael
Modified Files:
NEWS.txt run.py
|
|
|
|
|
|
|
| |
Improved based on discussions at:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252177
http://groups.google.com/groups?th=fc7b54f11af6b24e&seekm=bss2so$om$00$1@news.t-online.com
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
patch removes dependencies on the old unsupported KoreanCodecs package
and the alternative JapaneseCodecs package. Since both of those
provide aliases for their codecs, this removal just makes the generic
codec names work.
We needed to make slight changes to __init__() as well.
This will be backported to Python 2.3 when its branch freeze is over.
|
| |
|
| |
|
|
|
|
|
|
|
| |
directory name with a single dot fails. The patch skips creating
directories named os.curdir. (Patch by Bram Moolenaar)
2.3 bugfix candidate.
|
|
|
|
| |
using specialized splitter for 1 char sep.
|
|
|
|
|
|
|
| |
dictionary as the original. This parallels MvL's change to
Lib/os.py 1.56.
Backport candidate.
|
|
|
|
| |
Backport candidate.
|
|
|
|
|
| |
test__locale: add typical POSIX-style full locale names.
test_locale: use en_US.US-ASCII on FreeBSD.
|
| |
|
|
|
|
| |
sorted() becomes a regular function instead of a classmethod.
|
|
|
|
| |
Replace lots of assert_(x == y) with assertEqual(x, y).
|
|
|
|
|
|
|
|
|
|
|
|
| |
The chief benefit of this change is that requests will now use
HTTP/1.1 instead of HTTP/1.0. Bump the module version number as part
of the change.
There are two possible incompatibilities that we'll need to watch out
for when we get to an alpha release. We may get a different class of
exceptions out of httplib, and the do_open() method changed its
signature. The latter is only important if anyone actually subclasses
AbstractHTTPHandler.
|
|
|
|
| |
(Spotted by Raymond Hettinger)
|
|
|
|
|
| |
SF feature request #801847.
Original patch is written by Sean Reifschneider.
|
|
|
|
|
|
| |
Keep close() methods for backwards compatibility.
Does any call close() explicitly?
|
|
|
|
|
| |
"read until end of line ('\n') or EOF" will be treated literally.
Fixes SF bug #860155.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
John J. Lee writes: "the patch makes it possible to implement
functionality like HTTP cookie handling, Refresh handling,
etc. etc. using handler objects. At the moment urllib2's handler
objects aren't quite up to the job, which results in a lot of
cut-n-paste and subclassing. I believe the changes are
backwards-compatible, with the exception of people who've
reimplemented build_opener()'s functionality -- those people would
need to call opener.add_handler(HTTPErrorProcessor).
The main change is allowing handlers to implement
methods like:
http_request(request)
http_response(request, response)
In addition to the usual
http_open(request)
http_error{_*}(...)
"
Note that the change isn't well documented at least in part because
handlers aren't well documented at all. Need to fix this.
Add a bunch of new tests. It appears that none of these tests
actually use the network, so they don't need to be guarded by a
resource flag.
|
|
|
|
| |
Dörwald
|
|
|
|
|
|
|
|
| |
Port test_md5.py to PyUnit.
(Written by Neal Norwitz; from SF patch 736962)
(Backport candidate)
|
| |
|
|
|
|
|
|
| |
test_tuple.py and test_list.py. Common tests for tuple, list and UserList
are shared (in seq_tests.py and list_tests.py). Port tests to PyUnit.
(From SF patch #736962)
|
|
|
|
|
|
|
| |
Original idea by Guido van Rossum.
Idea for skipable inner iterators by Raymond Hettinger.
Idea for argument order and identity function default by Alex Martelli.
Implementation by Hye-Shik Chang (with tweaks by Raymond Hettinger).
|
|
|
|
|
|
| |
of test failure output.
Irrelevant traceback levels are pruned from formatted traceback strings.
|
| |
|
|
|
|
|
| |
the new waste functionality because it's probably going to be dropped
anyway.
|
|
|
|
|
|
|
|
|
| |
Use case: Sometimes 'compiling' source files (with SWIG, for example)
creates additionl files which included by later sources. The win32all
setup script requires this.
There is no SF item for this, but it was discussed on distutils-sig:
http://mail.python.org/pipermail/distutils-sig/2003-November/003514.html
|
| |
|
| |
|
|
|
|
| |
during a CVS merge.
|
|
|
|
|
|
| |
can run" bugs as discussed in
[ 848856 ] couple of new list.sort bugs
|
| |
|
|
|
|
|
|
| |
by request of Donovan Preston. In return, he promised to use this
to create a Python OSA component, which would turn Python
into a first-class OSA scripting language (like AppleScript itself).
|
|
|
|
|
| |
by setting TESTFN_UNICODE_UNENCODEABLE on these platforms.
test_unicode_file only attempts to use the name for testing if not None.
|
|
|
|
| |
and pass them along to the PrettyPrinter constructor.
|
|
|
|
| |
and dict too, as long as they don't overwrite __repr__().
|
|
|
|
|
|
|
| |
for Big String). This should make the tests pass on Win98SE. Note
that the docs only promise lengths up to 2048. Unfortunately this no
longer tests for the segfault I was seeing earlier, but I'm confident
I've nailed that one. :-) Fixes SF 852281. Will backport to 2.3.
|
|
|
|
|
|
|
| |
unicode filenames"
Reorganize tests into functions so more combinations of
unicode/encoded/ascii can be tested, and while I was at it, upgrade to
unittest based test.
|