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
Fred Drake
3fe9a98c95
Correct markup error.
2000-08-09 14:37:05 +00:00
Fred Drake
fc1f9229f4
Correct version number at which the curses.ascii module was introduced.
2000-08-09 14:36:11 +00:00
Fred Drake
ec4b2af6bb
Fix a few markup errors and lots of small consistency issues.
...
Add "See also" link to curses.wrapper module from curses module.
2000-08-09 14:34:48 +00:00
Fred Drake
cb0fc9c2ce
fix_font(): Handle one more case for the magical first column of tables.
2000-08-09 13:45:04 +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
8141cf5c76
Barry's patch to document the new setdefault() method. Slightly
...
clarified the summary for default() in the table to indicate the side
effect.
2000-08-08 16:15:49 +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
Jack Jansen
5660639f9f
Moved PyOS_StackCheck prototype to pythonrun.h
2000-08-07 21:03:33 +00:00
Jack Jansen
0d15908629
Added a missing } in the USE_STACKCHECK code.
2000-08-07 21:02:50 +00:00
Jack Jansen
275abb3f1b
Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK).
2000-08-07 21:00:42 +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
Fredrik Lundh
6947d0b65e
-- from Trent Mick: [Patch #101010 ] replace use of INT_PTR
...
with uintptr_t (fix MSVC 5.0 build)
2000-08-07 20:16:28 +00:00
Guido van Rossum
6c2f0c73a1
When returning an error from jcompile() (which is passed through by
...
PyNode_Compile()), make sure that an exception is actually set --
otherwise someone stomped on our error. [2.0 checkin of this fix.]
2000-08-07 19:22:43 +00:00
Guido van Rossum
ed473a46fc
Avoid dumping core when PyErr_NormalizeException() is called without
...
an exception set. This shouldn't happen, but we see it at times...
2000-08-07 19:18:27 +00:00
Fredrik Lundh
18c2aa25a1
+ if USE_STACKCHECK is defined, use PyOS_CheckStack to look
...
for excessive recursion.
2000-08-07 17:33:38 +00:00
Moshe Zadka
aa39a7edf7
Initialized opcode and oparg to silence a gcc -Wall warning.
2000-08-07 06:34:45 +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
5bcb215e6e
Project for pyexpat module.
2000-08-06 21:55:43 +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
2afffd42fa
Wrote the "Describing extension modules" section.
2000-08-06 20:37:24 +00:00
Thomas Wouters
3a58420d86
Cleanup configure.in. Specifically:
...
- Don't call both AC_CHECK_FUNCS and AC_REPLACE_FUNC for 'hypot', as the
latter already does everything the former does (because it's implemented as
a call to the former.)
- Don't call AC_CHECK_FUNC() without any 'action' clauses or with an action
clause that just defines HAVE_<function>. Instead, call AC_CHECK_FUNCS,
which defines 'HAVE_<function>' of itself, possibly with aditional 'action'
clauses.
No checks are removed by this patch, only moved around, and some duplicates
are removed.
2000-08-05 23:28:51 +00:00
Thomas Wouters
e8643c465d
Fix some strange indentation and grammar that have been bugging me for
...
weeks.
2000-08-05 21:37:50 +00:00
Jack Jansen
cc22fbe3db
Changed H specifier to mean "bitfield", i.e. any value from
...
-32768..65535 is acceptable. Added B specifier (with values from
-128..255). No L added (which would have completed the set) because l
already accepts any value (and the letter L is taken for quadwords).
2000-08-05 21:29:58 +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
Greg Ward
ff7b562bc6
Pragmas that instruct the linker to link against python20.lib (or
...
python20_d.lib) only active on MSVC++; different library formats needed
for different compilers, and it's handled by the Distutils anyways.
2000-08-05 00:58:14 +00:00
Greg Ward
1d8f57a5a4
A bundle of wording improvements, corrections, clarifications, updates,
...
and so forth.
2000-08-05 00:43:11 +00:00
Moshe Zadka
cf4d8ccb05
Removed unnecessary local variable -- gave warning on gcc -Wall
2000-08-04 22:31:42 +00:00
Moshe Zadka
9fb6af9640
Removing warnings by gcc -Wall -- cast ugly || to void.
2000-08-04 21:27:47 +00:00
Jeremy Hylton
20b2ca9d19
add note about compiler directory
...
(is bgen still "still under development"?)
2000-08-04 17:03:58 +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
6a078edb07
Removing warnings discovered by gcc -Wall
2000-08-04 15:53:06 +00:00
Moshe Zadka
cf703f04ad
Removing warnings found by gcc -Wall
2000-08-04 15:36:13 +00:00
Moshe Zadka
92a69138b3
Oooopsss.....tab and space mismatch corrected.
2000-08-04 15:25:58 +00:00
Guido van Rossum
413407f103
Add a test that Py_IsInitialized() in Py_InitModule4(). See
...
python-dev discussion.
This should catch future version incompatibilities on Windows. Alas,
this doesn't help for 1.5 vs. 1.6; but it will help for 1.6 vs. 2.0.
2000-08-04 14:00:14 +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