]> granicus.if.org Git - python/log
python
24 years agoSlight performance hack that also avoids requiring the existence of thread
Fred Drake [Thu, 31 Aug 2000 19:31:38 +0000 (19:31 +0000)]
Slight performance hack that also avoids requiring the existence of thread
state for dictionaries that have only been indexed by string keys.

See the comments in SourceForge for more.

This closes SourceForge patch #101309.

24 years agoscript that reports a fairly safe recursionlimit for a specific platform
Jeremy Hylton [Thu, 31 Aug 2000 19:24:17 +0000 (19:24 +0000)]
script that reports a fairly safe recursionlimit for a specific platform

24 years agoadd user-modifiable recursion_limit
Jeremy Hylton [Thu, 31 Aug 2000 19:23:01 +0000 (19:23 +0000)]
add user-modifiable recursion_limit

ceval.c:
    define recurion_limit (static), default value is 2500
    define Py_GetRecursionLimit and Py_SetRecursionLimit
    raise RuntimeError if limit is exceeded
PC/config.h:
    remove plat-specific definition
sysmodule.c:
    add sys.(get|set)recursionlimit

24 years agoClear errors raised by PyObject_Compare() without losing any existing
Fred Drake [Thu, 31 Aug 2000 19:04:07 +0000 (19:04 +0000)]
Clear errors raised by PyObject_Compare() without losing any existing
exception context.  This avoids improperly propogating errors raised by
a user-defined __cmp__() by a subsequent lookup operation.

This patch does *not* include the performance enhancement patch for
dictionaries with string keys only; that will be checked in separately.

This closes SourceForge patch #101277 and bug #112558.

24 years agoThis module has a poor name, since it can be used under FreeBSD and
Jeremy Hylton [Thu, 31 Aug 2000 18:11:07 +0000 (18:11 +0000)]
This module has a poor name, since it can be used under FreeBSD and
Linux.  Perhaps winaudio would be better, as it would offend both
parties equally.

tg@freebsd.org: allow this module to compile under FreeBSD
(he suggests voxwareaudio)

24 years agopatch #101733: fix glitch in FreeBSD conf
Jeremy Hylton [Thu, 31 Aug 2000 17:45:35 +0000 (17:45 +0000)]
patch #101733: fix glitch in FreeBSD conf

24 years agoDocument the limitation that urllib does not work with proxies which
Fred Drake [Thu, 31 Aug 2000 17:23:35 +0000 (17:23 +0000)]
Document the limitation that urllib does not work with proxies which
require authenication.  This is an implementation limitation rather than
required behavior, and may be fixed in the future.

This closes SourceForge bug #111725.

24 years agoIf Setup is older than Setup.in, issue a bold warning that the Setup may
Fred Drake [Thu, 31 Aug 2000 16:56:15 +0000 (16:56 +0000)]
If Setup is older than Setup.in, issue a bold warning that the Setup may
need to be checked to make sure all the latest information is present.

This closes SourceForge patch #101275.

24 years agoRemove obsolete --with(out)-readline configure option
Vladimir Marangozov [Thu, 31 Aug 2000 16:40:08 +0000 (16:40 +0000)]
Remove obsolete --with(out)-readline configure option

24 years agoAdded abstract.
Greg Ward [Thu, 31 Aug 2000 16:36:31 +0000 (16:36 +0000)]
Added abstract.

24 years agoUNARY_NEG is supposed to be UNARY_NEGATIVE (spotted by Charles Waldman
Fred Drake [Thu, 31 Aug 2000 16:26:35 +0000 (16:26 +0000)]
UNARY_NEG is supposed to be UNARY_NEGATIVE (spotted by Charles Waldman
<cgw@fnal.gov>).

Fix minor problem with EXTENDED_ARG description markup..

24 years agoSkip Montanaro <skip@mojam.com>:
Fred Drake [Thu, 31 Aug 2000 16:13:20 +0000 (16:13 +0000)]
Skip Montanaro <skip@mojam.com>:
Update the generated files related to the autoconf support for BSD db.

This closes SourceForge patch #101272.

24 years agoSkip Montanaro <skip@mojam.com>:
Fred Drake [Thu, 31 Aug 2000 16:11:07 +0000 (16:11 +0000)]
Skip Montanaro <skip@mojam.com>:
Update the build structures to automatically detect the presence of BSD db,
including the proper name of the header file to include.  Has all the
expected niceties associated with yet-more-configure-options.  ;)

