0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
Commit Graph

13779 Commits

Author SHA1 Message Date
Fred Drake
ede77bfda4 Rename the "parser" package to "parsers" to be compatible with the PyXML
project.
2000-07-31 23:59:54 +00:00
Fred Drake
fbd3b45bb7 Stop lying about [].pop() being experimental! There is no backing it out
at this point.
2000-07-31 23:42:23 +00:00
Peter Schneider-Kamp
25f68944c2 patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
Jack Jansen
b88b0bce2a ANSIfied. 2000-07-31 22:07:49 +00:00
Jack Jansen
cbfe3c8955 Two more cases of GUSI2 include access paths not being correct (reveiled by the new pyport.h). 2000-07-31 22:07:21 +00:00
Peter Schneider-Kamp
dc71cacc9c replaced PyArgs_Parse by PyArgs_ParseTuple
changed error messages for extend method from "append" to "extend"
2000-07-31 21:57:30 +00:00
Peter Schneider-Kamp
5a65c2d436 added count, extend, index, pop and remove to arraymodule 2000-07-31 20:52:21 +00:00
Fred Drake
4640e13259 Change as suggested by Peter Funk <pf@artcom-gmbh.de>:
Move around the navigational links on the left-hand side of the navigation
bar to be more like the cursor keys.
2000-07-31 20:13:23 +00:00
Fred Drake
3d83fc3ab1 Change as suggested by Peter Funk <pf@artcom-gmbh.de>:
Create a hyperlink between the language reference and documentation for
the built in functions.
2000-07-31 20:08:23 +00:00
Guido van Rossum
251caa5c5b A different solution for Patch #100979: support for out-of-tree "make TAGS"
The version there built the tags and TAGS files in the build
directory.  I like them in the source directory.  The simplest
solution is to cd to the source directory before running ctags or
etags.

Tested both superficially and they work for me, on Linux Red Hat 6.1.
2000-07-31 18:26:35 +00:00
Fred Drake
e39dab6ce1 Organized a little bit; merged in some items from the 1.5.2p2 branch that
did not get handled.
2000-07-31 18:18:27 +00:00
Fred Drake
e7aa5dc5bb Update to indicate the appropriate version of LaTeX2HTML. Update pointer
for retrieving new versions.
2000-07-31 17:56:58 +00:00
Fred Drake
85d14c9d02 Many changes to work with newer versions of LaTeX2HTML. This has been
tested with version 99.2beta8.
2000-07-31 17:53:45 +00:00
Fred Drake
1915754ec9 Small changes to reflect changes in LaTeX2HTML support for newer versions
of LaTeX2HTML.
2000-07-31 17:47:49 +00:00
Fred Drake
1e75e1776f Two minor nits from Gerry Weiner (no working email address) about
describing the methods of dictionaries.
2000-07-31 16:34:46 +00:00
Fred Drake
b8aa2619c7 Always pass the split level to LaTeX2HTML as a command line option since
newer versions only process one initialization file, and do so at a
different time than previous versions.
2000-07-31 15:55:22 +00:00
Fred Drake
578a3f9638 Moshe Zadka <mzadka@geocities.com>:
Document new method in shutil (copyfileobj).
Minor clarification by Fred.
2000-07-31 15:45:46 +00:00
Peter Schneider-Kamp
7e01890986 merge Include/my*.h into Include/pyport.h
marked my*.h as obsolete
2000-07-31 15:28:04 +00:00
Fred Drake
885082ca67 Update, 'cause Guido said it should be this way. 2000-07-31 14:31:28 +00:00
Thomas Wouters
a701597138 Fix inconsistent use of tab/space in indentation. 2000-07-30 15:38:35 +00:00
Mark Hammond
071864acb2 More Windows changes.
* After discussion with Trent, all INT_PTR references have been removed in favour of the HANDLE it should always have been.  Trent can see no 64bit issues here.

* In this process, I noticed that the close operation was dangerous, in that we could end up passing bogus results to the Win32 API.  These result of the API functions passed the bogus values were never (and still are not) checked, but this is closer to "the right thing" (tm) than before.

