]> granicus.if.org Git - python/log
python
27 years ago*** empty log message ***
Guido van Rossum [Tue, 2 Dec 1997 03:42:17 +0000 (03:42 +0000)]
*** empty log message ***

27 years agoComment out crypt by default; it's not used very much and messes up
Guido van Rossum [Tue, 2 Dec 1997 03:23:01 +0000 (03:23 +0000)]
Comment out crypt by default; it's not used very much and messes up
the default build on Linux (because it requires -lcrypt which isn't
availabel everywhere).

Some improvements to the _tkinter build line suggested by Case Roole.

27 years agoAdded Pareto and Weibull distributions, courtesy Jeremy Hylton.
Guido van Rossum [Tue, 2 Dec 1997 02:47:39 +0000 (02:47 +0000)]
Added Pareto and Weibull distributions, courtesy Jeremy Hylton.

27 years agoAdded strop.split tests when sep is None.
Barry Warsaw [Tue, 2 Dec 1997 00:30:04 +0000 (00:30 +0000)]
Added strop.split tests when sep is None.

27 years agosplit_whitespace(): Make sure delimiter is stripped from the beginning
Barry Warsaw [Tue, 2 Dec 1997 00:29:30 +0000 (00:29 +0000)]
split_whitespace(): Make sure delimiter is stripped from the beginning
of the remainder item (last item in list) when maxsplit is < the
number of occurrences.

27 years agoRequire 'cl when compiling so that the push macro gets picked in Emacs
Barry Warsaw [Mon, 1 Dec 1997 20:03:12 +0000 (20:03 +0000)]
Require 'cl when compiling so that the push macro gets picked in Emacs
19.34.

27 years agoUse $LOGNAME instead of $USER to get the current user -- it seems to
Guido van Rossum [Mon, 1 Dec 1997 18:50:09 +0000 (18:50 +0000)]
Use $LOGNAME instead of $USER to get the current user -- it seems to
be the state of the art.

27 years agoRemoved Queue.py. It's documented now.
Barry Warsaw [Mon, 1 Dec 1997 16:35:54 +0000 (16:35 +0000)]
Removed Queue.py.  It's documented now.

27 years agoInitialize __version__ to the correct version string regardless of
Guido van Rossum [Mon, 1 Dec 1997 15:57:40 +0000 (15:57 +0000)]
Initialize __version__ to the correct version string regardless of
what RCS checkout options are used.  Problem first diagnosed by Marc
Lemburg.

27 years agoIn string.split(), honor maxsplit (if > 0).
Guido van Rossum [Mon, 1 Dec 1997 15:25:19 +0000 (15:25 +0000)]
In string.split(), honor maxsplit (if > 0).

In string.splitfields(), ignore maxsplit if <= 0, rather than ignoring
maxsplit=0 but effectively treating negative numbers the same as
maxsplit=1.  Also made the test for maxsplit slightly more efficient
(set it to the length of the string when <= 0 so the test for its
presence can be omitted from the loop).

27 years ago_Environ(): Added __getinitargs__() method so os.environ.copy() works,
Barry Warsaw [Mon, 1 Dec 1997 04:30:19 +0000 (04:30 +0000)]
_Environ(): Added __getinitargs__() method so os.environ.copy() works,
as does unpickling, as in: pickle.loads(pickle.dumps(os.environ)).

Hope this is right!  Don't shoot me Guido. :-)

27 years agoAdded \indexsubitem definition; functions were previously indexed for the
Fred Drake [Sun, 30 Nov 1997 05:53:22 +0000 (05:53 +0000)]
Added \indexsubitem definition; functions were previously indexed for the
wrong module.

27 years agoAdded \indexsubitem definition. Non-optimal, but two modules are sharing
Fred Drake [Sun, 30 Nov 1997 05:38:44 +0000 (05:38 +0000)]
Added \indexsubitem definition.  Non-optimal, but two modules are sharing
the documentation here.

27 years agoAdded \indexsubitem definition; functions were previously indexed for the
Fred Drake [Sun, 30 Nov 1997 05:27:26 +0000 (05:27 +0000)]
Added \indexsubitem definition; functions were previously indexed for the
wrong module.