This checkin includes changes for non-generated files only; subsequent
checkin will catch those.

This is part of SourceForge patch #101272.

24 years agofixes bug #111951
Jeremy Hylton [Thu, 31 Aug 2000 15:48:10 +0000 (15:48 +0000)]
fixes bug #111951
applies patch #101369 by Moshe Zadke
use explicit list of always safe characters instead of string.letters
add test case

24 years agoUpdate some version information for tools based on prodding from Greg Ward.
Fred Drake [Thu, 31 Aug 2000 15:29:38 +0000 (15:29 +0000)]
Update some version information for tools based on prodding from Greg Ward.

24 years ago_PySys_Init(): When setting up sys.version_info, use #if/#elif.../#endif
Fred Drake [Thu, 31 Aug 2000 15:21:11 +0000 (15:21 +0000)]
_PySys_Init():  When setting up sys.version_info, use #if/#elif.../#endif
                instead of four #if/#endif blocks.  This shortens the
                code and improves readability.

24 years agoapply patch #101362 by Vladimir Marangozov
Jeremy Hylton [Thu, 31 Aug 2000 15:10:24 +0000 (15:10 +0000)]
apply patch #101362 by Vladimir Marangozov
also initial static debug variable to 0

24 years agoGet rid of "sec:" prefix that slipped into a couple of \label's.
Greg Ward [Thu, 31 Aug 2000 14:47:05 +0000 (14:47 +0000)]
Get rid of "sec:" prefix that slipped into a couple of \label's.

24 years agoGNUTranslations.BE_MAGIC: don't be so clever in calculating this from
Barry Warsaw [Thu, 31 Aug 2000 10:45:54 +0000 (10:45 +0000)]
GNUTranslations.BE_MAGIC: don't be so clever in calculating this from
LE_MAGIC; it breaks on Tru64.

24 years agoNew method getnamespace.
Sjoerd Mullender [Thu, 31 Aug 2000 10:27:00 +0000 (10:27 +0000)]
New method getnamespace.
Since the application never gets to see the namespace abbreviation
used in the XML document, but some applications may need to know them,
we provide this method.

24 years agoBe a little more careful to avoid including style information in the
Fred Drake [Thu, 31 Aug 2000 07:19:07 +0000 (07:19 +0000)]
Be a little more careful to avoid including style information in the
generated markup.

Don't be careless with the navigation icons!  We should use the blank
icon where there is not anyplace to go for a particular position in the
navigation bar.

24 years agoAlways room to remove more formatting from the HTML!
Fred Drake [Thu, 31 Aug 2000 07:15:57 +0000 (07:15 +0000)]
Always room to remove more formatting from the HTML!

24 years agoFix grouping: this is how I intended it, misguided as I was in boolean
Thomas Wouters [Thu, 31 Aug 2000 07:02:19 +0000 (07:02 +0000)]
Fix grouping: this is how I intended it, misguided as I was in boolean
operator associativity.

24 years agoMove common parameters to mkhowto to a variable, add up-link from the
Fred Drake [Thu, 31 Aug 2000 07:00:17 +0000 (07:00 +0000)]
Move common parameters to mkhowto to a variable, add up-link from the
generated documents to the document index.

24 years agoAdd --up-link and --up-title parameters to allow linking the top level
Fred Drake [Thu, 31 Aug 2000 06:58:34 +0000 (06:58 +0000)]
Add --up-link and --up-title parameters to allow linking the top level
of the generated document to an external index.  These correspond to the
-up_url and -up_title parameters of LaTeX2HTML.

24 years agoPush some table header formatting to the style sheet; this also helps
Fred Drake [Thu, 31 Aug 2000 06:22:54 +0000 (06:22 +0000)]
Push some table header formatting to the style sheet; this also helps
separate some of the ties between l2hinit.perl and python.perl.

Revamp the "title page" construction to allow more flexibility.

24 years agoRemove obsolete scripts.
Fred Drake [Thu, 31 Aug 2000 06:15:30 +0000 (06:15 +0000)]
Remove obsolete scripts.

24 years agoAdd --l2h-init option, which can augment the standard LaTeX2HTML
Fred Drake [Thu, 31 Aug 2000 06:14:38 +0000 (06:14 +0000)]
Add --l2h-init option, which can augment the standard LaTeX2HTML
initialization with additional Perl files.  This can be given more
than once.

