Raymond Hettinger
8bfa8935ea
textwrap now processes text chucks at O(n) speed instead of O(n**2).
...
Patch #1209527 (Contributed by Connelly).
2005-07-15 06:53:35 +00:00
Georg Brandl
5c5fe2f445
RFE [ 1216944 ] Add Error Code Dictionary to urllib2
2005-07-14 06:40:47 +00:00
Michael W. Hudson
0edc7a03e2
Fix:
...
[ 1229429 ] missing Py_DECREF in PyObject_CallMethod
Add a test in test_enumerate, which is a bit random, but suffices
(reversed_new calls PyObject_CallMethod under some circumstances).
2005-07-12 10:21:19 +00:00
Phillip J. Eby
5cb784629f
Fix "upload" command garbling and truncating files on Windows. If it's a
...
binary file, use 'rb'!
2005-07-07 15:36:20 +00:00
Raymond Hettinger
82cb9a235d
Add test for hash commutativity.
2005-07-05 05:34:43 +00:00
Piers Lauder
2dfc168bc3
fixed tag generation to avoid null tags
2005-07-05 04:20:07 +00:00
Georg Brandl
9e43acf2f3
bug #1177468 : don't cache /dev/urandom file descriptor in os.urandom
2005-07-04 17:16:07 +00:00
Georg Brandl
9a65d583ac
Add doctest for examples in libweakref.tex to test_weakref.
2005-07-02 19:07:30 +00:00
Georg Brandl
f0af0e7a46
patch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror)
2005-07-02 18:37:41 +00:00
Raymond Hettinger
3296e696db
SF bug #1224347 : int/long unification and hex()
...
Hex longs now print with lowercase letters like their int counterparts.
2005-06-29 23:29:56 +00:00
Georg Brandl
22bfdab682
Adapt output file to new Cookie JS output.
2005-06-27 05:51:07 +00:00
Georg Brandl
ecf93c765c
Fix test cases for doctest.
2005-06-26 23:09:51 +00:00
Georg Brandl
12fe9b4ce4
bug [ 839151 ] attempt to access sys.argv when it doesn't exist
2005-06-26 22:53:29 +00:00
Georg Brandl
1f149642c9
bug [ 1172785 ] doctest.script_from_examples() result sometimes un-exec-able
2005-06-26 22:22:31 +00:00
Georg Brandl
0aade9a9f9
bug [ 1155638 ] self.length shield exception in httplib
2005-06-26 22:06:54 +00:00
Georg Brandl
8d457c78b4
bug [ 1175848 ] poorly named variable in urllib2.py
2005-06-26 22:01:35 +00:00
Georg Brandl
07c81d9074
Prevent creating a HTML link to file://?/
2005-06-26 21:57:55 +00:00
Georg Brandl
a2aa1ac42b
bug [ 1100201 ] Cross-site scripting on BaseHTTPServer
2005-06-26 21:33:14 +00:00
Georg Brandl
03a33ea3a8
bug [ 1108948 ] Cookie.py produces invalid code
2005-06-26 21:02:49 +00:00
Kurt B. Kaiser
58bd19095a
SMTP.help() was returning a tuple instead of the promised text.
2005-06-26 18:27:36 +00:00
Raymond Hettinger
da99d1cbfe
SF bug #1224621 : tokenize module does not detect inconsistent dedents
2005-06-21 07:43:58 +00:00
Kurt B. Kaiser
8fa7eb563b
Remove dead code
...
M IdleHistory.py
M PyShell.py
2005-06-21 02:42:17 +00:00
Michael W. Hudson
7390942aa1
test_asynchat is no longer expected to produce output.
...
also, wait for threads to finish before proceeding.
2005-06-20 13:45:34 +00:00
Raymond Hettinger
e5a0a9609f
Apply the _is_special guard.
2005-06-20 09:49:42 +00:00
Kurt B. Kaiser
a7daba6866
<Enter> when cursor is on a previous command retrieves that command. Instead
...
of replacing the input line, the previous command is now appended to the
input line. Indentation is preserved, and undo is enabled.
Patch 1196917 Jeff Shute
Modified Files:
NEWS.txt PyShell.py
2005-06-19 18:56:15 +00:00
Raymond Hettinger
bb999b5925
SF patch #1200018 : Restore GC support to set objects
...
Reverts 1.26 and 1.27.
And adds cycle testing.
2005-06-18 21:00:26 +00:00
Skip Montanaro
9847000267
Add tests for posix O_SHLOCK & O_EXLOCK. Missed checking this in with
...
posixmodule.c 2.335. Really should be considered part of patch #1103951 .
2005-06-17 01:14:49 +00:00
Andrew M. Kuchling
d1badac99c
[Patch #1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite
2005-06-15 18:44:23 +00:00
Michael W. Hudson
1a7285250b
yet another cache to clear when leak hunting.
2005-06-14 09:31:28 +00:00
Walter Dörwald
a00215983b
Port test_long.py to unittest.
2005-06-13 21:44:48 +00:00
Michael W. Hudson
f2ca5af439
Fix bug
...
[ 1180997 ] lax error-checking in new-in-2.4 marshal stuff
which I'd assigned to Martin, but actually turned out to be easy to fix.
Also, a test.
2005-06-13 18:28:46 +00:00
Raymond Hettinger
f9d88ab39e
SF bug #1219361 Fix typo
2005-06-13 01:10:15 +00:00
Kurt B. Kaiser
ca7329c9c1
1. Clarify "tab/space" Error Dialog and "Tab Width" Dialog associated with
...
the Untabify command.
2. Corrected "tab/space" Error Dialog to show correct menu for Untabify.
Patch 1196980 Jeff Shute
M EditorWindow.py
M NEWS.txt
M ScriptBinding.py
2005-06-12 05:19:23 +00:00
Kurt B. Kaiser
df506ea98b
1. Patch 1196895 Jeff Shute:
...
New files are colorized by default, and colorizing is removed when
saving as non-Python files. Patch 1196895 Jeff Shute
Closes Python Bugs 775012 and 800432, partial fix IDLEfork 763524
2. Update help.txt for left/right word delete
M CREDITS.txt
M ColorDelegator.py
M EditorWindow.py
M NEWS.txt
M help.txt
2005-06-12 04:33:30 +00:00
Georg Brandl
e537d6e93e
Patch #1171150 : add a newline to py_compile error output
2005-06-10 17:15:18 +00:00
Raymond Hettinger
68c0453418
Add untokenize() function to allow full round-trip tokenization.
...
Should significantly enhance the utility of the module by supporting
the creation of tools that modify the token stream and writeback the
modified result.
2005-06-10 11:05:19 +00:00
Andrew M. Kuchling
ca69f0248c
[Patch #1002763 ] Allow long ints as terminator values; also, treat a terminator of 0 like the empty string or None
2005-06-09 14:59:45 +00:00
Andrew M. Kuchling
5ac2534bbc
Convert asynchat test to unittest; exercise the client using a numeric value as the terminator
2005-06-09 14:56:31 +00:00
Andrew M. Kuchling
01cb47b59c
[Bug #1074261 , patch #1074381 ] Restrict the size of chunks read from the file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin
2005-06-09 14:19:32 +00:00
Andrew M. Kuchling
a6f68e1b1f
Convert gzip test suite to use unittest
2005-06-09 14:12:36 +00:00
Gregory P. Smith
6564ca72ad
fix import to work with either module name.
2005-06-09 07:11:42 +00:00
Andrew M. Kuchling
6e57c2a653
[Patch #1171487 , bug #1170331 ] Fix error in base64.b32decode when encoding a single null byte; test a null byte in all encodings to be sure it works
2005-06-08 22:51:38 +00:00
Anthony Baxter
422b10fc25
fix broken (unexecuted) test
2005-06-08 04:55:50 +00:00
Anthony Baxter
95a2a4ea70
Tools/scripts/reindent.py _is_ your friend
2005-06-08 04:35:50 +00:00
Andrew M. Kuchling
ecdad8575e
[Bug #1172763 ] dumbdbm uses eval() on lines, so it chokes if there's an extra \r on the end of a line; fixed by stripping off trailing whitespace.
2005-06-07 19:36:10 +00:00
Raymond Hettinger
eb2608415e
Minor namespace clean-up.
2005-06-07 18:52:34 +00:00
Gregory P. Smith
7e87a8a0be
fix more Errors (not Failures) when run using BerkeleyDB <= 4.0
2005-06-06 18:12:24 +00:00
Gregory P. Smith
c9321ccdfc
fix Errors (not Failures) in test cases when running with BerkeleyDB<4.2
2005-06-06 17:59:00 +00:00
Gregory P. Smith
889bca0df1
make the tests that expect uncatchable exceptions from a callback test
...
for them in a roundabout way (catching and parsing stderr)
keeps test output clean.
2005-06-06 17:30:22 +00:00
Gregory P. Smith
9e28205502
test case for pybsddb SF bug id 1215432
2005-06-06 10:26:25 +00:00