27 years agoUpdated \indexsubitem; functions had been indexed for the wrong module.
Fred Drake [Sun, 30 Nov 1997 05:23:47 +0000 (05:23 +0000)]
Updated \indexsubitem; functions had been indexed for the wrong module.

27 years agoAdded tests of strop.replace()
Barry Warsaw [Sat, 29 Nov 1997 00:25:30 +0000 (00:25 +0000)]
Added tests of strop.replace()

27 years agomymemreplace(), strop_replace(): Add support for optional 4th argument
Barry Warsaw [Sat, 29 Nov 1997 00:10:07 +0000 (00:10 +0000)]
mymemreplace(), strop_replace(): Add support for optional 4th argument
maxsplit which is implemented in string.py but wasn't here.  The
reference manual doesn't define what happens when maxsplit is negative
or larger than the number of occurrences, but in either case, I
implemented this as all get replaced.  Default value is zero which
replaces all occurrences.

27 years ago(py-traceback-line-re): Relaxation of regexp to catch SyntaxErrors.
Barry Warsaw [Thu, 27 Nov 1997 20:08:14 +0000 (20:08 +0000)]
(py-traceback-line-re): Relaxation of regexp to catch SyntaxErrors.
Harri Pasanen.

27 years agoSlip of the keyboard (f__ should be __). Dunno why I had a totally
Guido van Rossum [Thu, 27 Nov 1997 01:39:15 +0000 (01:39 +0000)]
Slip of the keyboard (f__ should be __).  Dunno why I had a totally
messed up (but not checked in) version in my work files and didn't
notice before releasing 1.5 -- at least the distributed latex file
doesn't have the bogus warning about changed __init__ semantics.

27 years agoThis commit was manufactured by cvs2svn to create tag 'r15b1'. v1.5b1
cvs2svn [Wed, 26 Nov 1997 21:20:51 +0000 (21:20 +0000)]
This commit was manufactured by cvs2svn to create tag 'r15b1'.

27 years agoDumb typo.
Guido van Rossum [Wed, 26 Nov 1997 21:20:51 +0000 (21:20 +0000)]
Dumb typo.

27 years ago(py-process-filter): py-delete-file-silently is obsolete. Use a
Barry Warsaw [Wed, 26 Nov 1997 21:00:36 +0000 (21:00 +0000)]
(py-process-filter): py-delete-file-silently is obsolete.  Use a
py-safe wrapped delete-file call instead.

27 years ago(py-compute-indentation): Check for multiline stringness and
Barry Warsaw [Wed, 26 Nov 1997 20:58:48 +0000 (20:58 +0000)]
(py-compute-indentation): Check for multiline stringness and
commentness so that hitting TAB in the middle of a comment will still
indent the line.

27 years ago(py-mode-map): Bind py-mark-def-or-class to C-M-h with a different
Barry Warsaw [Wed, 26 Nov 1997 20:30:33 +0000 (20:30 +0000)]
(py-mode-map): Bind py-mark-def-or-class to C-M-h with a different
spelling so that it doesn't clobber the standard M-BS binding.  This
should be portable between X/Emacsen.

27 years agoReordered and slightly edited the highlights of changes.
Guido van Rossum [Wed, 26 Nov 1997 17:37:31 +0000 (17:37 +0000)]
Reordered and slightly edited the highlights of changes.

27 years agoRevamped README for release of 1.5b1.
Guido van Rossum [Wed, 26 Nov 1997 17:07:02 +0000 (17:07 +0000)]
Revamped README for release of 1.5b1.

27 years agoAdded list of what's new in 1.5b1. Changed intro and some section titles.
Guido van Rossum [Wed, 26 Nov 1997 16:36:28 +0000 (16:36 +0000)]
Added list of what's new in 1.5b1.  Changed intro and some section titles.

27 years agoFour more valuable contributors...
Guido van Rossum [Wed, 26 Nov 1997 16:35:55 +0000 (16:35 +0000)]
Four more valuable contributors...

27 years agoThe usual
Guido van Rossum [Wed, 26 Nov 1997 15:44:34 +0000 (15:44 +0000)]
The usual

