Peter Schneider-Kamp
7bc82bb1f0
add better algorithm to get fully qualified domain name for localhost
...
in smtplib.ehlo() and smtplib.helo().
closes patch #101103
closes bug #110935
2000-08-10 14:02:23 +00:00
Peter Schneider-Kamp
10e1bf2f64
remove all occurence of math.rint() from the sources
...
(and yes, "Currintly" also counts <0.5 wink>)
2000-08-10 04:23:30 +00:00
Guido van Rossum
0707fea5ee
Improve MHMailbox: messages are now sorted in numerical order.
...
Also don't allow leading zeros in message numbers.
2000-08-10 03:05:26 +00:00
Eric S. Raymond
1ebd3f6c4b
Tweak curses.wrapper so it initializes colors if they are available.
2000-08-09 21:11:07 +00:00
Fredrik Lundh
46a4151674
-- added a couple of missing Tkinter constants (canvas item styles,
...
place bordermode, etc)
2000-08-09 19:37:16 +00:00
Fredrik Lundh
24037f735f
-- don't mess up in winfo_visualsavailable if the system only
...
supports a single visual (closes bug #110603 )
2000-08-09 19:26:47 +00:00
Fredrik Lundh
289ad8f063
-- added optional newstate argument to Wm.state. The newstate arg
...
was added in Tk 8.3 (this fixes the first part of Bug #110605 )
2000-08-09 19:11:59 +00:00
Fredrik Lundh
8fffa208e0
-- use explicit conversion instead of u-string literal in the test
...
code, to make the new Tkinter.py run under 1.5.2
-- changed Text.yview argument name (for consistency with xview)
2000-08-09 18:51:01 +00:00
Fredrik Lundh
5bd2cd663d
-- added xview_moveto, xview_scroll, yview_moveto, yview_scroll
...
to the Text method (closes Bug #110605 )
2000-08-09 18:29:51 +00:00
Fredrik Lundh
06d2815350
-- untabification (use "diff -b" to verify)
2000-08-09 18:03:12 +00:00
Fredrik Lundh
5810064476
-- changed findall to return empty strings instead of None
...
for undefined groups
2000-08-09 09:14:35 +00:00
Fredrik Lundh
8e6d571a7c
-- enabled some temporarily disabled RE tests
...
-- added basic unicode tests to test_re
-- added test case for Sjoerd's xmllib problem to re_tests
2000-08-08 17:06:53 +00:00
Fredrik Lundh
2643b55a77
-- whitespace cleanup (real changes coming in next checkin)
2000-08-08 16:52:51 +00:00
Fredrik Lundh
1151a8cd61
-- whitespace cleanup (more tests to be added in the next commit)
2000-08-08 16:47:42 +00:00
Guido van Rossum
79c9b17d17
Barry's patch to test the new setdefault() method.
2000-08-08 16:13:23 +00:00
Guido van Rossum
164452cec4
Barry's patch to implement the new setdefault() method.
2000-08-08 16:12:54 +00:00
Greg Ward
2b042ded19
Fix so 'split_quoted()' handles any whitespace delimiter (not just space).
2000-08-08 14:38:13 +00:00
Marc-André Lemburg
e5034378cc
Removing UTF-16 aware Unicode comparison code. This kind of compare
...
function (together with other locale aware ones) should into a new collation
support module. See python-dev for a discussion of this removal.
Note: This patch should also be applied to the 1.6 branch.
2000-08-08 08:04:29 +00:00
Fredrik Lundh
7898c3e685
-- reset marks if repeat_one tail doesn't match
...
(this should fix Sjoerd's xmllib problem)
-- added skip field to INFO header
-- changed compiler to generate charset INFO header
-- changed trace messages to support post-mortem analysis
2000-08-07 20:59:04 +00:00
Greg Ward
1b024d37a7
Fix so the 'install_libbase' directory -- where .pth files are installed --
...
participates in the "--root" hack, ie. it also has a new root directory
hacked on at the very last minute (essential if the .pth file is to be
included in an RPM or other smart installer!).
2000-08-07 00:48:04 +00:00
Greg Ward
0fd2dd6db0
Fix so we clear or reinitialize various data structures before populating
...
(allows the same FancyGetopt object to be used multiple times with different
option tables).
2000-08-07 00:45:51 +00:00
Vladimir Marangozov
f9d20c3786
Neil Schemenauer: GC enable(), disable(), isenabled() interface.
...
Small stylistic changes by VM:
- is_enabled() -> isenabled()
- static ... Py_<func> -> static ... gc_<func>
2000-08-06 22:45:31 +00:00
Jack Jansen
2fc0109375
Rewrite of normpath() by Corran Webster, so trailing :s are removed
...
(except for : and volume:, where they are needed).
2000-08-06 21:18:35 +00:00
Greg Ward
ab3a0f36ed
Fixed imports from '*util' modules to not just import everything from util.
2000-08-05 01:31:54 +00:00
Greg Ward
5a8aa1ba2e
Drop the 'extend()' function -- old 1.5.1 compatibility hack that
...
wasn't actually used anywhere.
Drop the "from xxx_util import*" backwards compability hacks.
2000-08-05 01:25:24 +00:00
Jeremy Hylton
7daf04d9e0
replace most calls to emit 'SET_LINENO' will call to method set_lineno
...
based on bug report by Neil Schemenauer
2000-08-04 16:56:51 +00:00
Jeremy Hylton
8612f1c152
update my email address
...
fix com_call_function to cope with trailing comma in "f(a, b,)"
2000-08-04 16:54:54 +00:00
Moshe Zadka
92a69138b3
Oooopsss.....tab and space mismatch corrected.
2000-08-04 15:25:58 +00:00
Thomas Wouters
b9fa0a843e
Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'
...
to signify a test that should be marked as 'skipped' rather than 'failed'.
Also 'document' it, in README.
2000-08-04 13:34:43 +00:00
Moshe Zadka
040c17fe38
Raise TestSkipped, not ImportError.
...
Honesty's the best policy.
2000-08-04 13:26:03 +00:00
Thomas Wouters
3af826ebca
Make test_support.TestSkipped errors work the same way as ImportErrors:
...
mark the test as 'skipped', rather than 'failed'.
2000-08-04 13:17:51 +00:00
Moshe Zadka
323a5086ae
In case the user isn't allowed to access /dev/dsp or /dev/dsp isn't there
...
at all (my computer doesn't have a Sound Blaster), this doesn't mean
there's a bug in linuxaudiodev. The only error the test suite skips
is currently ImportError -- so that's what we raise. If you see a problem
with this patch, say so and I'll retract. If you think raising an ImportError
sucks, you're right -- but I ain't gonna buy a SB and I sure ain't gonna
let the test-suite fail on my machine.
2000-08-04 12:59:40 +00:00
Thomas Wouters
3027b15c8e
Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)
2000-08-04 08:46:59 +00:00
Eric S. Raymond
5af256ded6
Corrected a bug in handling of ^N and ^P with stripspaces on.
2000-08-04 07:33:18 +00:00
Fred Drake
5750017563
Remove the outer test for __name__; not necessary.
2000-08-04 03:14:55 +00:00
Greg Ward
f813e59d49
Added 'debug_print()'.
2000-08-04 01:31:13 +00:00
Greg Ward
5db2c3ae24
Rewrote 'find_library_file()' much more cleanly (and consistently with
...
MSVCCompiler's version, to aid in factoring common code out of the two
classes when the time comes).
2000-08-04 01:30:03 +00:00
Greg Ward
d142564821
Added 'debug' flag to 'find_library_file()', and changed code to handle it.
2000-08-04 01:29:27 +00:00
Greg Ward
e5e6015e5a
Added 'debug' flag to 'find_library_file()'.
2000-08-04 01:28:39 +00:00
Jeremy Hylton
d9827c476c
test the non-multipart sections of the cgi module
2000-08-03 22:11:43 +00:00
Jeremy Hylton
c253d9a623
Remove very long doc string (it's all in the docs)
...
Modify parse_qsl to interpret 'a=b=c' as key 'a' and value 'b=c'
(which matches Perl's CGI.pm)
2000-08-03 20:57:44 +00:00
Greg Stein
fd342bf453
add a bit more legal junk
...
(too lazy to paste in the whole BSD license tho; included by ref)
2000-08-03 17:39:13 +00:00
Moshe Zadka
73ed8e566e
Checking in empty tests for urlparse, as future place holders
2000-08-03 17:28:50 +00:00
Fredrik Lundh
96ab46529b
-- added recursion limit (currently ~10,000 levels)
...
-- improved error messages
-- factored out SRE_COUNT; the same code is used by
SRE_OP_REPEAT_ONE_TEMPLATE
-- minor cleanups
2000-08-03 16:29:50 +00:00
Barry Warsaw
a873b03ebb
Added a -l/--leakdebug option which turns on DEBUG_LEAK if the gc
...
module is importable.
2000-08-03 15:50:37 +00:00
Barry Warsaw
e027d8dc81
Added output for testsuite for new zip() builtin.
2000-08-03 15:48:31 +00:00
Barry Warsaw
7bfc1a1507
Added testsuite for new zip() builtin.
2000-08-03 15:48:07 +00:00
Andrew M. Kuchling
e6f164622f
Comment out repeated-group test for the moment
2000-08-03 12:16:29 +00:00
Andrew M. Kuchling
a3eacc472c
Add nasty test case that overflows the stack with a repeated group
2000-08-03 02:06:45 +00:00
Greg Ward
dc9fe8a7ba
Typo fix.
2000-08-02 01:49:40 +00:00