]> granicus.if.org Git - python/log
python
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.

24 years agoHow-to document for using Python for CGI scripting. Not complete and untested, but...
Jack Jansen [Fri, 25 Aug 2000 22:36:13 +0000 (22:36 +0000)]
How-to document for using Python for CGI scripting. Not complete and untested, but I'm checking it in so it won't get lost.

24 years agoLast set of CW Pro 5 projects (probably)
Jack Jansen [Fri, 25 Aug 2000 22:33:27 +0000 (22:33 +0000)]
Last set of CW Pro 5 projects (probably)

24 years agoInclude xx project, exclude all the others.
Jack Jansen [Fri, 25 Aug 2000 22:30:24 +0000 (22:30 +0000)]
Include xx project, exclude all the others.

24 years agoAdded prototype for DlgObj_ConvertToWindow().
Jack Jansen [Fri, 25 Aug 2000 22:28:08 +0000 (22:28 +0000)]
Added prototype for DlgObj_ConvertToWindow().

24 years agoAdded routine DlgObj_ConvertToWindow().
Jack Jansen [Fri, 25 Aug 2000 22:25:54 +0000 (22:25 +0000)]
Added routine DlgObj_ConvertToWindow().
GetDialogWindow() returns an existing window.
Added a comment that the methodchain Dialogs->Windows is suspect under Carbon/MacOSX, but we need it under Carbon. No solution yet:-(

24 years agoAdded a prototype for mstats().
Jack Jansen [Fri, 25 Aug 2000 22:18:20 +0000 (22:18 +0000)]
Added a prototype for mstats().

24 years agoWindow objects now also have an AutoDispose funcpointer (set for our windows, cleared...
Jack Jansen [Fri, 25 Aug 2000 22:17:51 +0000 (22:17 +0000)]
Window objects now also have an AutoDispose funcpointer (set for our windows, cleared for foreign windows). Needed mainly for Carbon (where we don't know about the windows belonging to our dialogs).
Fixed a few calls that return an ExistingWindow.

24 years agoCall GetDialogWindow to convert dialogs to windows.
Jack Jansen [Fri, 25 Aug 2000 22:06:19 +0000 (22:06 +0000)]
Call GetDialogWindow to convert dialogs to windows.

24 years agoHMGetBalloonWindow should try to return an existing window.
Jack Jansen [Fri, 25 Aug 2000 22:04:24 +0000 (22:04 +0000)]
HMGetBalloonWindow should try to return an existing window.

24 years ago- Added pyexpat.
Jack Jansen [Fri, 25 Aug 2000 22:03:34 +0000 (22:03 +0000)]
- Added pyexpat.
- Renamed socket to _socket.

24 years agoDon't use our own malloc any more. It made test_longexp crash due to its optimization...
Jack Jansen [Fri, 25 Aug 2000 22:02:44 +0000 (22:02 +0000)]
Don't use our own malloc any more. It made test_longexp crash due to its optimization to lock blocks into a specific size malloc requests. This loses 15% performance, but that we'll have to live with:-(

24 years agoDon't redefine ERSCH, EINTR and ENODEV if we're using GUSI2.
Jack Jansen [Fri, 25 Aug 2000 22:00:22 +0000 (22:00 +0000)]
Don't redefine ERSCH, EINTR and ENODEV if we're using GUSI2.

24 years agoRemoved debug output.
Jack Jansen [Fri, 25 Aug 2000 21:58:00 +0000 (21:58 +0000)]
Removed debug output.

24 years agoCheaper implementation of PyOS_CheckStack: only call StackSpace once and keep a senti...
Jack Jansen [Fri, 25 Aug 2000 21:57:23 +0000 (21:57 +0000)]
Cheaper implementation of PyOS_CheckStack: only call StackSpace once and keep a sentinel in a static variable.

24 years agoClosing patch #101120 -- After everyone agreed.
Moshe Zadka [Fri, 25 Aug 2000 21:47:56 +0000 (21:47 +0000)]
Closing patch #101120 -- After everyone agreed.

24 years agoFix to [ Bug #111165 ] doc-string removal masked by PYTHONOPTIMIZE
Marc-André Lemburg [Fri, 25 Aug 2000 21:00:46 +0000 (21:00 +0000)]
Fix to [ Bug #111165 ] doc-string removal masked by PYTHONOPTIMIZE

24 years ago_expand_lang(), _find(): Added support for unaliasing and expanded the
Barry Warsaw [Fri, 25 Aug 2000 20:26:43 +0000 (20:26 +0000)]
_expand_lang(), _find(): Added support for unaliasing and expanded the
language found in the environment variable, contributed by James
Henstridge.

24 years agoGroup consensus is that supporting alternative locale categories is
Barry Warsaw [Fri, 25 Aug 2000 19:53:51 +0000 (19:53 +0000)]
Group consensus is that supporting alternative locale categories is
useless.  So the test of the dcgettext() function is removed.

24 years agoGroup consensus is that supporting alternative locale categories is
Barry Warsaw [Fri, 25 Aug 2000 19:53:17 +0000 (19:53 +0000)]
Group consensus is that supporting alternative locale categories is
useless.  So the category argument on _find() is removed, as is the
dcgettext() function.

24 years agoSet this test up so that we don't have to create xx/LC_MESSAGES in the
Barry Warsaw [Fri, 25 Aug 2000 19:50:38 +0000 (19:50 +0000)]
Set this test up so that we don't have to create xx/LC_MESSAGES in the
cvs tree.  It creates the directory and gettext.mo file on the fly,
from the base64 encode binary data.

24 years agoupdated test output
Barry Warsaw [Fri, 25 Aug 2000 19:49:28 +0000 (19:49 +0000)]
updated test output

24 years agooutput from test_gettext.py test suite
Barry Warsaw [Fri, 25 Aug 2000 19:15:00 +0000 (19:15 +0000)]
output from test_gettext.py test suite

24 years agoTest suite for new gettext.py module.
Barry Warsaw [Fri, 25 Aug 2000 19:14:25 +0000 (19:14 +0000)]
Test suite for new gettext.py module.

24 years agoInitial revision of gettext support for Python. This will undergo
Barry Warsaw [Fri, 25 Aug 2000 19:13:37 +0000 (19:13 +0000)]
Initial revision of gettext support for Python.  This will undergo
some changes.

24 years agoinitpyexpat(): Code cleanup; makes it more robust and reduces warnings.
Fred Drake [Fri, 25 Aug 2000 18:03:30 +0000 (18:03 +0000)]
initpyexpat():  Code cleanup; makes it more robust and reduces warnings.
                Added prototype to remove yet another warning.

Make a number of the handlers and helpers "static" since they are not
used in other C source files.  This also reduces the number of warnings.

Make a lot of the code "more Python".  (Need to get the style guide done!)

24 years agoAdd reference to RFC 2396 in "See also" section.
Fred Drake [Fri, 25 Aug 2000 17:29:35 +0000 (17:29 +0000)]
Add reference to RFC 2396 in "See also" section.
Minor cleanups.

24 years agoJeremy missed a bind() call when updating these demos. ;)
Fred Drake [Fri, 25 Aug 2000 16:03:27 +0000 (16:03 +0000)]
Jeremy missed a bind() call when updating these demos.  ;)

24 years agoupdate demo scripts to use addr tuples for bind and connect
Jeremy Hylton [Fri, 25 Aug 2000 15:38:41 +0000 (15:38 +0000)]
update demo scripts to use addr tuples for bind and connect
closes bug #111928

24 years agoNot every OS that support poll seems to support POLLMSG.
Sjoerd Mullender [Fri, 25 Aug 2000 13:59:18 +0000 (13:59 +0000)]
Not every OS that support poll seems to support POLLMSG.

24 years agoPass data on to retrieve method.
Sjoerd Mullender [Fri, 25 Aug 2000 11:23:36 +0000 (11:23 +0000)]
Pass data on to retrieve method.
Don't people *test* their changes?

24 years agoCall PyErr_Clear() to clear the AttributeError raised by GetAttr.
Thomas Wouters [Fri, 25 Aug 2000 10:47:46 +0000 (10:47 +0000)]
Call PyErr_Clear() to clear the AttributeError raised by GetAttr.

24 years agoIn readme.txt, make what's needed to build the "optional" subprojects
Tim Peters [Fri, 25 Aug 2000 06:52:44 +0000 (06:52 +0000)]
In readme.txt, make what's needed to build the "optional" subprojects
much more explicit.  Also document that we're moving to Tcl/Tk 8.3.2.
Simplify .dsp files by getting rid of useless include paths.
.wse file changed to reflect that my setup is different than Guido's:
if you *build* a Python distro using python20.wse, beware!

24 years agoFix allowable node-types for assignment, need to add 'listmaker'.
Thomas Wouters [Fri, 25 Aug 2000 05:41:11 +0000 (05:41 +0000)]
Fix allowable node-types for assignment, need to add 'listmaker'.
(This fix is a bit broken, just as the test already was: the test for
testlist and listmaker are done always, whereas the test for exprlist and
the actual abort() are only done if Py_DEBUG is defined. Suggestions
welcome, I guess ;)

24 years agoRevised documentation relevant to SourceForge patch #100837
Fred Drake [Fri, 25 Aug 2000 05:13:42 +0000 (05:13 +0000)]
Revised documentation relevant to SourceForge patch #100837
(simplify making HTTP POST requests).

Added documentation of URLopener.version and how it can be overridden.

24 years agoDocumentation for poll() interface (SF patch #100852)
Andrew M. Kuchling [Fri, 25 Aug 2000 01:21:28 +0000 (01:21 +0000)]
Documentation for poll() interface (SF patch #100852)

24 years agoTest suite for poll() interface (SF patch #100852)
Andrew M. Kuchling [Fri, 25 Aug 2000 01:18:45 +0000 (01:18 +0000)]
Test suite for poll() interface (SF patch #100852)

24 years agoAdd interface to poll() system call (SF patch #100852)
Andrew M. Kuchling [Fri, 25 Aug 2000 01:15:33 +0000 (01:15 +0000)]
Add interface to poll() system call (SF patch #100852)

24 years agoAdd configure tests for poll() (SF patch #100852)
Andrew M. Kuchling [Fri, 25 Aug 2000 01:14:08 +0000 (01:14 +0000)]
Add configure tests for poll() (SF patch #100852)

24 years agoAdjust the name for the socket module in the SSL line.
Thomas Wouters [Thu, 24 Aug 2000 22:54:53 +0000 (22:54 +0000)]
Adjust the name for the socket module in the SSL line.

24 years agoAdd missing opcodes. Thanx to jeremy for reminding me ;)
Thomas Wouters [Thu, 24 Aug 2000 22:44:53 +0000 (22:44 +0000)]
Add missing opcodes. Thanx to jeremy for reminding me ;)

24 years agoImprove the exceptions raised by PyErr_BadInternalCall(); adding the
Fred Drake [Thu, 24 Aug 2000 22:38:39 +0000 (22:38 +0000)]
Improve the exceptions raised by PyErr_BadInternalCall(); adding the
filename and line number of the call site to allow esier debugging.

This closes SourceForge patch #101214.

24 years agoFix the evil booboos. ;( Causes discussed with Jeremy offline.
Fred Drake [Thu, 24 Aug 2000 22:27:02 +0000 (22:27 +0000)]
Fix the evil booboos.  ;(  Causes discussed with Jeremy offline.

24 years agoRemove the Py_FatalError() from initpyexpat(); the Guido has decreed
Fred Drake [Thu, 24 Aug 2000 21:57:43 +0000 (21:57 +0000)]
Remove the Py_FatalError() from initpyexpat(); the Guido has decreed
that this is not appropriate.

Made somewhat more robust in the face of reload() (exception is not
rebuilt, etc.).

Made the exception a class exception.

24 years agosimple typo that makes regression test test_userstring fail
Peter Schneider-Kamp [Thu, 24 Aug 2000 21:47:34 +0000 (21:47 +0000)]
simple typo that makes regression test test_userstring fail

24 years agoUpdate for augmented assignment, tested & approved by Guido.
Thomas Wouters [Thu, 24 Aug 2000 21:44:52 +0000 (21:44 +0000)]
Update for augmented assignment, tested & approved by Guido.

24 years agoUpdate for augmented assignment.
Thomas Wouters [Thu, 24 Aug 2000 21:08:39 +0000 (21:08 +0000)]
Update for augmented assignment.

24 years agoSupport for augmented assignment in the UserList, UserDict, UserString and
Thomas Wouters [Thu, 24 Aug 2000 20:14:10 +0000 (20:14 +0000)]
Support for augmented assignment in the UserList, UserDict, UserString and
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented
assignment, which should actually be merged with the test_class testcase I
added last week.

24 years agoSupport for three-token characters (**=, >>=, <<=) which was written by
Thomas Wouters [Thu, 24 Aug 2000 20:11:32 +0000 (20:11 +0000)]
Support for three-token characters (**=, >>=, <<=) which was written by
Michael Hudson, and support in general for the augmented assignment syntax.
The graminit.c patch is large!

24 years agoThe real suport for augmented assignment: new opcodes, new PyNumber and
Thomas Wouters [Thu, 24 Aug 2000 20:09:45 +0000 (20:09 +0000)]
The real suport for augmented assignment: new opcodes, new PyNumber and
PySequence methods and functions, new tokens.

24 years agoSupport for the in-place operations introduced by augmented assignment. Only
Thomas Wouters [Thu, 24 Aug 2000 20:08:19 +0000 (20:08 +0000)]
Support for the in-place operations introduced by augmented assignment. Only
the list object supports this currently, but other candidates are
gladly accepted (like arraymodule and such.)

24 years agoRough and incomplete documentation on augmented assignment, which follows
Thomas Wouters [Thu, 24 Aug 2000 20:06:04 +0000 (20:06 +0000)]
Rough and incomplete documentation on augmented assignment, which follows
shortly. Markup also needs checking.

24 years agoRene Liebscher <rliebscher@users.sourceforge.net>:
Fred Drake [Thu, 24 Aug 2000 18:11:21 +0000 (18:11 +0000)]
Rene Liebscher <rliebscher@users.sourceforge.net>:
Install the scripts in the BeOS directory, allowing use from the distutils
on BeOS systems.

The target location has been adjusted to match that used for the AIX
helper scripts.

This closes SourceForge patch #101207.

24 years agoAddresses the other half of Bug #112634 -- the documentation suggested
Guido van Rossum [Thu, 24 Aug 2000 16:20:32 +0000 (16:20 +0000)]
Addresses the other half of Bug #112634 -- the documentation suggested
that you can set self.version *after* calling the base class __init__.
In fact it must be done *before*.

(Fred, maybe the version class variable should be documented now?)

24 years agoPromote the server version from a local variable to a class variable,
Guido van Rossum [Thu, 24 Aug 2000 16:18:04 +0000 (16:18 +0000)]
Promote the server version from a local variable to a class variable,
so that a subclass can override it.

This partly addresses Bug #112634 -- but the documentation is still
wrong, since it suggests that you can set self.version *after* calling
the base class __init__.  In fact it must be done *before*.

I'll fix that too.

24 years agoWhitespace cleanup; now passes the regression test (the last checkin made
Fred Drake [Thu, 24 Aug 2000 14:40:35 +0000 (14:40 +0000)]
Whitespace cleanup; now passes the regression test (the last checkin made
it fail on a TabError (inconsistent tab/space usage)).

Removed a comment about including a test since there is a regression test
for this module.

24 years agoUpdated test suite: test repr() and str() of cookies, and test metadata
Andrew M. Kuchling [Thu, 24 Aug 2000 11:56:19 +0000 (11:56 +0000)]
Updated test suite: test repr() and str() of cookies, and test metadata
    fields with quoted values (as in Path="/acme")