Tested on Windows and Linux.
2000-07-30 02:46:26 +00:00
Mark Hammond
2cbed005b6 Fixes for Windows (but also tested on Linux). Test suite now completes, and this module should not leak in the face of errors.
Checkin that replaces the INT_PTR types with HANDLEs still TBD (but as that is a "spelling" patch, rather than a functional one, I will commit it seperately.
2000-07-30 02:22:43 +00:00
Mark Hammond
af4cfae300 Test that after resizing the mmap'd file, we can't seek beyond the new size. 2000-07-30 02:20:38 +00:00
Greg Ward
6b24dffd13 Catch syntax errors from processing template lines and turn them into
mere warnings.
Call 'findall()' on our FileList object before we start using it seriously.
2000-07-30 01:47:16 +00:00
Greg Ward
979db976a3 Added list-like methods: 'append()', 'extend()', 'sort()'.
Added 'remove_duplicates()'.
Simplified constructor: no longer take 'files' or 'allfiles' as args,
  and no longer have 'dir' attribute at all.
Added 'set_allfiles()' and 'findall()' so the client does have a
  way to set the list of all files.
Changed 'include_pattern()' to use the 'findall()' method instead of
  the external function.  (Of course, the method is just a trivial
  wrapper around the function.)
2000-07-30 01:45:42 +00:00
Greg Ward
23266fe5cf Replaced 'self.files' with 'self.filelist': now we carry around a FileList
instance instead of a list of filenames.  Simplifies the "sdist" command
only a bit, but should allow greater simplification of FileList.
2000-07-30 01:30:31 +00:00
Greg Ward
4571ac15f7 The other half of Rene Liebscher's patch to add the Template class,
which I renamed to FileList: remove all the file-list-generation code from
the sdist command and adapt it to use the new FileList class instead.
2000-07-30 01:05:02 +00:00
Greg Ward
d5dcc174b0 Typo fix. 2000-07-30 01:04:22 +00:00
Greg Ward
58bff53320 Added DistutilsTemplateError. 2000-07-30 01:03:31 +00:00
Greg Ward
c019e2c7a8 Ditched the unused 'recursive_exclude_pattern()' method. 2000-07-30 00:37:04 +00:00
Greg Ward
0f341855ac Renamed 'select_pattern()' to 'include_pattern()'.
Other cosmetic/doc/comment tweaks.
2000-07-30 00:36:25 +00:00
Greg Ward
7b3d56c85c Renamed 'process_line()' to 'process_template_line()', and factored out
'_parse_template_line()'.
2000-07-30 00:21:36 +00:00
Greg Ward
c98927a059 Added class docstring and ditched inappropriate class attrs.
Indentation/whitspace fixes.
2000-07-30 00:08:13 +00:00
Greg Ward
adc1172064 Provides the FileList class for building a list of filenames by exploring
the filesystem, and filtering the list by applying various patterns.

Initial revision (almost) as supplied in a patch by Rene Liebscher; I
just renamed the class from Template to FileList, and the module
accordingly.
2000-07-30 00:04:17 +00:00
Andrew M. Kuchling
85ab7384f6 Exercise .readline() and .readlines(). More data is written to the
test file, too, so the methods have more work to do.
2000-07-29 20:18:34 +00:00
Andrew M. Kuchling
41616ee194 SF patch #100740: Add optional size arguments to .readline() and
.readlines() methods.  Inspired by a patch from Wolfgang Grafen,
though this version of the patch was completely rewritten from his
code.
2000-07-29 20:15:26 +00:00
Andrew M. Kuchling
7e11170e85 Removed Tools/perfecthash, per python-dev discussion 2000-07-29 13:24:39 +00:00
Moshe Zadka
7a4409c1b2 Added support to recognize Python's internal "dumbdbm" database.
This closes bug 200 on Jitterbug.
2000-07-29 05:31:40 +00:00
Moshe Zadka
37c03ff3a9 Using shutil's function to copy data between file objects instead
of rolling our own.

Note:
This is my first sourceforge checkin. If you see anything funny about
this patch, please let me know.
2000-07-29 05:15:56 +00:00
Fred Drake
10853c9835 Finally fixed the much-reported bug about "~" in a couple of example.
This time, it was reported by Skip.
2000-07-28 13:51:27 +00:00
Guido van Rossum
efdf107fb7 Add the exceptions module to the 'never' list -- it is built in. 2000-07-28 10:34:48 +00:00
Mark Hammond
152e3f0885 Was quite broken and incomplete. Now passes the test suite, but is still incomplete. 2000-07-28 03:45:32 +00:00
Mark Hammond
4e80bb551e Allow any object supporting the buffer protocol to be written as a binary object. 2000-07-28 03:44:41 +00:00
Mark Hammond
abfeff7f44 Fix a type in the docstrings, and make the module Unicode aware. 2000-07-28 03:42:40 +00:00
Trent Mick
c64c8ea71c Remove erroneous empty trailing line. (cause test_winreg.py failure) 2000-07-27 23:26:28 +00:00
Jeremy Hylton
cb25d5e834 Gregor Hoffleit: don't link with libnet on non-BeOS systems 2000-07-27 21:23:28 +00:00
Eric S. Raymond
b924bd4610 Second round of curses documentation improvements. Completes and extends
documentation for function keys, special characters.
2000-07-27 21:10:02 +00:00
Jeremy Hylton
be28f5b2a2 Gregor Hoffleit: Don't link with the libieee library if it's not necessary 2000-07-27 21:03:04 +00:00
Fred Drake
518e55c7f2 Rip out the information about the PSA, since the fate of that is not
certain.

Update the information about the mailing list, using the python.org
address instead of cwi.nl, and point to the pipermail archives.  Also
update the daily average message count (at the risk of scaring people
off), using the mail archive at http://www.egroups.com/group/python-list
for the first half of 2000 for statistical information.
2000-07-27 20:55:12 +00:00
Skip Montanaro
c9bac09083 added .cvsignore so cvs doesn't complain about the generated graminit.h and
graminit.c files.
2000-07-27 20:31:12 +00:00