summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove RCS and #! cruft at top.Guido van Rossum1998-06-261-4/+0
|
* Allow binding a Tcl command (given as a string) as well as a PythonGuido van Rossum1998-06-251-3/+3
| | | | function.
* Mark the 'whence' parameter of the file object's seek() method as optional;Fred Drake1998-06-251-1/+1
| | | | it's already decribed that way in the description.
* Treat "HEAD" same as "GET", so that CGI scripts won't fail.Guido van Rossum1998-06-251-1/+1
|
* Rewrite the (test) main program so that when used as a script, it canGuido van Rossum1998-06-251-5/+29
| | | | retrieve one or more URLs to stdout. Use -t to run the self-test.
* Piers' latest version, labeled 2.11. This time he integrated myGuido van Rossum1998-06-251-18/+14
| | | | | changes, and made only a few minor changes. No changes of my own this time.
* Eric Raymond added support for ESMTP protocol and corrected some typosGuido van Rossum1998-06-251-33/+113
| | | | in comments and doc strings.
* Ignore Windows case check for ALL CAPS 8.3 filesGuido van Rossum1998-06-241-1/+39
|
* Subsume the interact() function in a class. This should make itGuido van Rossum1998-06-231-42/+197
| | | | | possible to use this in PythonWin, and to replace Fredrik Lundh's PythonInterpreter class. Fredrik is credited with the class' API.
* "if match(x) >= 0:" smells of regex matching; should use "if match(x):"Guido van Rossum1998-06-231-1/+1
|
* Patch by Eric Raymond: add an optional 'seekable' flag to theGuido van Rossum1998-06-231-11/+23
| | | | | MultiFile constructor, and only do the posstack bookkeeping when it is true.
* Removed loading of shared font stuff from howto.cls and manual.cls, moving itFred Drake1998-06-223-10/+13
| | | | | | | to pypaper.sty. Added the use of the "avant" package to use AvantGarde for the sans-serif font instead of the helvetica font loaded by the "times" package.
* Make the large letter at the top of each section use the sans-serif font,Fred Drake1998-06-221-1/+1
| | | | like any other header.
* Added texinputs/pypaper.sty to the list of manual style files, so that theFred Drake1998-06-221-1/+1
| | | | .dvi files are properly dependent on it.
* Bugfix to ESR's code reported by himself: should use hasattr() to testGuido van Rossum1998-06-221-1/+1
| | | | for presence unread, not getattr()!
* Fix unclear wording pointed out by Tim Peters, about the interaction betweenAndrew M. Kuchling1998-06-222-4/+6
| | | | | ^ and the pos argument to re.match(). Also, fixed a typo in libregex.tex.
* There's no point in mentioning F6 as an alternate EOF on DOS -- itGuido van Rossum1998-06-221-1/+1
| | | | | doesn't work on modern Windows systems, and Control-Z works everywhere.
* Revert the change of revision 1.30. While it's in general a laudableGuido van Rossum1998-06-221-1/+1
| | | | | | goal to use isinstance(x, y) instead of comparing type(x) to y, it doesn't make sense to change this in the example code for the type() builtin...
* Add check in long-to-int conversion for at least one digit.Guido van Rossum1998-06-221-0/+7
|
* Fix the tests for various anomalies in the string-to-numbersGuido van Rossum1998-06-221-12/+8
| | | | | | conversions. Formerly, for example, int('-') would return 0 instead of raising ValueError, and int(' 0') would raise ValueError (complaining about a null byte!) instead of 0...
* Translated to use re instead of regex. Also replaced one use ofGuido van Rossum1998-06-191-33/+45
| | | | L.append(a,b,c,d) with the correct L.append((a,b,c,d)).
* eval() example: Removed final interpreter prompt; other examples don't haveFred Drake1998-06-191-1/+0
| | | | the empty prompt.
* Somewhat updated, but not checked for everything (just the stuff I was using).Fred Drake1998-06-191-14/+15
|
* Added Py_{Get,Set}PythonHome.Guido van Rossum1998-06-191-0/+2
|
* Added {Get,Set}PopupData calls to get at the data for popup menu controls.Jack Jansen1998-06-192-0/+85
|
* Turns out that 'winfo id' returns the id as a hex string, with 0x prefix.Guido van Rossum1998-06-191-1/+1
| | | | | The int() function (aliased to getint()) doesn't handle that, so we must use self.tk.getint() again...
* Different trick to get the _test() window to pop up.Guido van Rossum1998-06-191-1/+5
|
* Added <ctype.h>, needed for Windows.Guido van Rossum1998-06-191-0/+1
|
* Added _localeGuido van Rossum1998-06-191-0/+2
|
* There was an error check in a loop in PythonCmd which calledGuido van Rossum1998-06-191-1/+1
| | | | | | | PythonCmd_Error() but failed to return. The error wasn't very likely (only when we run out of memory) but since the check is there we might as well return the error. (I think that Barry introduced this buglet when he added error checks everywhere.)
* Added a stronger warning about changing the dictionary returned byGuido van Rossum1998-06-181-2/+3
| | | | locals().
* Piers' latest version -- authentication added by Donn Cave.Guido van Rossum1998-06-181-41/+175
|
* # Untabified the example :-(Guido van Rossum1998-06-171-2/+2
|
* Documented that by default the output goes to stderr, and that a fileGuido van Rossum1998-06-171-12/+111
| | | | | | | | | keyword argument can be used to direct it somewhere else. Also documented all the other functions in this module, and even added a little example. # Haven't tested the latex for correctness -- all latex installations # appear broken.
* In class _Subfile, make sure read(n) can't read beyond EOF. AlsoGuido van Rossum1998-06-171-2/+5
| | | | | allow negative numbers to specify read until EOF (like for a regular file's read() method).
* Change the description of input() -- it is exactly equivalent toGuido van Rossum1998-06-171-5/+1
| | | | | eval(raw_input(s)). The statement about breaking a long expression over multiple lines is no longer true.
* Minor cleanup by Tim after my changes:Guido van Rossum1998-06-171-25/+19
| | | | | | | | | | | | + Took the "list" argument out of the other functions that no longer need it. This speeds things up a little more. + Small comment changes in accord with that. + Exploited the now-safe ability to cache values in the partitioning loop. Makes no timing difference on my flavor of Pentium, but this machine ran out of registers 12 iterations ago. It should yield a small speedup on a RISC machine, and not hurt in any case.
* Add __getitem__ to AddressList object, to make it a sequence.Guido van Rossum1998-06-161-0/+4
|
* Some extra notes, and describe a new class (AddressList), all by ESR.Guido van Rossum1998-06-161-2/+44
|
* Some extra comments and docstrings, and a new class (AddressList), all by ESR.Guido van Rossum1998-06-161-1/+48
|
* Tim's latest, with some of my changes (also a TP suggestion) added:Guido van Rossum1998-06-161-218/+551
| | | | | | | | | | instead of testing whether the list changed size after each comparison, temporarily set the type of the list to an immutable list type. This should allow continued use of the list for legitimate purposes but disallows all operations that can change it in any way. (Changes to the internals of list items are not caught, of cause; that's not possible to detect, and it's not necessary to protect the sort code, either.)
* Fixed the UDP server -- this never worked. Ray Loyzaga deservesGuido van Rossum1998-06-161-2/+7
| | | | credit for complaining about this and for testing these changes.
* Subject: Bug in PC/import_nt.cGuido van Rossum1998-06-151-1/+4
| | | | | | | | | | | | From: Dan Pierson <dan@remote.control.com> To: "Mark Hammond (E-mail)" <MHammond@skippinet.com.au>, "Guido van Rossum (E-mail)" <guido@cnri.reston.va.us> Date: Mon, 8 Jun 1998 17:25:07 -0400 RegistryQueryValue requires that its fourth argument be initialized to the length of the buffer being passed in, this wasn't being done. I also split the call and status test into two lines with a local variable so that I could look at the status in the debugger.
* Lots of changes to get this in sync with the Frame version.Guido van Rossum1998-06-151-50/+217
| | | | | Added raw strings, imaginary literals, assert and exec (!) keywords, a table about Resererved classes of identifiers, and more.
* Two small additions to make it identical to the obsolete Frame version.Guido van Rossum1998-06-151-1/+5
|
* NewNew abstract, copied from the obsolete Frame version.Guido van Rossum1998-06-151-20/+20
|
* # This is a new module I wrote over the weekend. Again, you missed theGuido van Rossum1998-06-151-16/+37
| | | | | | | # checkin email because my PC doesn't have the "Mail" command. Add threading (now that it works). Also some small adaptations to Unix again.
* # Note: a previous checkin message was lost because I can now use CVSGuido van Rossum1998-06-151-36/+7
| | | | | | | | | # from my PC at home, but it can't send email :-( Add a clarifying comment about the new ENTER_OVERLAP and LEAVE_OVERLAP_TCL macros; get rid of all the bogus tests for deleted interpreters (Tcl already tests for this; they were left over from an earlier misguided attempt to fix the threading).
* Primitive GUI for websucker.Guido van Rossum1998-06-151-0/+185
|
* Fix the way a trailing / is changed to /index.html so that itGuido van Rossum1998-06-151-2/+3
| | | | doesn't depend on the value of os.sep. (I.e. ported to Windows :-)