27 years agoThe dependency of tarhtml on l2h was a bad idea.
Guido van Rossum [Wed, 26 Nov 1997 15:31:32 +0000 (15:31 +0000)]
The dependency of tarhtml on l2h was a bad idea.

27 years ago(python-mode): Make imenu-create-index-function buffer local.
Barry Warsaw [Wed, 26 Nov 1997 06:14:40 +0000 (06:14 +0000)]
(python-mode): Make imenu-create-index-function buffer local.

(imenu-example--create-python-index-engine): Use
buffer-substring-no-properties.  Also, don't use
imenu-create-submenu-name.  Apparently it is obsolete.

These Imenu patches were given by Christian Egli
<christian.egli@stest.ch>

27 years ago(py-mark-def-or-class): Added an exchange-point-and-mark and a
Barry Warsaw [Wed, 26 Nov 1997 06:00:26 +0000 (06:00 +0000)]
(py-mark-def-or-class): Added an exchange-point-and-mark and a
py-keep-region-active so that the marked def/class gets the
zmacs-region or transient-mark region highlighted.  Also point should
be left at the end of the marked region.

(py-mode-map): Moved py-mark-def-or-class to M-C-h to conform to Emacs
major mode standards.

27 years ago(python-mode): Patch to fix Imenu support under Emacs, given by
Barry Warsaw [Wed, 26 Nov 1997 05:40:58 +0000 (05:40 +0000)]
(python-mode): Patch to fix Imenu support under Emacs, given by
Torsten Hilbrich <Torsten.Hilbrich@bln.de>.

27 years ago(py-kill-emacs-hook): Simplification.
Barry Warsaw [Wed, 26 Nov 1997 05:27:45 +0000 (05:27 +0000)]
(py-kill-emacs-hook): Simplification.

27 years agoIcons for Windows installer.
Guido van Rossum [Wed, 26 Nov 1997 05:14:14 +0000 (05:14 +0000)]
Icons for Windows installer.

27 years agoAdded the HTML files.
Guido van Rossum [Wed, 26 Nov 1997 04:55:32 +0000 (04:55 +0000)]
Added the HTML files.

27 years agoAdded CRLF line endings since this is for NOTEPAD.
Guido van Rossum [Wed, 26 Nov 1997 04:48:23 +0000 (04:48 +0000)]
Added CRLF line endings since this is for NOTEPAD.

27 years agoAdded comment about where to find details on python-mode.el, pointing
Barry Warsaw [Wed, 26 Nov 1997 01:04:44 +0000 (01:04 +0000)]
Added comment about where to find details on python-mode.el, pointing
to the Web site.

(py-defun-start-re, py-class-start-re): Changed to defconst.

(py-traceback-line-re): Regular expression describing what traceback
lines look like.

(py-point): New defsubst copied from CC Mode.

(py-highlight-line): Function which does the work of making a
traceback line mouseable.  This only works on XEmacs.  Someone familar
with Emacs text properties and such will have to do that port.

(py-mode-map): Added C-c- bound to py-up-exception and C-c= bound to
py-down-exception.  Also, more concise form for mapcar.

(py-mode-output-map): New keymap for the *Python Output* buffer which
only has keybindings for py-mouseto-exception and py-goto-exception.
All other self-insert-command's are bound to beep.  This is actually
bogus because the buffer should really be made read-only and the
functions that insert in that buffer should bind inhibit-read-only.
Also, this map should be bound to highlighted extents in a *Python*
shell buffer, but this stuff hasn't been migrated into there.

(py-postprocess-output-buffer): New function which extentifies the
*Python Output* buffer.  The bogosities are that this only runs when
the synchronous process in the buffer is finished (so it doesn't work
for async procs), and it should also be merged into py-process-filter
so the *Python* shell gets mouseable too.

