summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix sign reversal in mktime_tz discovered by Bill van Melle.Guido van Rossum1998-02-181-1/+1
|
* __modified(): Make sure `rgbs' is a tupleBarry Warsaw1998-02-181-1/+1
|
* Several optimizations:Barry Warsaw1998-02-181-51/+81
| | | | | | | | | | | | | self.__chips now contains the list of rgbtuple values for the chips named i - 1 (Tkinter counts from 1, we count from zero). The chip number was just the index + 1. This means color lookup need not do an itemcget(), it can just index into __chips. instead of calling __canvas.itemconfigure(), we glom up a huge Tcl script and call tk.eval() directly. Actually we do many appends to a Python list, then string.join() them together into one huge string. This reduces the overhead of Tkinter but making one fast call to Tcl.
* Cache conversions from triplets to rrggbb's and vice versa. WastefulBarry Warsaw1998-02-181-13/+22
| | | | | on space, but improves performance. Also use map to calculate triplet_to_pmwrgb().
* main(): Include a \label{modindex} in the output so latex won't let us re-useFred Drake1998-02-172-2/+4
| | | | | the name elsewhere. This is useful for the logical filenames project, since the "modindex" label is hardcoded into .latex2html-init.
* &do_cmd_textohtmlmoduleindex: Get the modindex key added to the label->nodeFred Drake1998-02-171-2/+2
| | | | association.
* Added \label{} for logical addressing.Fred Drake1998-02-174-0/+4
|
* Added about dialogBarry Warsaw1998-02-171-4/+60
|
* Use \manpage{} markup for referencing a UNIX man page.Fred Drake1998-02-172-10/+10
| | | | Added index entry for DES cipher.
* Added comment explaining the only warning produced by makeindex, since thereFred Drake1998-02-172-0/+28
| | | | doesn't appear to be a way to fix that's reasonable.
* Remove Macintosh ligatures item. Solution: Update your Times fonts.Fred Drake1998-02-171-2/+2
| | | | Added native package semantics note.
* Started a TODO list with the latest bug reports.Fred Drake1998-02-171-0/+9
| | | | In part prompted by questions from AMK.
* Clarified comment about the PS generation when using the all-pdf target.Fred Drake1998-02-171-3/+3
|
* Add magic to make PDF generation use maximal compression.Fred Drake1998-02-171-0/+3
|
* Added all-formats target: use this to get both PDF and PS files; using theFred Drake1998-02-171-5/+11
| | | | | | | | | | "alternate" rules for PDF generation doesn't ensure the PS files get generated since distiller isn't used. Switch to the "alternate" rules for PDF generation; this is starting to make more sense than the distiller-based rule, and requires only free software. I'm also confident it's working well (meaning I paged through all four pdflatex-generated PDF files).
* Updated date for interim documentation release.Fred Drake1998-02-172-2/+2
|
* If generating PDF, include the author and title information in acroread'sFred Drake1998-02-171-1/+12
| | | | "File->General Info" dialog.
* Massive changes. Fewer warnings from the Python Library Reference. StillFred Drake1998-02-172-186/+262
| | | | | | | | messy, but the thing seems to be working without bombing completely today. Formatting lib.texi with TeX doesn't seem to do too badly, either! Info formatting isn't quite there; that might just have to disappear this time.
* Added chip selection stuff, strip labelBarry Warsaw1998-02-171-8/+40
|
* Added method to set selected color to nearest.Barry Warsaw1998-02-171-8/+16
| | | | | | Collapsed `Options' group into `Current Color' group Set delegate of reds, greens, blues
* Update indexsubitem for file attributes correctly.Fred Drake1998-02-172-2/+6
|
* \nodename{} must appear immediately after \section{} for the info conversion.Fred Drake1998-02-172-2/+2
|
* Indent {verbatim} environments like in the printed version.Fred Drake1998-02-161-0/+7
|
* Move optional package inclusions to the top, to make them easier to find.Fred Drake1998-02-161-5/+51
| | | | | | | | | | | | | Code elsewhere in this file tests for the inclusion of the package and does not need to be uncommented. Comments explain what they do and how to disable them. Added support for the optional "fancyhdr" package. If used, page footers include chapter information on the left and section information on the right. Both optional packages, "fancyhdr" and "times", are enabled by default. We may want to disable them before shipping, but I'm not completely convinced. (How many installations format their own documentation?)
* Oh, well, various miscellaneous changes.Guido van Rossum1998-02-161-10/+21
|
* Swap two statements in the dedent check loop. This makes absolutelyGuido van Rossum1998-02-161-1/+1
| | | | | no difference, but avoids triggering an optimizer bug in the AIX compiler where the loop unrolling does the wrong thing...
* NNTP.xgtitle() description: Add a missing ")" from the response valueFred Drake1998-02-162-4/+8
| | | | | | description. NNTP.xover() description: Adjust some markup for consistency.
* Made the area for wildcards in the description wider, so we don't invade theFred Drake1998-02-162-12/+14
| | | | left margin.
* Fixed formatting of the program name for crypt.Fred Drake1998-02-162-2/+4
| | | | Added another index entry.
* In the example file name, use the current Python version, not a hardcodedFred Drake1998-02-162-14/+14
| | | | | | value. Use logical markup.
* For the lists which describe the regular expression syntax, increase theFred Drake1998-02-162-8/+14
| | | | width available so we don't run into the left page margin.
* Use \version to get the current Python version number, where possible. ThisFred Drake1998-02-162-12/+12
| | | | can only be done in the running text, and not in {verbatim} environments.
* Mark up filename extensions consistently.Fred Drake1998-02-162-42/+42
| | | | Logical markup.
* Added rule to generate the PDF format using pdflatex. Commented out sinceFred Drake1998-02-161-0/+12
| | | | this is still experimental software. See the comment.
* Fixed the bug in searching for triple quotes -- change the 'quote2'Guido van Rossum1998-02-161-2/+2
| | | | | variable from a pointer to an index, so a realloc() of the buffer won't disturb it. Problem found by Vladimir Marangozov.
* Removed various "(New in 1.5a?!)" constructs. Other notes pertaining toFred Drake1998-02-162-44/+6
| | | | versioning remain intact.
* Break up some long lines in the generated header & footer.Fred Drake1998-02-161-2/+2
|
* Andrew Kuchling writes:Guido van Rossum1998-02-161-1/+1
| | | | | | | | First, the RNG in whrandom.py sucks if you let it seed itself from the time. The problem is the line: t = int((t&0xffffff) | (t>>24)) Since it ORs the two parts together, the resulting value has mostly ON bits. Change | to ^, and you don't lose any randomness.
* "--" --> "---" in two places.Fred Drake1998-02-162-4/+4
|
* Place C typedef for Py_complex after brief description, to be more consistentFred Drake1998-02-162-64/+84
| | | | | | with the other example of a structure description (struct _frozen). Added index entries for the modules referenced in the document.
* Added index enties for the Python built-in functions, where appropriate.Fred Drake1998-02-162-24/+30
|
* Lots of nitty-gritty stuff:Fred Drake1998-02-162-1268/+1368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use \emph{} when referring to title of any of the Python manuals, like is done in the other manuals. In some places, use \emph{} or \dfn{} instead of ``...''. Use \samp{} instead of \code{} when marking identifier prefixes. Use logical markup wherever it made sense. Fixed a bunch of typos. In several places, use "---" instead of "--" to get the emdash. Start sentences with capital letters and end them with periods, as needed. "it's" --> "its" in many places: "it's" it *always* a contraction of "it is", and "its" should always be used for the possessive. "don't" --> "doesn't" "should discards any" --> "should discard any" In C function descriptions, use \var{} to mark parameters in the running text instead of \code{}. This matches usage in the other manauls better, and is more consistent with the formatting of the function signatures. Lots of little changes to implement this. Lots of fixups needed due to appearant heavy cut-&-paste in the orignal document. Mention that the exception objects may be either classes or strings, depending on the use of -X; they were unequivocally stated to be strings in the section "Standard Exceptions". "mkvalue()" --> "Py_BuildValue()" Description of PyNumber_Power() indicates that the third value is option, but not how to indicate that it was omitted. Clarified. Explain the behavior of PyString_FromStringAndSize() if the buffer is NULL. Explain the Py_complex structure a little (tell what it's used for) and use a {verbatim} environment for the structure definition itself. Fix explanation of PyFile_SoftSpace(). Update the example version string to 1.5. Combined the sections on defining new object types.
* Make sure indexes begin on odd-numbered pages.Fred Drake1998-02-161-0/+1
|
* Removed condition.py -- it was just sync.py withoutGuido van Rossum1998-02-142-476/+0
| | | | the mrsw lock and without 'condition' allocating a lock by default
* Added DJGPP version of check_case(), by Pit Scrorpion (Hans Nowak).Guido van Rossum1998-02-131-0/+28
| | | | (BTW, the Mac version was by Jack Jansen.)
* Normalization of markup.Fred Drake1998-02-132-22/+22
|
* Don't capitalize identifiers at the beginning of the sentence; re-write toFred Drake1998-02-132-14/+10
| | | | place them elsewhere so they get the right capitalization.
* Fix some markup so that the right characters are printed.Fred Drake1998-02-132-10/+10
| | | | "EOF" --> "\EOF{}"
* Capitalize subsection title.Fred Drake1998-02-132-2/+2
|
* Make one paragraph wrap a little better.Fred Drake1998-02-132-2/+2
|