Skip Montanaro
803d6e5451
list comprehensions. see
...
http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470
for details.
2000-08-12 18:09:51 +00:00
Guido van Rossum
b16b83534d
Whoever added the Makefile rule to auto-build the Grammar didn't have
...
his build directory in a different place than his source directory. I
do, and it is supposed to be supported. The naive patch caused an
endless recursion in the Make process. This should take care of that.
2000-08-12 14:45:50 +00:00
Fred Drake
4ca744c70e
Added information for PyEval_EvalCode().
...
Fixed a couple of typos (new references are represented by "+1", not "1").
2000-08-12 03:39:47 +00:00
Fred Drake
4de96c2fd8
Added Marc-Andre Lemburg's documentation for string methods, with some
...
massaging for markup consistency. This closes SourceForge patch #101063 .
Added Unicode strings and buffer objects to the list of sequence types.
Small markup nits elsewhere.
2000-08-12 03:36:23 +00:00
Trent Mick
557d35ebf2
These files all used to be tagged as binary in CVS. I recently changed this so
...
that these files are treated as normal text files (which they are). However,
the files also had to be changed to be stored in CVS internally with UNIX line
terminators (they had DOS line terminators internally before this commit).
2000-08-11 23:20:32 +00:00
Thomas Wouters
654698389d
'make' in Grammar too, so graminit.h and graminit.c get re-build when
...
necessary. Do Grammar after Parser because Grammar needs Parser, and not the
other way 'round. This patch doesn't bother with dependencies because it's
tricky to get right (for instance for the modules that want graminit.h,
like cPickle) and other dependencies are broken to begin with.
2000-08-11 22:26:35 +00:00
Thomas Wouters
0be5aab04d
Merge UNPACK_LIST and UNPACK_TUPLE into a single UNPACK_SEQUENCE, since they
...
did the same anyway.
I'm not sure what to do with Tools/compiler/compiler/* -- that isn't part of
distutils, is it ? Should it try to be compatible with old bytecode version ?
2000-08-11 22:15:52 +00:00
Fred Drake
a8d7341f63
PyRun_InteractiveOne(),
...
PyRun_InteractiveLoop(): Added descriptions.
PyExc_WindowsError: Added to list of standard exceptions and added note
about the right preprocessor symbol to use to protect
code that uses it.
2000-08-11 20:39:29 +00:00
Fred Drake
46479d3740
Some minor clarifications and added some index entries.
2000-08-11 20:34:27 +00:00
Fred Drake
3ac977e39c
O_BINARY: Documented this constant; omission noted by David Ascher.
...
access(): Corrected availability statement; error pointed out by
Tim Peters.
2000-08-11 20:19:51 +00:00
Fred Drake
241551c16c
do_env_cfuncdesc(): Push as much of the generated HTML into one place
...
as possible for better readability. Revise a comment.
2000-08-11 20:04:19 +00:00
Fred Drake
a8e484c8f5
getopt(): revise description of long_options parameter slightly so it will
...
be less confusing; add a paragraph separation so that comments about
the options and long_options parameters don't have references that
are easily misinterpreted.
Adjust the interactive examples to not need the string module.
Add an example showing how the module is commonly used in a script.
2000-08-11 19:55:06 +00:00
Trent Mick
f29f47b38b
Add largefile support for Linux64 and WIn64. Add test_largefile and some minor
...
change to regrtest.py to allow optional running of test_largefile ('cause it's
slow on Win64).
This closes patches:
http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100510&group_id=5470
and
http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100511&group_id=5470
2000-08-11 19:02:59 +00:00
Fred Drake
7932ed0ac4
Added material about documenting packages, so that the use of module
...
markup for packages is clear.
2000-08-11 17:37:33 +00:00
Fred Drake
f40706375a
Include the document dependencies earlier so that documents are rebuilt
...
when they need to be.
2000-08-11 17:36:21 +00:00
Fred Drake
4e15945fff
Markup errors: \cfuntion -> \cfunction
2000-08-11 17:09:23 +00:00
Fred Drake
7d45d34ed7
ANY becomes void, to reflect the requirement for ANSI C.
2000-08-11 17:07:32 +00:00
Fred Drake
091ec2cfdd
Add support for FreeBSD --rpath linker option; this is equivalent to
...
-R on Solaris and -rpath on IRIX.
This closes SourceForge bug #110613 (Jitterbug PR#202), reported by
<aa8vb@yahoo.com>.
2000-08-11 13:58:37 +00:00
Vladimir Marangozov
2c57e076fe
#include reordering so that extern "C" does not interfere with
...
standard C++ specific includes.
Closes patch 101061.
2000-08-11 11:48:33 +00:00
Marc-André Lemburg
1a731c60a3
Added #fndef's to avoid compiler errors.
2000-08-11 11:43:10 +00:00
Sjoerd Mullender
d2653a9e07
Use built in function filter instead of doing it laboriously by hand.
2000-08-11 07:48:36 +00:00
Vladimir Marangozov
1d3e239f08
Fix missing decrements of the recursive counter in PyObject_Compare().
...
Closes Patch #101065 .
2000-08-11 00:14:26 +00:00
Fred Drake
68933b94d3
Clean up compiler warning exposed by GCC's -Wall option: make sure
...
Python.h is included before standard headers since we set _GNU_SOURCE
there. This ensures that strdup() is prototyped.
2000-08-10 21:41:08 +00:00
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
65983372f0
More on noutrefresh.
2000-08-09 21:49:31 +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
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