24 years agoCentralize the processing logic for LaTeX documents into the mkhowto script;
Fred Drake [Thu, 31 Aug 2000 06:12:35 +0000 (06:12 +0000)]
Centralize the processing logic for LaTeX documents into the mkhowto script;
do not use mkdvi.sh or mkhtl.sh any more.

This slows down building all versions of the documentation, but if you are
only building one format, it does not matter.

24 years agoRelocate the popen2 documentation since it is now substantially more
Fred Drake [Thu, 31 Aug 2000 06:09:26 +0000 (06:09 +0000)]
Relocate the popen2 documentation since it is now substantially more
portable.

24 years agoPyOS_CheckStack(): Better ANSI'fy this while we're at it.
Fred Drake [Thu, 31 Aug 2000 05:52:44 +0000 (05:52 +0000)]
PyOS_CheckStack():  Better ANSI'fy this while we're at it.

24 years agoDocument PyOS_CheckStack().
Fred Drake [Thu, 31 Aug 2000 05:50:40 +0000 (05:50 +0000)]
Document PyOS_CheckStack().
Fix a couple of really minor markup nits.

24 years agoAdd a comment explaining the return value of PyOS_CheckStack().
Fred Drake [Thu, 31 Aug 2000 05:38:39 +0000 (05:38 +0000)]
Add a comment explaining the return value of PyOS_CheckStack().

24 years agoPeter Schneider-Kamp <nowonder@nowonder.de>:
Fred Drake [Thu, 31 Aug 2000 05:18:54 +0000 (05:18 +0000)]
Peter Schneider-Kamp <nowonder@nowonder.de>:
Remove some of GCC's warning in -Wstrict-prototypes mode.

This closes SourceForge patch #101342.

24 years agoRemoved compiler warning about wanting explicit grouping around &&
Fred Drake [Thu, 31 Aug 2000 05:15:44 +0000 (05:15 +0000)]
Removed compiler warning about wanting explicit grouping around &&
expression next to a || expression; this is a readability-inspired
warning from GCC.

24 years agoAdded a little more dependency information.
Fred Drake [Thu, 31 Aug 2000 05:11:48 +0000 (05:11 +0000)]
Added a little more dependency information.

24 years agoAdded prototype for PyToken_ThreeChars(), to remove compiler warning
Fred Drake [Thu, 31 Aug 2000 05:09:57 +0000 (05:09 +0000)]
Added prototype for PyToken_ThreeChars(), to remove compiler warning
in Parser/grammar.c.

24 years agoAdded note about documenting the SSL support in the socket module.
Fred Drake [Thu, 31 Aug 2000 05:08:00 +0000 (05:08 +0000)]
Added note about documenting the SSL support in the socket module.

24 years agoRemove one compiler warning found with -Wstrict-prototypes.
Fred Drake [Thu, 31 Aug 2000 05:07:19 +0000 (05:07 +0000)]
Remove one compiler warning found with -Wstrict-prototypes.

24 years agotg@freebsd.org
Jeremy Hylton [Thu, 31 Aug 2000 02:42:11 +0000 (02:42 +0000)]
tg@freebsd.org
close SF patch #101354

24 years agoAdd /GX to 'compile_options'. This is definitely needed for C++ source;
Greg Ward [Thu, 31 Aug 2000 00:31:07 +0000 (00:31 +0000)]
Add /GX to 'compile_options'.  This is definitely needed for C++ source;
according to the MS docs it enables exception-handling, and (according
to Alex Martelli <aleaxit@yahoo.com>) is needed to compile without
getting warnings from standard C++ library headers.  Apparently
it doesn't cause any problems with C code, so I haven't bothered
conditionalizing the use of /GX.

24 years agoadds support for --with-pydebug configure option
Skip Montanaro [Wed, 30 Aug 2000 22:29:48 +0000 (22:29 +0000)]
adds support for --with-pydebug configure option

24 years agoBetter error message with UnboundLocalError
Paul Prescod [Wed, 30 Aug 2000 20:25:01 +0000 (20:25 +0000)]
Better error message with UnboundLocalError

24 years agoAdd ".cxx" to the list of known C++ extensions.
Greg Ward [Wed, 30 Aug 2000 17:32:24 +0000 (17:32 +0000)]
Add ".cxx" to the list of known C++ extensions.