(py-shell): Added C-c- and C-c= to the comint buffer's keymap.  The
bogosity is that py-goto-exception should also be bound, but it cannot
be bound to C-cC-c (since that interferes with
comint-interrupt-subjob's typical binding).  Also, traceback lines
aren't mouseable in this buffer.

(py-execute-region): Support for traceback jumping.  This really is
quite a kludge, but necessary based on the way all this stuff works.
There's bound to be broken interactions here.

(py-jump-to-exception, py-mouseto-exception, py-goto-exception,
py-find-next-exception, py-down-exception, py-up-exception): All new
commands and functions to implement traceback jumping.

(py-compute-indentation): Hope this change doesn't get lost in all the
noise above!!!!  This fixes broken non-indentation of a line when TAB
is hit inside a string that isn't a multi-line string.

27 years agoDocumented brand new behavior of sys.ps1 and sys.ps2 (str() is applied
Guido van Rossum [Tue, 25 Nov 1997 21:12:27 +0000 (21:12 +0000)]
Documented brand new behavior of sys.ps1 and sys.ps2 (str() is applied
to get the actual prompt).

27 years agoApply str() to sys.ps1 or sys.ps2 before using them as a prompt, so
Guido van Rossum [Tue, 25 Nov 1997 20:58:13 +0000 (20:58 +0000)]
Apply str() to sys.ps1 or sys.ps2 before using them as a prompt, so
you can assign an object whose str() evaluates to the current
directory (or whatever).

27 years agoAdded utility target tarhtml to tar and gzip the HTML files plus their
Guido van Rossum [Tue, 25 Nov 1997 20:49:09 +0000 (20:49 +0000)]
Added utility target tarhtml to tar and gzip the HTML files plus their
support (GIFS, icons, style sheets).

27 years agoAdding the icons used by latex2html output to the CVS tree.
Guido van Rossum [Tue, 25 Nov 1997 20:14:07 +0000 (20:14 +0000)]
Adding the icons used by latex2html output to the CVS tree.

27 years agoIgnore html files generated by webmaker.
Guido van Rossum [Tue, 25 Nov 1997 20:10:40 +0000 (20:10 +0000)]
Ignore html files generated by webmaker.

27 years agoAugmented the script so that (at CNRI anyway) it also invokes webmaker
Guido van Rossum [Tue, 25 Nov 1997 20:10:19 +0000 (20:10 +0000)]
Augmented the script so that (at CNRI anyway) it also invokes webmaker
to create the HTML.

27 years agoSimple index for the reference manuals (mostly for use on the Windows
Guido van Rossum [Tue, 25 Nov 1997 18:27:23 +0000 (18:27 +0000)]
Simple index for the reference manuals (mostly for use on the Windows
platform).

27 years agoUpdated to the most pressing 1.5 issues.
Guido van Rossum [Tue, 25 Nov 1997 18:20:52 +0000 (18:20 +0000)]
Updated to the most pressing 1.5 issues.

27 years agoDrop Capitalized Important Words.
Guido van Rossum [Tue, 25 Nov 1997 15:40:06 +0000 (15:40 +0000)]
Drop Capitalized Important Words.

27 years agoSeveral changes, e.g. restructuring of the intro to be closer to what
Guido van Rossum [Tue, 25 Nov 1997 15:34:51 +0000 (15:34 +0000)]
Several changes, e.g. restructuring of the intro to be closer to what
it ought to be.  Maybe the last checkin before 1.5b1 is released.

27 years agoRemove hyperlink to time-sensitive Python release info.
Guido van Rossum [Tue, 25 Nov 1997 15:33:44 +0000 (15:33 +0000)]
Remove hyperlink to time-sensitive Python release info.

27 years agoWISE installer source for Python 1.5
Guido van Rossum [Tue, 25 Nov 1997 06:02:27 +0000 (06:02 +0000)]
WISE installer source for Python 1.5

27 years agoAdded pypcre.c module.
Guido van Rossum [Tue, 25 Nov 1997 06:00:59 +0000 (06:00 +0000)]
Added pypcre.c module.

27 years agoAdded the "italic correction" command ("\/") to the list of ignored commands.
Fred Drake [Tue, 25 Nov 1997 04:06:21 +0000 (04:06 +0000)]
Added the "italic correction" command ("\/") to the list of ignored commands.
There is at least one of there in the library reference, and this reduces
the warning count.  We *do* know what to do with it!

27 years agoRemoved leading comment about this being "introductory" documentation;
Fred Drake [Tue, 25 Nov 1997 04:04:00 +0000 (04:04 +0000)]
Removed leading comment about this being "introductory" documentation;
compared to most, I'd say this section is fairly thorough.

Fixed \indexsubitem definitions for symbol and token module sub-documents.
Perhaps these should be moved to their own files, but they're awefully
small.

27 years agoGet rid of math mode in some places.
Guido van Rossum [Tue, 25 Nov 1997 01:00:40 +0000 (01:00 +0000)]
Get rid of math mode in some places.

27 years agoDon't use $math$ mode to typeset a simple '>' sign. Use \code, not \samp.
Guido van Rossum [Tue, 25 Nov 1997 00:43:34 +0000 (00:43 +0000)]
Don't use $math$ mode to typeset a simple '>' sign.  Use \code, not \samp.

27 years agoRemove strange use of $math$ mode to produce a backslash.
Guido van Rossum [Tue, 25 Nov 1997 00:35:44 +0000 (00:35 +0000)]
Remove strange use of $math$ mode to produce a backslash.

27 years agoOops, did the previous delete the wrong way.
Guido van Rossum [Tue, 25 Nov 1997 00:05:12 +0000 (00:05 +0000)]
Oops, did the previous delete the wrong way.

27 years agoGet rid of last traces of module 'audio'
Guido van Rossum [Mon, 24 Nov 1997 23:59:31 +0000 (23:59 +0000)]
Get rid of last traces of module 'audio'

27 years agoAdded "-n file" option to only print files newer than the given file.
Guido van Rossum [Mon, 24 Nov 1997 23:49:35 +0000 (23:49 +0000)]
Added "-n file" option to only print files newer than the given file.

27 years agoUse fuzzy comparison from test_support to compare outcome of
Guido van Rossum [Mon, 24 Nov 1997 22:24:22 +0000 (22:24 +0000)]
Use fuzzy comparison from test_support to compare outcome of
pow(x,y,z) to pow(x,y)%z.

27 years agoNew names...
Guido van Rossum [Mon, 24 Nov 1997 17:50:47 +0000 (17:50 +0000)]
New names...

27 years agoAdd fileinput.
Guido van Rossum [Mon, 24 Nov 1997 17:50:09 +0000 (17:50 +0000)]
Add fileinput.

27 years agoReplace plat-os2 with plat-win, per Jeff Rush' suggestion.
Guido van Rossum [Mon, 24 Nov 1997 17:49:45 +0000 (17:49 +0000)]
Replace plat-os2 with plat-win, per Jeff Rush' suggestion.

27 years agoTrivial change in prompt label suggested by Case Roole.
Guido van Rossum [Mon, 24 Nov 1997 17:49:13 +0000 (17:49 +0000)]
Trivial change in prompt label suggested by Case Roole.

27 years agoChange the option used on Linux to export all symbols
Guido van Rossum [Mon, 24 Nov 1997 17:36:21 +0000 (17:36 +0000)]
Change the option used on Linux to export all symbols
from the main program to shared libraries.  On mklinux, the old
'-rdynamic' doesn't work; the new '-Xlinker -export-dynamic' works
both there and on Intel Linux platforms.

27 years agoDone a sort -u on the symbols (and replaced all tabs with spaces).
Guido van Rossum [Mon, 24 Nov 1997 15:54:24 +0000 (15:54 +0000)]
Done a sort -u on the symbols (and replaced all tabs with spaces).

27 years agoOops, the sort took some whitespace into account.
Guido van Rossum [Mon, 24 Nov 1997 15:50:27 +0000 (15:50 +0000)]
Oops, the sort took some whitespace into account.

27 years agoDone a sort -u on the symbols.
Guido van Rossum [Mon, 24 Nov 1997 15:48:23 +0000 (15:48 +0000)]
Done a sort -u on the symbols.

27 years agoos2 patch by Jeff Rush
Guido van Rossum [Sat, 22 Nov 1997 22:10:01 +0000 (22:10 +0000)]
os2 patch by Jeff Rush

27 years agoignore various VC++ turds
Guido van Rossum [Sat, 22 Nov 1997 22:05:00 +0000 (22:05 +0000)]
ignore various VC++ turds

27 years agoFiles specific to Visual Age C for OS/2 -- by Jeff Rush
Guido van Rossum [Sat, 22 Nov 1997 21:59:45 +0000 (21:59 +0000)]
Files specific to Visual Age C for OS/2 -- by Jeff Rush

27 years agoAdded Jeff Rush' comments
Guido van Rossum [Sat, 22 Nov 1997 21:58:14 +0000 (21:58 +0000)]
Added Jeff Rush' comments

27 years agowin -> plat-win
Guido van Rossum [Sat, 22 Nov 1997 21:56:10 +0000 (21:56 +0000)]
win -> plat-win

27 years agoAdd PyImport_Inittab and PyOS_AfterFork
Guido van Rossum [Sat, 22 Nov 1997 21:55:18 +0000 (21:55 +0000)]
Add PyImport_Inittab and PyOS_AfterFork

27 years agoos2 patch by Jeff Rush
Guido van Rossum [Sat, 22 Nov 1997 21:53:48 +0000 (21:53 +0000)]
os2 patch by Jeff Rush

27 years agobind_class should return a value
Guido van Rossum [Sat, 22 Nov 1997 21:49:56 +0000 (21:49 +0000)]
bind_class should return a value

27 years agoNew address parser by Ben Escoto replaces
Guido van Rossum [Sat, 22 Nov 1997 21:49:19 +0000 (21:49 +0000)]
New address parser by Ben Escoto replaces
 Sjoerd Mullender's parseaddr()

27 years agoUse fstat if we can; write MAGIC into file last.
Guido van Rossum [Sat, 22 Nov 1997 21:48:26 +0000 (21:48 +0000)]
Use fstat if we can; write MAGIC into file last.

27 years agoRedone the _tkinter configuration section with support for popular packages.
Guido van Rossum [Sat, 22 Nov 1997 17:35:19 +0000 (17:35 +0000)]
Redone the _tkinter configuration section with support for popular packages.

27 years agoNew tkappinit supporting several popular packages.
Guido van Rossum [Sat, 22 Nov 1997 17:34:41 +0000 (17:34 +0000)]
New tkappinit supporting several popular packages.

27 years agoA new standard module, as discussed on comp.lang.python, to simplify
Guido van Rossum [Fri, 21 Nov 1997 17:12:59 +0000 (17:12 +0000)]
A new standard module, as discussed on comp.lang.python, to simplify
the writing of filters.

Typical use is:

    import fileinput
    for line in fileinput.input():
        process(line)

This iterates over the lines of all files listed in sys.argv[1:],
defaulting to sys.stdin if the list is empty or when a filename is
'-'.

There is also an option to use this to direct the output back to the
input files.

27 years agoAdd a pointer back to the wizard in the "compat" output.
Guido van Rossum [Fri, 21 Nov 1997 16:37:54 +0000 (16:37 +0000)]
Add a pointer back to the wizard in the "compat" output.

27 years agoPySocketSock_methods: Added "connect_ex" so the method can actually be
Barry Warsaw [Thu, 20 Nov 1997 21:39:02 +0000 (21:39 +0000)]
PySocketSock_methods: Added "connect_ex" so the method can actually be
called!

27 years agoA comparison with several other languages that also appears in the
Guido van Rossum [Thu, 20 Nov 1997 21:15:28 +0000 (21:15 +0000)]
A comparison with several other languages that also appears in the
Handbook of Object Technology.

27 years agoAdding Martin von Loewis' documentation for his locale module.
Guido van Rossum [Thu, 20 Nov 1997 21:04:27 +0000 (21:04 +0000)]
Adding Martin von Loewis' documentation for his locale module.

27 years agoAdd description for some modules that have been added since this intro
Guido van Rossum [Thu, 20 Nov 1997 21:03:33 +0000 (21:03 +0000)]
Add description for some modules that have been added since this intro
section was last revised...

27 years agoAdd description for Queue; fix typo (whichdbm should be whichdb).
Guido van Rossum [Thu, 20 Nov 1997 21:00:03 +0000 (21:00 +0000)]
Add description for Queue; fix typo (whichdbm should be whichdb).

27 years agoPlug memory leak in Py_BuildValue when using {...} to construct dictionaries.
Guido van Rossum [Thu, 20 Nov 1997 20:35:45 +0000 (20:35 +0000)]
Plug memory leak in Py_BuildValue when using {...} to construct dictionaries.

27 years ago(Queue.Empty): When class based exceptions are in force, derive this
Barry Warsaw [Thu, 20 Nov 1997 19:56:38 +0000 (19:56 +0000)]
(Queue.Empty): When class based exceptions are in force, derive this
class from the standard base exception Exception.  Otherwise define
Queue.Empty as a string exception.

(Queue): 8-space to 4-space indentation conversion.  Also, basically
recast all method comments into docstrings.

27 years agolibqueue.tex: Documentation for the Queue.py module.
Barry Warsaw [Thu, 20 Nov 1997 19:54:16 +0000 (19:54 +0000)]
libqueue.tex: Documentation for the Queue.py module.

Makefile: Add dependency on libqueue.tex

lib.tex: Place the libqueue.tex documentation just after libthread.tex
since Queue depends on thread support in Python.

27 years agoDang. Formatting glitch.
Guido van Rossum [Thu, 20 Nov 1997 15:42:46 +0000 (15:42 +0000)]
Dang.  Formatting glitch.

27 years agoNew blurb, derived from my Handbook of Object Technology abstract.
Guido van Rossum [Thu, 20 Nov 1997 15:42:18 +0000 (15:42 +0000)]
New blurb, derived from my Handbook of Object Technology abstract.

27 years agoIn the description of sub(), give a better explanation of the
Barry Warsaw [Thu, 20 Nov 1997 00:15:13 +0000 (00:15 +0000)]
In the description of sub(), give a better explanation of the
interface when repl is a function.  Also give a simple example of
using a function repl.

27 years agoAdd Martin von Loewis as the author of this module.
Guido van Rossum [Wed, 19 Nov 1997 19:02:09 +0000 (19:02 +0000)]
Add Martin von Loewis as the author of this module.

27 years agoUser-level locale module. A wrapper around _locale which adds
Guido van Rossum [Wed, 19 Nov 1997 19:01:43 +0000 (19:01 +0000)]
User-level locale module.  A wrapper around _locale which adds
format(), str(), atof(), and atoi().  The last three are locale
sensitive versions of the corresponding standard functions (only for
numbers though); format() does general %[efg] formatting taking the
locale into account, optionally with thousands grouping.

27 years agoAdd support for _locale.
Guido van Rossum [Wed, 19 Nov 1997 18:57:48 +0000 (18:57 +0000)]
Add support for _locale.

27 years agoAdd s.connect_ex() which returns errno instead of raising an exception.
Guido van Rossum [Wed, 19 Nov 1997 18:57:13 +0000 (18:57 +0000)]
Add s.connect_ex() which returns errno instead of raising an exception.

27 years agoAdd optional support fort Tix and BLT.
Guido van Rossum [Wed, 19 Nov 1997 18:56:17 +0000 (18:56 +0000)]
Add optional support fort Tix and BLT.

27 years agoFix importing of shared libraries from inside packages.
Guido van Rossum [Wed, 19 Nov 1997 18:53:33 +0000 (18:53 +0000)]
Fix importing of shared libraries from inside packages.
This is a bit of a hack: when the shared library is loaded, the module
name is "package.module", but the module calls Py_InitModule*() with just
"module" for the name.  The shared library loader squirrels away the true
name of the module in _Py_PackageContext, and Py_InitModule*() will
substitute this (if the name actually matches).

27 years agoAdd declaration for _Py_PackageContext -- needed to fix importing
Guido van Rossum [Wed, 19 Nov 1997 18:51:35 +0000 (18:51 +0000)]
Add declaration for _Py_PackageContext -- needed to fix importing
of shared libraries from inside packages.