24 years agoAdded docstring for 'wrap()' function.
Greg Ward [Wed, 30 Aug 2000 17:16:27 +0000 (17:16 +0000)]
Added docstring for 'wrap()' function.

24 years agoPyOS_CheckStack() returns 1 when failing, not -1.
Guido van Rossum [Wed, 30 Aug 2000 15:53:50 +0000 (15:53 +0000)]
PyOS_CheckStack() returns 1 when failing, not -1.

24 years agoPush a little more here to avoid style information in the generation
Fred Drake [Wed, 30 Aug 2000 15:02:13 +0000 (15:02 +0000)]
Push a little more here to avoid style information in the generation
scripts as much as possible.

24 years agoRemove the reference to stdwin. The comment was still true, but no
Fred Drake [Wed, 30 Aug 2000 14:33:02 +0000 (14:33 +0000)]
Remove the reference to stdwin.  The comment was still true, but no
longer meaningful to a new user, since stdwin is long gone.

24 years agodoc changes to parallel changes to calendar.py module
Skip Montanaro [Wed, 30 Aug 2000 14:02:25 +0000 (14:02 +0000)]
doc changes to parallel changes to calendar.py module

24 years agopatches from David Goodger. Closes patch 101085.
Skip Montanaro [Wed, 30 Aug 2000 14:01:28 +0000 (14:01 +0000)]
patches from David Goodger.  Closes patch 101085.

* deletes cache
* adds firstweekday and setfirstweekday functions that allow user to control
  which day of the week is first when displaying calendars
* adds month, week, calendar functions that return their results instead of
  printing them
* adds symbolic constants MONDAY, ..., SUNDAY so users need not remember the
  ordinal values of the weekdays

24 years agoFix markup error
Andrew M. Kuchling [Wed, 30 Aug 2000 12:55:42 +0000 (12:55 +0000)]
Fix markup error

24 years agoMarkup revisions. Nothing was actually required to be able to format it,
Fred Drake [Wed, 30 Aug 2000 04:19:20 +0000 (04:19 +0000)]
Markup revisions.  Nothing was actually required to be able to format it,
but many conventions were broken.

24 years agoExpand the test suite to test both the GNU gettext and translation
Barry Warsaw [Wed, 30 Aug 2000 03:32:07 +0000 (03:32 +0000)]
Expand the test suite to test both the GNU gettext and translation
class-based APIs.

24 years agoAdded a couple of links to online documentation. Reasonable since this
Fred Drake [Wed, 30 Aug 2000 03:30:40 +0000 (03:30 +0000)]
Added a couple of links to online documentation.  Reasonable since this
file is not used in the online documentation.

24 years agoAdded James Henstridge
Barry Warsaw [Wed, 30 Aug 2000 03:30:28 +0000 (03:30 +0000)]
Added James Henstridge

24 years agoFinalize this module for Python 2.0 based on feedback and input from
Barry Warsaw [Wed, 30 Aug 2000 03:29:58 +0000 (03:29 +0000)]
Finalize this module for Python 2.0 based on feedback and input from
Martin von Loewis, Peter Funk, James Henstridge, Francois Pinard, and
Marc-Andre Lemburg.

24 years agoOops, spell MAL's name right.
Barry Warsaw [Wed, 30 Aug 2000 03:28:17 +0000 (03:28 +0000)]
Oops, spell MAL's name right.

24 years agoDocumentation for the gettext module.
Barry Warsaw [Wed, 30 Aug 2000 03:27:10 +0000 (03:27 +0000)]
Documentation for the gettext module.

24 years agoAdded libgettext.tex
Barry Warsaw [Wed, 30 Aug 2000 03:26:17 +0000 (03:26 +0000)]
Added libgettext.tex

24 years agoRemoved forgotten text in list comprehensions section (taken from the Haskell
Andrew M. Kuchling [Wed, 30 Aug 2000 00:51:02 +0000 (00:51 +0000)]
Removed forgotten text in list comprehensions section (taken from the Haskell
    description of listcomps and used as inspiration)
Rearranged sections (which accounts for much of the size of the diffs)
Added section on augmented assignment
Mentioned 'print >>file'
Broke up the "Core Changes" section into subsections

24 years agoMove a little more here.
Fred Drake [Tue, 29 Aug 2000 21:57:34 +0000 (21:57 +0000)]
Move a little more here.

24 years agoVarious tweaks and improvements by Thomas Wouters (who apparently lost
Guido van Rossum [Tue, 29 Aug 2000 21:36:40 +0000 (21:36 +0000)]
Various tweaks and improvements by Thomas Wouters (who apparently lost
the patch or forgot about it -- this is easier than reminding him).

24 years agoAdd a --style option to allow specifying an alternate CSS style sheet for
Fred Drake [Tue, 29 Aug 2000 18:15:05 +0000 (18:15 +0000)]
Add a --style option to allow specifying an alternate CSS style sheet for
HTML generation; the machinery was there but no option to set it was
defined.

Simplify some of the path-math since we can assume a recent version of
Python.

24 years agoFix for two problems on FreeBSD:
Andrew M. Kuchling [Tue, 29 Aug 2000 16:53:34 +0000 (16:53 +0000)]
Fix for two problems on FreeBSD:
In test_poll1(), unregister file descriptors as they're closed,
    and also close the read end of the pipe
In test_poll2(), make the code assume less about the combinations of flag
    bits that will be returned

24 years agoAdd a comment noting that the dependency information is stored in
Fred Drake [Tue, 29 Aug 2000 16:30:21 +0000 (16:30 +0000)]
Add a comment noting that the dependency information is stored in
Makefile.deps.

24 years agoSome cleanup for FreeBSD. This gets rid of version numbers and
Guido van Rossum [Tue, 29 Aug 2000 15:06:49 +0000 (15:06 +0000)]
Some cleanup for FreeBSD. This gets rid of version numbers and
figures out old (a.out) and newer (ELF) systems, similar to NetBSD.

(I'm assuming this is also by tg@FreeBSD.org.)

24 years ago"tg@FreeBSD.org" writes:
Guido van Rossum [Tue, 29 Aug 2000 15:00:11 +0000 (15:00 +0000)]
"tg@FreeBSD.org" writes:

Our (FreeBSD's) security officer doesn't like
group-writable directories and sent a patch;
don't install *.orig.

24 years agoAdd support for FreeBSD-[45].
Guido van Rossum [Tue, 29 Aug 2000 14:57:27 +0000 (14:57 +0000)]
Add support for FreeBSD-[45].

-- tg@FreeBSD.org

24 years agoPatch by tg@FreeBSD.org to try /var/tmp first.
Guido van Rossum [Tue, 29 Aug 2000 14:55:03 +0000 (14:55 +0000)]
Patch by tg@FreeBSD.org to try /var/tmp first.
This helps on 4.4BSD-based systems.

24 years agoThese files are not part of the current plan.
Fred Drake [Tue, 29 Aug 2000 06:08:06 +0000 (06:08 +0000)]
These files are not part of the current plan.

24 years agoDocument "print >> None"
Barry Warsaw [Tue, 29 Aug 2000 04:57:34 +0000 (04:57 +0000)]
Document "print >> None"

24 years agoAdded tests of "print >> None"
Barry Warsaw [Tue, 29 Aug 2000 04:57:10 +0000 (04:57 +0000)]
Added tests of "print >> None"

24 years agoeval_code2(): Guido provides this patch for his suggested elaboration
Barry Warsaw [Tue, 29 Aug 2000 04:56:13 +0000 (04:56 +0000)]
eval_code2(): Guido provides this patch for his suggested elaboration
of extended print.  If the file object being printed to is None, then
sys.stdout is used.

24 years agoAdded 'script_name' and 'script_args' instance attributes to Distribution.
Greg Ward [Tue, 29 Aug 2000 01:15:18 +0000 (01:15 +0000)]
Added 'script_name' and 'script_args' instance attributes to Distribution.
Changed 'core.setup()' so it sets them to reasonable defaults.
Tweaked how the "usage" string is generated: 'core' now provides
  'gen_usage()', which is used instead of 'USAGE'.
Modified "build_py" and "sdist" commands to refer to
  'self.distribution.script_name' rather than 'sys.argv[0]'.

24 years agoAdded os.popen2() and os.popen3() for non-Windows platforms.
Fred Drake [Mon, 28 Aug 2000 17:20:05 +0000 (17:20 +0000)]
Added os.popen2() and os.popen3() for non-Windows platforms.

24 years agooops. accidentally reintroduced a memory leak. put the bugfix back.
Fredrik Lundh [Sun, 27 Aug 2000 21:32:46 +0000 (21:32 +0000)]
oops.  accidentally reintroduced a memory leak.  put the bugfix back.

24 years agodon't mistake memory errors (including reaching the recursion limit)
Fredrik Lundh [Sun, 27 Aug 2000 20:59:47 +0000 (20:59 +0000)]
don't mistake memory errors (including reaching the recursion limit)
with success.  also, check return values from the mark functions.

this addresses (but doesn't really solve) bug #112693, and low-memory
problems reported by jack jansen.

24 years agoFix line-endings.
Greg Ward [Sun, 27 Aug 2000 20:44:13 +0000 (20:44 +0000)]
Fix line-endings.
Fix bad operator precedence: should be "(metadata or '') + '\n'".

24 years agoReplace the run-time 'future-bytecode-stream-inspection' hack to find out
Thomas Wouters [Sun, 27 Aug 2000 20:31:27 +0000 (20:31 +0000)]
Replace the run-time 'future-bytecode-stream-inspection' hack to find out
how 'import' was called with a compiletime mechanism: create either a tuple
of the import arguments, or None (in the case of a normal import), add it to
the code-block constants, and load it onto the stack before calling
IMPORT_NAME.

24 years agoHard to believe Guido compiled this! Function lacked a return stmt.
Tim Peters [Sun, 27 Aug 2000 20:18:17 +0000 (20:18 +0000)]
Hard to believe Guido compiled this!  Function lacked a return stmt.

24 years agoRe-allow 'import mod.submod as s', and change its meaning to what it should
Thomas Wouters [Sun, 27 Aug 2000 20:16:32 +0000 (20:16 +0000)]
Re-allow 'import mod.submod as s', and change its meaning to what it should
mean; the same as 'from mod import submod as s'.

24 years agoThe new PyEval_ReInitThreads wasn't declared in ceval.h; compiler wngs.
Tim Peters [Sun, 27 Aug 2000 20:00:35 +0000 (20:00 +0000)]
The new PyEval_ReInitThreads wasn't declared in ceval.h; compiler wngs.

24 years agoAdd three new APIs: PyRun_AnyFileEx(), PyRun_SimpleFileEx(),
Guido van Rossum [Sun, 27 Aug 2000 19:21:52 +0000 (19:21 +0000)]
Add three new APIs: PyRun_AnyFileEx(), PyRun_SimpleFileEx(),
PyRun_FileEx().  These are the same as their non-Ex counterparts but
have an extra argument, a flag telling them to close the file when
done.

Then this is used by Py_Main() and execfile() to close the file after
it is parsed but before it is executed.

Adding APIs seems strange given the feature freeze but it's the only
way I see to close the bug report without incompatible changes.

[ Bug #110616 ] source file stays open after parsing is done (PR#209)

24 years agoimplements PyOS_CheckStack for Windows and MSVC. this fixes a
Fredrik Lundh [Sun, 27 Aug 2000 19:15:31 +0000 (19:15 +0000)]
implements PyOS_CheckStack for Windows and MSVC.  this fixes a
couple of potential stack overflows, including bug #110615.

closes patch #101238

24 years agoOops, one pop too many.
Thomas Wouters [Sun, 27 Aug 2000 19:01:33 +0000 (19:01 +0000)]
Oops, one pop too many.

24 years agoCharles Waldman's patch to reinitialize the interpreter lock after a
Guido van Rossum [Sun, 27 Aug 2000 17:34:07 +0000 (17:34 +0000)]
Charles Waldman's patch to reinitialize the interpreter lock after a
fork.  This solves the test_fork1 problem.  (ceval.c, signalmodule.c,
intrcheck.c)

SourceForge: [ Patch #101226 ] make threading fork-safe

24 years agoOpen binary files in binary mode. Fixes test failure under Windows.
Tim Peters [Sat, 26 Aug 2000 21:01:27 +0000 (21:01 +0000)]
Open binary files in binary mode.  Fixes test failure under Windows.

24 years agoFixed this problem.
Thomas Wouters [Sat, 26 Aug 2000 11:34:29 +0000 (11:34 +0000)]
Fixed this problem.

24 years agoDon't enable the 'thread' module if threads are not possible.
Thomas Wouters [Sat, 26 Aug 2000 11:33:43 +0000 (11:33 +0000)]
Don't enable the 'thread' module if threads are not possible.

24 years agoTim Peters:
Moshe Zadka [Sat, 26 Aug 2000 09:59:01 +0000 (09:59 +0000)]
Tim Peters:
Again due to the duplicate copies of test_support, the checked-in
"expected output" file actually contains verbose-mode output.

24 years agoAnother new test using "from test.test_support import ...", causing
Tim Peters [Sat, 26 Aug 2000 08:24:18 +0000 (08:24 +0000)]
Another new test using "from test.test_support import ...", causing
subtle breakage on Windows (the test is skipped here, but the TestSkipped
exception wasn't recognized as such, because of duplicate copies of
test_support got loaded; so the test looks like a failure under Windows
instead of a skip).
Repaired the import, but

        THIS TEST *WILL* FAIL ON OTHER SYSTEMS NOW!

Again due to the duplicate copies of test_support, the checked-in
"expected output" file actually contains verbose-mode output.  I can't
generate the *correct* non-verbose output on my system.  So, somebody
please do that.

24 years agoTry to supply a prototype for the module init function but avoid
Tim Peters [Sat, 26 Aug 2000 07:38:06 +0000 (07:38 +0000)]
Try to supply a prototype for the module init function but avoid
Windows "inconsistent linkage" warnings at the same time.  I agree
with Mark Hammond that the whole DL_IMPORT/DL_EXPORT macro system
needs an overhaul; this is just an expedient hack until then.

24 years agoNew release of the Windows installer from Thomas Heller.
Greg Ward [Sat, 26 Aug 2000 02:40:10 +0000 (02:40 +0000)]
New release of the Windows installer from Thomas Heller.
The known bug (bogus error message when an empty file is
extracted) is fixed.

Other changes:

- The target-compile and target-optimize flags of bdist_wininst
  are gone. It is no longer possible to compile the python
  files during installation.
- The zlib module is no longer required or used by bdist_wininst.

- I moved the decompression/extraction code into a separate
  file (extract.c).

- The installer stub is now compressed by UPX (see
  http://upx.tsx.org/). This reduces the size of the exe
  (and thus the overhead of the final installer program)
  from 40 kB to 16 kB.

- The installer displays a more uptodate user wizard-like
  user interface, also containing a graphic: Just's Python Powered logo.
  (I could not convince myself to use one of the BeOpen logos).
- The installation progress bar now moves correctly.

24 years agoBumped version to 0.9.2pre.
Greg Ward [Sat, 26 Aug 2000 02:37:07 +0000 (02:37 +0000)]
Bumped version to 0.9.2pre.

24 years agoIn 'check_extensions_list()': when converting old-style 'buildinfo' dict,
Greg Ward [Sat, 26 Aug 2000 02:21:55 +0000 (02:21 +0000)]
In 'check_extensions_list()': when converting old-style 'buildinfo' dict,
don't assign None to any attributes of the Extension object.

24 years agoFixed a serious typo.
Marc-André Lemburg [Fri, 25 Aug 2000 22:49:05 +0000 (22:49 +0000)]
Fixed a serious typo.

24 years agoUpdate the parser module to support augmented assignment.
Fred Drake [Fri, 25 Aug 2000 22:42:40 +0000 (22:42 +0000)]
Update the parser module to support augmented assignment.

Add some test cases.

24 years agoFix to bug [ Bug #111860 ] file.writelines() crashes.
Marc-André Lemburg [Fri, 25 Aug 2000 22:39:50 +0000 (22:39 +0000)]
Fix to bug [ Bug #111860 ] file.writelines() crashes.
file.writelines() now tries to emulate the behaviour of file.write()
as closely as possible. Due to the problems with releasing the
interpreter lock the solution isn't exactly optimal, but still better
than not supporting the file.write() semantics at all.

24 years agoOutput of the new test
Marc-André Lemburg [Fri, 25 Aug 2000 22:37:51 +0000 (22:37 +0000)]
Output of the new test

24 years agoNew test suite for file objects by Jeremy Hilton. This will need
Marc-André Lemburg [Fri, 25 Aug 2000 22:37:31 +0000 (22:37 +0000)]
New test suite for file objects by Jeremy Hilton. This will need
to be extended somewhat -- right now it only tests the .writelines()
method.